@InterfaceAudience.Private @InterfaceStability.Unstable public class JMSSource extends AbstractPollableSource implements BatchSizeSupported
PollableSource.Status
Modifier and Type | Field and Description |
---|---|
static String |
JNDI_ALLOWED_PROTOCOLS |
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
|
static void |
verifyContext(String location) |
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 static final String JNDI_ALLOWED_PROTOCOLS
public JMSSource()
public JMSSource(InitialContextFactory initialContextFactory)
public static void verifyContext(String location)
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-2022 Apache Software Foundation. All Rights Reserved.