Class Iti55AsyncResponseService
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.asyncresponse.Iti55AsyncResponseService
- All Implemented Interfaces:
Iti55AsyncResponsePortType
public class Iti55AsyncResponseService
extends AbstractAsyncResponseWebService
implements Iti55AsyncResponsePortType
Service implementation for the ITI-55 XCPD Initiating Gateway actor
(receiver of asynchronous responses).
- Author:
- Dmytro Rud
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String[]
getAlternativeResponseKeys
(Object response) 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.void
receiveAsyncResponse
(String responseString) Methods inherited from class org.openehealth.ipf.platform.camel.ihe.ws.AbstractAsyncResponseWebService
canDropCorrelation, process
Methods inherited from class org.openehealth.ipf.platform.camel.ihe.ws.AbstractWebService
getConsumer, process, setConsumer
-
Constructor Details
-
Iti55AsyncResponseService
public Iti55AsyncResponseService()
-
-
Method Details
-
receiveAsyncResponse
- Specified by:
receiveAsyncResponse
in interfaceIti55AsyncResponsePortType
-
getAlternativeResponseKeys
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 classAbstractAsyncResponseWebService
- Parameters:
response
- response message.- Returns:
- A non-empty collection of non-
null
alternative keys, ornull
, when no keys could have been extracted.
-