Class Iti55DeferredResponseService

java.lang.Object
org.openehealth.ipf.platform.camel.ihe.ws.AbstractWebService
org.openehealth.ipf.platform.camel.ihe.ws.AbstractAsyncResponseWebService
org.openehealth.ipf.platform.camel.ihe.hl7v3.iti55.deferredresponse.Iti55DeferredResponseService
All Implemented Interfaces:
Iti55DeferredResponsePortType

public class Iti55DeferredResponseService extends AbstractAsyncResponseWebService implements Iti55DeferredResponsePortType
Service implementation for the ITI-55 XCPD Initiating Gateway actor (receiver of deferred responses).
Author:
Dmytro Rud
  • Constructor Details

    • Iti55DeferredResponseService

      public Iti55DeferredResponseService()
  • Method Details

    • canDropCorrelation

      protected boolean canDropCorrelation(Object response)
      Description copied from class: AbstractAsyncResponseWebService
      Determines whether correlation items related to the given message can be dropped.

      Per default, always returns true.

      Overrides:
      canDropCorrelation in class AbstractAsyncResponseWebService
      Parameters:
      response - response message.
      Returns:
      true when correlation items related to the given message can be dropped.
    • receiveDeferredResponse

      public String receiveDeferredResponse(String responseString)
      Specified by:
      receiveDeferredResponse in interface Iti55DeferredResponsePortType
    • getAlternativeResponseKeys

      protected String[] getAlternativeResponseKeys(Object response)
      Description copied from class: AbstractAsyncResponseWebService
      Determines the set of correlation keys for the given response message, which are alternative to the WS-Addressing message ID referenced in the <ReplyTo> header. An example of alternative key is the query ID in HL7v3-based transactions.

      Per default, this method returns null.

      Overrides:
      getAlternativeResponseKeys in class AbstractAsyncResponseWebService
      Parameters:
      response - response message.
      Returns:
      A non-empty collection of non-null alternative keys, or null, when no keys could have been extracted.