camel-mllp-kafka-connector source configuration
Connector Description: Communicate with external systems using the MLLP protocol.
When using camel-mllp-kafka-connector as source make sure to use the following Maven dependency to have support for the connector:
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
<artifactId>camel-mllp-kafka-connector</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel Kafka connector version -->
</dependency>
To use this source connector in Kafka connect you’ll need to set the following connector.class
connector.class=org.apache.camel.kafkaconnector.mllp.CamelMllpSourceConnector
The camel-mllp source connector supports 28 options, which are listed below.
Name | Description | Default | Priority |
---|---|---|---|
Required Hostname or IP for connection for the TCP connection. The default value is null, which means any local IP address. |
HIGH |
||
Required Port number for the TCP connection. |
HIGH |
||
Enable/Disable the automatic generation of a MLLP Acknowledgement MLLP Consumers only. |
true |
MEDIUM |
|
Enable/Disable the automatic generation of message headers from the HL7 Message MLLP Consumers only. |
true |
MEDIUM |
|
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. |
true |
MEDIUM |
|
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. |
true |
MEDIUM |
|
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. |
false |
MEDIUM |
|
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to receive incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. If disabled, the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions by logging them at WARN or ERROR level and ignored. |
true |
MEDIUM |
|
To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. |
MEDIUM |
||
Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut]. Enum values:
|
"InOut" |
MEDIUM |
|
Set the CamelCharsetName property on the exchange. |
MEDIUM |
||
The maximum queue length for incoming connection indications (a request to connect) is set to the backlog parameter. If a connection indication arrives when the queue is full, the connection is refused. |
"5" |
MEDIUM |
|
TCP Server Only - Allow the endpoint to start before the TCP ServerSocket is bound. In some environments, it may be desirable to allow the endpoint to start before the TCP ServerSocket is bound. |
false |
MEDIUM |
|
The maximum number of concurrent MLLP Consumer connections that will be allowed. If a new connection is received and the maximum is number are already established, the new connection will be reset immediately. |
5 |
MEDIUM |
|
Sets the SO_RCVBUF option to the specified value (in bytes). |
"8192" |
MEDIUM |
|
Enable/disable the SO_REUSEADDR socket option. |
"false" |
MEDIUM |
|
Sets the SO_SNDBUF option to the specified value (in bytes). |
"8192" |
MEDIUM |
|
Timeout (in milliseconds) while waiting for a TCP connection TCP Server Only. |
60000 |
MEDIUM |
|
TCP Server Only - The number of milliseconds to wait between bind attempts. |
5000 |
MEDIUM |
|
TCP Server Only - The number of milliseconds to retry binding to a server port. |
30000 |
MEDIUM |
|
The approximate idle time allowed before the Client TCP Connection will be reset. A null value or a value less than or equal to zero will disable the idle timeout. |
MEDIUM |
||
The SO_TIMEOUT value (in milliseconds) used after the start of an MLLP frame has been received. |
5000 |
MEDIUM |
|
The SO_TIMEOUT value (in milliseconds) used when waiting for the start of an MLLP frame. |
15000 |
MEDIUM |
|
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. |
false |
MEDIUM |
|
Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. |
true |
MEDIUM |
|
Set the default character set to use for byte to/from String conversions. |
"ISO-8859-1" |
MEDIUM |
|
Set the component to log PHI data. |
"true" |
MEDIUM |
|
Set the maximum number of bytes of PHI that will be logged in a log entry. |
"5120" |
MEDIUM |
The camel-mllp source connector has no converters out of the box.
The camel-mllp source connector has no transforms out of the box.
The camel-mllp source connector has no aggregation strategies out of the box.