Interface MllpEndpointBuilderFactory.MllpEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder
,MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
- Enclosing interface:
- MllpEndpointBuilderFactory
public static interface MllpEndpointBuilderFactory.MllpEndpointBuilder
extends MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder, MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
Builder for endpoint for the MLLP component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
autoAck
(boolean autoAck) Enable/Disable the automatic generation of a MLLP Acknowledgement MLLP Consumers only.Enable/Disable the automatic generation of a MLLP Acknowledgement MLLP Consumers only.charsetName
(String charsetName) Sets the default charset to use.hl7Headers
(boolean hl7Headers) Enable/Disable the automatic generation of message headers from the HL7 Message MLLP Consumers only.hl7Headers
(String hl7Headers) Enable/Disable the automatic generation of message headers from the HL7 Message MLLP Consumers only.requireEndOfData
(boolean requireEndOfData) Enable/Disable strict compliance to the MLLP standard.requireEndOfData
(String requireEndOfData) Enable/Disable strict compliance to the MLLP standard.stringPayload
(boolean stringPayload) Enable/Disable converting the payload to a String.stringPayload
(String stringPayload) Enable/Disable converting the payload to a String.validatePayload
(boolean validatePayload) Enable/Disable the validation of HL7 Payloads If enabled, HL7 Payloads received from external systems will be validated (see Hl7Util.generateInvalidPayloadExceptionMessage for details on the validation).validatePayload
(String validatePayload) Enable/Disable the validation of HL7 Payloads If enabled, HL7 Payloads received from external systems will be validated (see Hl7Util.generateInvalidPayloadExceptionMessage for details on the validation).Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler
-
Method Details
-
advanced
- Specified by:
advanced
in interfaceMllpEndpointBuilderFactory.MllpEndpointConsumerBuilder
- Specified by:
advanced
in interfaceMllpEndpointBuilderFactory.MllpEndpointProducerBuilder
-
autoAck
Enable/Disable the automatic generation of a MLLP Acknowledgement MLLP Consumers only. The option is a: <code>boolean</code> type. Default: true Group: common- Specified by:
autoAck
in interfaceMllpEndpointBuilderFactory.MllpEndpointConsumerBuilder
- Specified by:
autoAck
in interfaceMllpEndpointBuilderFactory.MllpEndpointProducerBuilder
- Parameters:
autoAck
- the value to set- Returns:
- the dsl builder
-
autoAck
Enable/Disable the automatic generation of a MLLP Acknowledgement MLLP Consumers only. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Specified by:
autoAck
in interfaceMllpEndpointBuilderFactory.MllpEndpointConsumerBuilder
- Specified by:
autoAck
in interfaceMllpEndpointBuilderFactory.MllpEndpointProducerBuilder
- Parameters:
autoAck
- the value to set- Returns:
- the dsl builder
-
charsetName
Sets the default charset to use. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
charsetName
in interfaceMllpEndpointBuilderFactory.MllpEndpointConsumerBuilder
- Specified by:
charsetName
in interfaceMllpEndpointBuilderFactory.MllpEndpointProducerBuilder
- Parameters:
charsetName
- the value to set- Returns:
- the dsl builder
-
hl7Headers
Enable/Disable the automatic generation of message headers from the HL7 Message MLLP Consumers only. The option is a: <code>boolean</code> type. Default: true Group: common- Specified by:
hl7Headers
in interfaceMllpEndpointBuilderFactory.MllpEndpointConsumerBuilder
- Specified by:
hl7Headers
in interfaceMllpEndpointBuilderFactory.MllpEndpointProducerBuilder
- Parameters:
hl7Headers
- the value to set- Returns:
- the dsl builder
-
hl7Headers
Enable/Disable the automatic generation of message headers from the HL7 Message MLLP Consumers only. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Specified by:
hl7Headers
in interfaceMllpEndpointBuilderFactory.MllpEndpointConsumerBuilder
- Specified by:
hl7Headers
in interfaceMllpEndpointBuilderFactory.MllpEndpointProducerBuilder
- Parameters:
hl7Headers
- the value to set- Returns:
- the dsl builder
-
requireEndOfData
Enable/Disable strict compliance to the MLLP standard. The MLLP standard specifies START_OF_BLOCKhl7 payloadEND_OF_BLOCKEND_OF_DATA, however, some systems do not send the final END_OF_DATA byte. This setting controls whether or not the final END_OF_DATA byte is required or optional. The option is a: <code>boolean</code> type. Default: true Group: common- Specified by:
requireEndOfData
in interfaceMllpEndpointBuilderFactory.MllpEndpointConsumerBuilder
- Specified by:
requireEndOfData
in interfaceMllpEndpointBuilderFactory.MllpEndpointProducerBuilder
- Parameters:
requireEndOfData
- the value to set- Returns:
- the dsl builder
-
requireEndOfData
Enable/Disable strict compliance to the MLLP standard. The MLLP standard specifies START_OF_BLOCKhl7 payloadEND_OF_BLOCKEND_OF_DATA, however, some systems do not send the final END_OF_DATA byte. This setting controls whether or not the final END_OF_DATA byte is required or optional. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Specified by:
requireEndOfData
in interfaceMllpEndpointBuilderFactory.MllpEndpointConsumerBuilder
- Specified by:
requireEndOfData
in interfaceMllpEndpointBuilderFactory.MllpEndpointProducerBuilder
- Parameters:
requireEndOfData
- the value to set- Returns:
- the dsl builder
-
stringPayload
Enable/Disable converting the payload to a String. If enabled, HL7 Payloads received from external systems will be validated converted to a String. If the charsetName property is set, that character set will be used for the conversion. If the charsetName property is not set, the value of MSH-18 will be used to determine th appropriate character set. If MSH-18 is not set, then the default ISO-8859-1 character set will be use. The option is a: <code>boolean</code> type. Default: true Group: common- Specified by:
stringPayload
in interfaceMllpEndpointBuilderFactory.MllpEndpointConsumerBuilder
- Specified by:
stringPayload
in interfaceMllpEndpointBuilderFactory.MllpEndpointProducerBuilder
- Parameters:
stringPayload
- the value to set- Returns:
- the dsl builder
-
stringPayload
Enable/Disable converting the payload to a String. If enabled, HL7 Payloads received from external systems will be validated converted to a String. If the charsetName property is set, that character set will be used for the conversion. If the charsetName property is not set, the value of MSH-18 will be used to determine th appropriate character set. If MSH-18 is not set, then the default ISO-8859-1 character set will be use. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Specified by:
stringPayload
in interfaceMllpEndpointBuilderFactory.MllpEndpointConsumerBuilder
- Specified by:
stringPayload
in interfaceMllpEndpointBuilderFactory.MllpEndpointProducerBuilder
- Parameters:
stringPayload
- the value to set- Returns:
- the dsl builder
-
validatePayload
Enable/Disable the validation of HL7 Payloads If enabled, HL7 Payloads received from external systems will be validated (see Hl7Util.generateInvalidPayloadExceptionMessage for details on the validation). If and invalid payload is detected, a MllpInvalidMessageException (for consumers) or a MllpInvalidAcknowledgementException will be thrown. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
validatePayload
in interfaceMllpEndpointBuilderFactory.MllpEndpointConsumerBuilder
- Specified by:
validatePayload
in interfaceMllpEndpointBuilderFactory.MllpEndpointProducerBuilder
- Parameters:
validatePayload
- the value to set- Returns:
- the dsl builder
-
validatePayload
Enable/Disable the validation of HL7 Payloads If enabled, HL7 Payloads received from external systems will be validated (see Hl7Util.generateInvalidPayloadExceptionMessage for details on the validation). If and invalid payload is detected, a MllpInvalidMessageException (for consumers) or a MllpInvalidAcknowledgementException will be thrown. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
validatePayload
in interfaceMllpEndpointBuilderFactory.MllpEndpointConsumerBuilder
- Specified by:
validatePayload
in interfaceMllpEndpointBuilderFactory.MllpEndpointProducerBuilder
- Parameters:
validatePayload
- the value to set- Returns:
- the dsl builder
-