public interface IResponseListener
IResponseListener is an interface that forms part of the service style high-level public interface to the Correlator with a focus on only dealing with Events and consumer channels.
Modifier and Type | Method and Description |
---|---|
void |
handleException(java.lang.Exception exception)
Callback method that is called when an exception is thrown within an
asynchronous request-response call made on an EventServiceChannel.
|
void |
handleResponse(Event requestEvent,
Event responseEvent)
Callback method that is called when a matching response Event is
received for an asynchronous request-response call made on an EventServiceChannel.
|
void handleResponse(Event requestEvent, Event responseEvent)
requestEvent
- the original request Event.responseEvent
- the corresponding response Event.void handleException(java.lang.Exception exception)
exception
- The exception that was thrown in the asynchronous call.Submit a bug or feature
Copyright (c) 2013-2019 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.