Class Hl7Resource
- java.lang.Object
-
- org.apache.camel.quarkus.component.hl7.it.Hl7Resource
-
@Path("/hl7") @ApplicationScoped public class Hl7Resource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.apache.camel.CamelContextcontext(package private) org.apache.camel.ProducerTemplateproducerTemplate
-
Constructor Summary
Constructors Constructor Description Hl7Resource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringconvertStringToAdt(String version, String message)Stringhl7terser(String message)Stringhl7terserBean(String message)javax.json.JsonObjecthl7Xml(String messageXml)javax.ws.rs.core.ResponsemarshalUnmarshal(String charset, String message)javax.json.JsonObjectmllp(String message)javax.ws.rs.core.Responsevalidate(String message)javax.ws.rs.core.ResponsevalidateCustom(String message)StringvalidateWithAck(String message)
-
-
-
Method Detail
-
mllp
@Path("/mllp") @POST @Consumes("text/plain") @Produces("application/json") public javax.json.JsonObject mllp(String message) throws Exception- Throws:
Exception
-
marshalUnmarshal
@Path("/marshalUnmarshal") @POST @Consumes("text/plain") @Produces("text/plain") public javax.ws.rs.core.Response marshalUnmarshal(@QueryParam("charset") String charset, String message)
-
validate
@Path("/validate") @POST @Consumes("text/plain") @Produces("text/plain") public javax.ws.rs.core.Response validate(String message)
-
validateCustom
@Path("/validate/custom") @POST @Consumes("text/plain") @Produces("text/plain") public javax.ws.rs.core.Response validateCustom(String message)
-
hl7terser
@Path("/hl7terser") @POST @Consumes("text/plain") @Produces("text/plain") public String hl7terser(String message)
-
hl7terserBean
@Path("/hl7terser/bean") @POST @Consumes("text/plain") @Produces("text/plain") public String hl7terserBean(String message)
-
hl7Xml
@Path("/xml") @POST @Consumes("application/xml") @Produces("application/json") public javax.json.JsonObject hl7Xml(String messageXml)
-
validateWithAck
@Path("/ack") @POST @Consumes("text/plain") @Produces("text/plain") public String validateWithAck(String message)
-
convertStringToAdt
@Path("/convert/{version}") @POST @Consumes("text/plain") @Produces("text/plain") public String convertStringToAdt(@PathParam("version") String version, String message) throws ClassNotFoundException- Throws:
ClassNotFoundException
-
-