Class CxfSoapMtomResource

java.lang.Object
org.apache.camel.quarkus.component.cxf.soap.mtom.it.CxfSoapMtomResource

@Path("/cxf-soap/mtom") @ApplicationScoped public class CxfSoapMtomResource extends Object
  • Field Details

    • producerTemplate

      @Inject org.apache.camel.ProducerTemplate producerTemplate
  • Constructor Details

    • CxfSoapMtomResource

      public CxfSoapMtomResource()
  • Method Details

    • upload

      @Path("/upload") @POST @Consumes("application/octet-stream") @Produces("text/plain") public javax.ws.rs.core.Response upload(@QueryParam("imageName") String imageName, @QueryParam("mtomEnabled") boolean mtomEnabled, @QueryParam("endpointDataFormat") String endpointDataFormat, byte[] image) throws Exception
      Throws:
      Exception
    • download

      @Path("/download") @POST @Produces("application/octet-stream") @Consumes("text/plain") public javax.ws.rs.core.Response download(@QueryParam("imageName") String imageName, @QueryParam("mtomEnabled") boolean mtomEnabled, @QueryParam("endpointDataFormat") String endpointDataFormat) throws Exception
      Throws:
      Exception