Class SwiftMxResource

java.lang.Object
org.apache.camel.quarkus.component.swift.mx.it.SwiftMxResource

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

    • producerTemplate

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

    • SwiftMxResource

      public SwiftMxResource()
  • 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)
    • unmarshalFull

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

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

      @Path("/marshalFull") @POST @Consumes("text/plain") @Produces("text/plain") public boolean marshalFull(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