use of nl.nn.adapterframework.core.IMessageHandler in project iaf by ibissource.
the class GenericMDB method onMessage.
public void onMessage(Message message) {
try {
// in locking
if (this.listener == null) {
this.listener = retrieveListener();
}
IMessageHandler handler = this.listener.getHandler();
handler.processRawMessage(listener, message);
} catch (ListenerException ex) {
log.error(ex, ex);
listener.getExceptionListener().exceptionThrown(listener, ex);
rollbackTransaction();
}
}
Aggregations