Class BaseInboundProcessingListener
java.lang.Object
com.onenetwork.platform.integ.msg.BaseInboundProcessingListener
public abstract class BaseInboundProcessingListener
extends java.lang.Object
Base class which defines event handlers for the events
inside the InboundProcessor; all of the methods in this class
have default implementations, so a subclass only needs to
implement the methods it needs.
-
Constructor Summary
Constructors Constructor Description BaseInboundProcessingListener()
-
Method Summary
Modifier and Type Method Description void
postEnqueueResults(InboundProcessingEvent event)
Handle the process result after theMessage
processing is completed.void
preEnqueueResults(InboundProcessingEvent event)
Handle the result before the processor has worked on the results.void
preProcess(InboundProcessingEvent event)
Handle the pre processing of theMessage
.
-
Constructor Details
-
BaseInboundProcessingListener
public BaseInboundProcessingListener()
-
-
Method Details
-
preProcess
Handle the pre processing of theMessage
.- Parameters:
event
-InboundProcessingEvent
-
preEnqueueResults
Handle the result before the processor has worked on the results. Throwing RuntimeException from this method won't rollback the transaction but task will be re-tried depending on the number of attempts configured in InboundInterface.- Parameters:
event
-InboundProcessingEvent
-
postEnqueueResults
Handle the process result after theMessage
processing is completed. Throwing RuntimeException from this method won't rollback the transaction but task will be re-tried depending on the number of attempts configured in InboundInterface.- Parameters:
event
-InboundProcessingEvent
-