Class SwiftMtResource

java.lang.Object
org.apache.camel.quarkus.component.swift.mt.it.SwiftMtResource

@Path("/swift-mt") @ApplicationScoped public class SwiftMtResource extends Object
  • Field Details

    • producerTemplate

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

    • SwiftMtResource

      public SwiftMtResource()
  • Method Details

    • unmarshal

      @Path("/unmarshal") @POST @Consumes("text/plain") @Produces("text/plain") public String unmarshal(byte[] message)
    • unmarshalDsl

      @Path("/unmarshaldsl") @POST @Consumes("text/plain") @Produces("text/plain") public String unmarshalDsl(byte[] message)
    • marshal

      @Path("/marshal") @POST @Consumes("text/plain") @Produces("text/plain") public String marshal(byte[] body) throws IOException
      Throws:
      IOException
    • marshalJson

      @Path("/marshalJson") @POST @Consumes("text/plain") @Produces("application/json") public Object marshalJson(byte[] body) throws IOException
      Throws:
      IOException