@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, processgetChannelProcessor, getLifecycleState, getName, getStartException, isStarted, setChannelProcessor, setLifecycleState, setName, start, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChannelProcessor, setChannelProcessorgetLifecycleState, start, stopgetName, setNamepublic 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 BasicSourceSemanticsFlumeExceptionprotected PollableSource.Status doProcess() throws EventDeliveryException
doProcess in class AbstractPollableSourceEventDeliveryExceptionprotected void doStart()
doStart in class BasicSourceSemanticsprotected void doStop()
doStop in class BasicSourceSemanticspublic long getBatchSize()
BatchSizeSupportedgetBatchSize in interface BatchSizeSupportedCopyright © 2009-2022 Apache Software Foundation. All Rights Reserved.