Interface MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
MllpEndpointBuilderFactory.MllpEndpointBuilder
- Enclosing interface:
- MllpEndpointBuilderFactory
public static interface MllpEndpointBuilderFactory.MllpEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the MLLP component.
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
advanced()
default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
autoAck(boolean autoAck)
Enable/Disable the automatic generation of a MLLP Acknowledgement MLLP Consumers only.default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
autoAck(String autoAck)
Enable/Disable the automatic generation of a MLLP Acknowledgement MLLP Consumers only.default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
bufferWrites(boolean bufferWrites)
Deprecated.default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
bufferWrites(String bufferWrites)
Deprecated.default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
charsetName(String charsetName)
Set the CamelCharsetName property on the exchange.default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
hl7Headers(boolean hl7Headers)
Enable/Disable the automatic generation of message headers from the HL7 Message MLLP Consumers only.default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
hl7Headers(String hl7Headers)
Enable/Disable the automatic generation of message headers from the HL7 Message MLLP Consumers only.default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
requireEndOfData(boolean requireEndOfData)
Enable/Disable strict compliance to the MLLP standard.default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
requireEndOfData(String requireEndOfData)
Enable/Disable strict compliance to the MLLP standard.default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
stringPayload(boolean stringPayload)
Enable/Disable converting the payload to a String.default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
stringPayload(String stringPayload)
Enable/Disable converting the payload to a String.default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
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).default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
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).
-
-
-
Method Detail
-
advanced
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder advanced()
-
autoAck
default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder autoAck(boolean autoAck)
Enable/Disable the automatic generation of a MLLP Acknowledgement MLLP Consumers only. The option is a:boolean
type. Default: true Group: common
-
autoAck
default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder autoAck(String autoAck)
Enable/Disable the automatic generation of a MLLP Acknowledgement MLLP Consumers only. The option will be converted to aboolean
type. Default: true Group: common
-
bufferWrites
@Deprecated default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder bufferWrites(boolean bufferWrites)
Deprecated.Enable/Disable the buffering of HL7 payloads before writing to the socket. The option is a:boolean
type. Default: false Group: common
-
bufferWrites
@Deprecated default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder bufferWrites(String bufferWrites)
Deprecated.Enable/Disable the buffering of HL7 payloads before writing to the socket. The option will be converted to aboolean
type. Default: false Group: common
-
hl7Headers
default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder hl7Headers(boolean hl7Headers)
Enable/Disable the automatic generation of message headers from the HL7 Message MLLP Consumers only. The option is a:boolean
type. Default: true Group: common
-
hl7Headers
default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder hl7Headers(String hl7Headers)
Enable/Disable the automatic generation of message headers from the HL7 Message MLLP Consumers only. The option will be converted to aboolean
type. Default: true Group: common
-
requireEndOfData
default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder requireEndOfData(boolean 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:boolean
type. Default: true Group: common
-
requireEndOfData
default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder requireEndOfData(String 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 aboolean
type. Default: true Group: common
-
stringPayload
default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder stringPayload(boolean 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:boolean
type. Default: true Group: common
-
stringPayload
default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder stringPayload(String 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 aboolean
type. Default: true Group: common
-
validatePayload
default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder 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). If and invalid payload is detected, a MllpInvalidMessageException (for consumers) or a MllpInvalidAcknowledgementException will be thrown. The option is a:boolean
type. Default: false Group: common
-
validatePayload
default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder 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). If and invalid payload is detected, a MllpInvalidMessageException (for consumers) or a MllpInvalidAcknowledgementException will be thrown. The option will be converted to aboolean
type. Default: false Group: common
-
lazyStartProducer
default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:boolean
type. Default: false Group: producer
-
lazyStartProducer
default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to aboolean
type. Default: false Group: producer
-
charsetName
default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder charsetName(String charsetName)
Set the CamelCharsetName property on the exchange. The option is a:java.lang.String
type. Group: codec
-
-