Class SwiftMtResource
java.lang.Object
org.apache.camel.quarkus.component.swift.mt.it.SwiftMtResource
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.apache.camel.ProducerTemplate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmarshal(byte[] body) marshalJson(byte[] body) unmarshal(byte[] message) unmarshalDsl(byte[] message)
-
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
-