public class HL7ProcessingContext extends Object
Constructor and Description |
---|
HL7ProcessingContext(org.apache.axis2.description.AxisService service) |
HL7ProcessingContext(boolean autoAck,
boolean validateMessage,
boolean publisherEnabled,
String conformanceProfileURL,
String messagePreprocessorClass,
String serverUrl,
String secureServerUrl,
String serverPassword,
String serverUsername,
boolean passThroughInvalidMessages,
boolean buildRawMessages) |
HL7ProcessingContext(org.apache.axis2.description.ParameterInclude params) |
Modifier and Type | Method and Description |
---|---|
void |
checkConformanceProfile(ca.uhn.hl7v2.model.Message message) |
ca.uhn.hl7v2.model.Message |
createAck(ca.uhn.hl7v2.model.Message hl7Msg) |
ca.uhn.hl7v2.model.Message |
createNack(ca.uhn.hl7v2.model.Message hl7Msg,
String errorMsg) |
ca.uhn.hl7v2.conf.spec.RuntimeProfile |
getConformanceProfile() |
ca.uhn.hl7v2.conf.check.DefaultValidator |
getDefaultValidator() |
HL7MessagePreprocessor |
getMessagePreprocessor() |
ca.uhn.hl7v2.parser.PipeParser |
getPipeParser() |
ca.uhn.hl7v2.model.Message |
handleHL7Result(org.apache.axis2.context.MessageContext ctx,
ca.uhn.hl7v2.model.Message hl7Msg)
Handle the AUTOACK, NACK messages,which are to be sent back to the client
|
void |
initMessageContext(ca.uhn.hl7v2.model.Message message,
org.apache.axis2.context.MessageContext msgCtx) |
boolean |
isAutoAck() |
boolean |
isBuildRawMessages() |
boolean |
isPassThroughInvalidMessages() |
boolean |
isPublisherEnabled() |
boolean |
isValidateMessage() |
void |
offerApplicationResponses(ca.uhn.hl7v2.model.Message message,
org.apache.axis2.context.MessageContext messageContext) |
ca.uhn.hl7v2.model.Message |
parseMessage(String hl7TextMsg) |
void |
publishMessage(ca.uhn.hl7v2.model.Message message,
org.apache.axis2.context.MessageContext msgCtx) |
void |
setHl7PublisherConfig(HL7MessagePublisherConfig hl7PublisherConfig) |
void |
setPublisherEnabled(boolean publisherEnabled) |
void |
setTimeOutVal(int timeOut) |
public HL7ProcessingContext(boolean autoAck, boolean validateMessage, boolean publisherEnabled, String conformanceProfileURL, String messagePreprocessorClass, String serverUrl, String secureServerUrl, String serverPassword, String serverUsername, boolean passThroughInvalidMessages, boolean buildRawMessages) throws ca.uhn.hl7v2.HL7Exception
ca.uhn.hl7v2.HL7Exception
public HL7ProcessingContext(org.apache.axis2.description.ParameterInclude params) throws ca.uhn.hl7v2.HL7Exception, org.apache.axis2.AxisFault
ca.uhn.hl7v2.HL7Exception
org.apache.axis2.AxisFault
public HL7ProcessingContext(org.apache.axis2.description.AxisService service) throws ca.uhn.hl7v2.HL7Exception
ca.uhn.hl7v2.HL7Exception
public HL7MessagePreprocessor getMessagePreprocessor()
public ca.uhn.hl7v2.conf.check.DefaultValidator getDefaultValidator()
public ca.uhn.hl7v2.parser.PipeParser getPipeParser()
public boolean isAutoAck()
public boolean isValidateMessage()
public boolean isPassThroughInvalidMessages()
public boolean isBuildRawMessages()
public ca.uhn.hl7v2.conf.spec.RuntimeProfile getConformanceProfile()
public void offerApplicationResponses(ca.uhn.hl7v2.model.Message message, org.apache.axis2.context.MessageContext messageContext) throws ca.uhn.hl7v2.HL7Exception, org.apache.axis2.AxisFault
ca.uhn.hl7v2.HL7Exception
org.apache.axis2.AxisFault
public ca.uhn.hl7v2.model.Message parseMessage(String hl7TextMsg) throws ca.uhn.hl7v2.HL7Exception, ca.uhn.hl7v2.conf.ProfileException
ca.uhn.hl7v2.HL7Exception
ca.uhn.hl7v2.conf.ProfileException
public void checkConformanceProfile(ca.uhn.hl7v2.model.Message message) throws ca.uhn.hl7v2.HL7Exception
ca.uhn.hl7v2.HL7Exception
public void initMessageContext(ca.uhn.hl7v2.model.Message message, org.apache.axis2.context.MessageContext msgCtx)
public void publishMessage(ca.uhn.hl7v2.model.Message message, org.apache.axis2.context.MessageContext msgCtx)
public ca.uhn.hl7v2.model.Message createAck(ca.uhn.hl7v2.model.Message hl7Msg) throws ca.uhn.hl7v2.HL7Exception
ca.uhn.hl7v2.HL7Exception
public ca.uhn.hl7v2.model.Message createNack(ca.uhn.hl7v2.model.Message hl7Msg, String errorMsg) throws ca.uhn.hl7v2.HL7Exception
ca.uhn.hl7v2.HL7Exception
public ca.uhn.hl7v2.model.Message handleHL7Result(org.apache.axis2.context.MessageContext ctx, ca.uhn.hl7v2.model.Message hl7Msg) throws ca.uhn.hl7v2.HL7Exception, org.apache.axis2.AxisFault
ctx
- hl7Msg
- ca.uhn.hl7v2.HL7Exception
org.apache.axis2.AxisFault
public boolean isPublisherEnabled()
public void setPublisherEnabled(boolean publisherEnabled)
public void setHl7PublisherConfig(HL7MessagePublisherConfig hl7PublisherConfig)
public void setTimeOutVal(int timeOut)
timeOut
- Transport Timeout valueCopyright © 2020 WSO2. All rights reserved.