Package org.opennms.netmgt.eventd.sink
Class EventSinkConsumer
- java.lang.Object
-
- org.opennms.netmgt.eventd.sink.EventSinkConsumer
-
- All Implemented Interfaces:
MessageConsumer<Event,Log>
public class EventSinkConsumer extends java.lang.Object implements MessageConsumer<Event,Log>
- Author:
- Malatesh Sudarshan
-
-
Constructor Summary
Constructors Constructor Description EventSinkConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SinkModule<Event,Log>
getModule()
void
handleMessage(Log eventLog)
void
init()
void
setconfig(EventdConfig m_config)
void
setEventForwarder(EventForwarder eventForwarder)
void
setMessageConsumerManager(MessageConsumerManager messageConsumerManager)
-
-
-
Method Detail
-
init
@PostConstruct public void init() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getModule
public SinkModule<Event,Log> getModule()
- Specified by:
getModule
in interfaceMessageConsumer<Event,Log>
-
handleMessage
public void handleMessage(Log eventLog)
- Specified by:
handleMessage
in interfaceMessageConsumer<Event,Log>
-
setconfig
public void setconfig(EventdConfig m_config)
-
setMessageConsumerManager
public void setMessageConsumerManager(MessageConsumerManager messageConsumerManager)
-
setEventForwarder
public void setEventForwarder(EventForwarder eventForwarder)
-
-