Class Hl7v3ContinuationAwareEndpoint

All Implemented Interfaces:
AutoCloseable, CamelContextAware, ComponentAware, Endpoint, IsSingleton, Service, ShutdownableService, HasCamelContext, HasId, StatefulService, SuspendableService, AuditableEndpoint<Hl7v3AuditDataset>

public class Hl7v3ContinuationAwareEndpoint extends Hl7v3Endpoint
Camel endpoint implementation for HL7v3-based IHE components with interactive response continuation support.
Author:
Dmytro Rud
  • Constructor Details

  • Method Details

    • getProducer

      Description copied from class: AbstractWsEndpoint
      Constructs and returns a transaction-specific Camel producer instance
      Specified by:
      getProducer in class AbstractWsEndpoint<Hl7v3AuditDataset>
      Parameters:
      clientFactory - JAX-WS client factory instance.
      Returns:
      Camel producer instance.
    • isManualAudit

      public boolean isManualAudit()
      Returns:
      true if ATNA audit strategies must be manually applied in Camel producer and consumer instead of CXF interceptors. This will be the case when interactive response continuation is supported.
    • getJaxWsClientFactory

      public JaxWsClientFactory<Hl7v3AuditDataset> getJaxWsClientFactory()
      Overrides:
      getJaxWsClientFactory in class Hl7v3Endpoint
      Returns:
      JAX-WS client object factory.
    • getJaxWsServiceFactory

      public JaxWsServiceFactory<Hl7v3AuditDataset> getJaxWsServiceFactory()
      Overrides:
      getJaxWsServiceFactory in class Hl7v3Endpoint
      Returns:
      JAX-WS service object factory.
    • setSupportContinuation

      public void setSupportContinuation(boolean supportContinuation)
      Whether this endpoint should support HL7v3 continuation. true when this endpoint supports HL7v3 continuation.
    • setAutoCancel

      public void setAutoCancel(boolean autoCancel)
      Producer-side only: Whether a "cancel continuation" message should be automatically sent to the server when all continuation fragments have been read.

      This parameter is relevant only on producer side.

    • setDefaultContinuationThreshold

      public void setDefaultContinuationThreshold(int defaultContinuationThreshold)
      Consumer-side only: Default count of data records in the first response fragment, when the request does not contain "initialQuantity" element. Negative values mean "no continuation, when initialQuantity is not specified".

      This parameter is relevant only on consumer side.

    • setContinuationStorage

      public void setContinuationStorage(Hl7v3ContinuationStorage continuationStorage)
      Consumer-side only: Storage bean for continuation fragments.

      This parameter is relevant only on consumer side.

    • setValidationOnContinuation

      public void setValidationOnContinuation(boolean validationOnContinuation)
      Whether the system should validate messages which are internally handled when performing HL7v3 interactive continuation. true when messages, which are internally handled when performing HL7v3 interactive continuation, should be validated.
    • isSupportContinuation

      public boolean isSupportContinuation()
      Whether this endpoint should support HL7v3 continuation. true when this endpoint supports HL7v3 continuation.
    • isAutoCancel

      public boolean isAutoCancel()
      Producer-side only: Whether a "cancel continuation" message should be automatically sent to the server when all continuation fragments have been read.

      This parameter is relevant only on producer side.

    • getDefaultContinuationThreshold

      public int getDefaultContinuationThreshold()
      Consumer-side only: Default count of data records in the first response fragment, when the request does not contain "initialQuantity" element. Negative values mean "no continuation, when initialQuantity is not specified".

      This parameter is relevant only on consumer side.

    • getContinuationStorage

      public Hl7v3ContinuationStorage getContinuationStorage()
      Consumer-side only: Storage bean for continuation fragments.

      This parameter is relevant only on consumer side.

    • isValidationOnContinuation

      public boolean isValidationOnContinuation()
      Whether the system should validate messages which are internally handled when performing HL7v3 interactive continuation. true when messages, which are internally handled when performing HL7v3 interactive continuation, should be validated.