Class AbstractInbound
- java.lang.Object
-
- de.codecentric.reedelk.runtime.api.component.AbstractInbound
-
- All Implemented Interfaces:
Component,Implementor,Inbound,InboundEventListener
public abstract class AbstractInbound extends Object implements Inbound, InboundEventListener
-
-
Constructor Summary
Constructors Constructor Description AbstractInbound()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEventListener(InboundEventListener listener)voidonEvent(Message message)On Event callback to be used when the Inbound processor is not interested in consuming the message payload.voidonEvent(Message message, OnResult onResult)voidremoveEventListener()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.codecentric.reedelk.runtime.api.component.Implementor
dispose, initialize
-
Methods inherited from interface de.codecentric.reedelk.runtime.api.component.Inbound
onShutdown, onStart
-
-
-
-
Method Detail
-
onEvent
public void onEvent(Message message)
Description copied from interface:InboundEventListenerOn Event callback to be used when the Inbound processor is not interested in consuming the message payload.- Specified by:
onEventin interfaceInboundEventListener- Parameters:
message- the inbound message.
-
onEvent
public void onEvent(Message message, OnResult onResult)
- Specified by:
onEventin interfaceInboundEventListener
-
addEventListener
public void addEventListener(InboundEventListener listener)
- Specified by:
addEventListenerin interfaceInbound
-
removeEventListener
public void removeEventListener()
- Specified by:
removeEventListenerin interfaceInbound
-
-