org.apache.flume.source.jms
Class JMSSource
java.lang.Object
org.apache.flume.source.BasicSourceSemantics
org.apache.flume.source.AbstractPollableSource
org.apache.flume.source.jms.JMSSource
- All Implemented Interfaces:
- Configurable, LifecycleAware, NamedComponent, PollableSource, Source
@InterfaceAudience.Private
@InterfaceStability.Unstable
public class JMSSource
- extends AbstractPollableSource
Methods inherited from class org.apache.flume.source.BasicSourceSemantics |
configure, getChannelProcessor, getLifecycleState, getName, getStartException, isStarted, setChannelProcessor, setLifecycleState, setName, start, stop, toString |
JMSSource
public JMSSource()
JMSSource
public JMSSource(JMSMessageConsumerFactory consumerFactory,
InitialContextFactory initialContextFactory)
doConfigure
protected void doConfigure(Context context)
throws FlumeException
- Specified by:
doConfigure
in class BasicSourceSemantics
- Throws:
FlumeException
doProcess
protected PollableSource.Status doProcess()
throws EventDeliveryException
- Specified by:
doProcess
in class AbstractPollableSource
- Throws:
EventDeliveryException
doStart
protected void doStart()
- Specified by:
doStart
in class BasicSourceSemantics
doStop
protected void doStop()
- Specified by:
doStop
in class BasicSourceSemantics
Copyright © 2009-2013 Apache Software Foundation. All Rights Reserved.