Interface MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointConsumerBuilder, org.apache.camel.EndpointConsumerResolver
    All Known Subinterfaces:
    MllpEndpointBuilderFactory.MllpEndpointBuilder
    Enclosing interface:
    MllpEndpointBuilderFactory

    public static interface MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint consumers for the MLLP component.
    • Method Detail

      • autoAck

        default MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder autoAck​(boolean 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
        Parameters:
        autoAck - the value to set
        Returns:
        the dsl builder
      • autoAck

        default MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder autoAck​(String 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
        Parameters:
        autoAck - the value to set
        Returns:
        the dsl builder
      • hl7Headers

        default MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder hl7Headers​(boolean 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
        Parameters:
        hl7Headers - the value to set
        Returns:
        the dsl builder
      • hl7Headers

        default MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder hl7Headers​(String 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
        Parameters:
        hl7Headers - the value to set
        Returns:
        the dsl builder
      • requireEndOfData

        default MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder 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: <code>boolean</code> type. Default: true Group: common
        Parameters:
        requireEndOfData - the value to set
        Returns:
        the dsl builder
      • requireEndOfData

        default MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder 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 a <code>boolean</code> type. Default: true Group: common
        Parameters:
        requireEndOfData - the value to set
        Returns:
        the dsl builder
      • stringPayload

        default MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder 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: <code>boolean</code> type. Default: true Group: common
        Parameters:
        stringPayload - the value to set
        Returns:
        the dsl builder
      • stringPayload

        default MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder 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 a <code>boolean</code> type. Default: true Group: common
        Parameters:
        stringPayload - the value to set
        Returns:
        the dsl builder
      • validatePayload

        default MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder 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: <code>boolean</code> type. Default: false Group: common
        Parameters:
        validatePayload - the value to set
        Returns:
        the dsl builder
      • validatePayload

        default MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder 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 a <code>boolean</code> type. Default: false Group: common
        Parameters:
        validatePayload - the value to set
        Returns:
        the dsl builder
      • bridgeErrorHandler

        default MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder bridgeErrorHandler​(boolean bridgeErrorHandler)
        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. The option is a: <code>boolean</code> type. Default: true Group: consumer
        Parameters:
        bridgeErrorHandler - the value to set
        Returns:
        the dsl builder
      • bridgeErrorHandler

        default MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder bridgeErrorHandler​(String bridgeErrorHandler)
        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. The option will be converted to a <code>boolean</code> type. Default: true Group: consumer
        Parameters:
        bridgeErrorHandler - the value to set
        Returns:
        the dsl builder