@InterfaceAudience.Private @InterfaceStability.Unstable public class JMSSource extends AbstractPollableSource implements BatchSizeSupported
PollableSource.Status
Constructor and Description |
---|
JMSSource() |
JMSSource(InitialContextFactory initialContextFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
doConfigure(Context context) |
protected PollableSource.Status |
doProcess() |
protected void |
doStart() |
protected void |
doStop() |
long |
getBatchSize()
Returns the batch size
|
configure, getBackOffSleepIncrement, getMaxBackOffSleepInterval, process
getChannelProcessor, getLifecycleState, getName, getStartException, isStarted, setChannelProcessor, setLifecycleState, setName, start, stop, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChannelProcessor, setChannelProcessor
getLifecycleState, start, stop
getName, setName
public JMSSource()
public JMSSource(InitialContextFactory initialContextFactory)
protected void doConfigure(Context context) throws FlumeException
doConfigure
in class BasicSourceSemantics
FlumeException
protected PollableSource.Status doProcess() throws EventDeliveryException
doProcess
in class AbstractPollableSource
EventDeliveryException
protected void doStart()
doStart
in class BasicSourceSemantics
protected void doStop()
doStop
in class BasicSourceSemantics
public long getBatchSize()
BatchSizeSupported
getBatchSize
in interface BatchSizeSupported
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.