Package org.frankframework.core
Interface RequestReplyListener
- All Known Implementing Classes:
AmqpListener,ApiListener,CmisEventListener,FrankListener,JavaListener,PushingListenerAdapter,RestListener,WebServiceListener
public interface RequestReplyListener
Interface to be added to
IListeners that are used for request / reply
scenarios.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidWhen an exception happens in the execution of the pipeline, withRETHROWthe exception is thrown to the caller.
-
Method Details
-
setOnException
When an exception happens in the execution of the pipeline, withRETHROWthe exception is thrown to the caller. WithFORMAT_AND_RETURNthe exception is processed by theAdapter.setErrorMessageFormatter(IErrorMessageFormatter)and returned as result-message of theAdapter.
The default is currentlyRETHROWfor backwards compatibility but will becomeFORMAT_AND_RETURNin a future version.- Parameters:
method-RETHROWorFORMAT_AND_RETURN- Since:
- 9.2
- Default value
- RETHROW
-
getOnException
RequestReplyListener.ExceptionHandlingMethod getOnException()
-