public class JmxConsumer extends AdaptrisMessageConsumerImp implements LicensedComponent
The destination returned by ConsumeDestination
is used as part of the ObjectName
In the adapter configuration file this class is aliased as triggered-jmx-consumer which is the preferred alternative to the fully qualified classname when building your configuration.
License Required: STANDARD
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JMX_OBJECT_NAME_PREFIX |
log
CONFIRMATION_ID_KEY
Constructor and Description |
---|
JmxConsumer() |
JmxConsumer(ConsumeDestination d) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
init() |
boolean |
isEnabled(License license) |
void |
prepare() |
void |
start() |
void |
stop() |
changeState, getDestination, registerAdaptrisMessageListener, renameThread, requestClose, requestInit, requestStart, requestStop, retrieveAdaptrisMessageListener, retrieveComponentState, setDestination
createName, createQualifier, decode, encode, getEncoder, getIsTrackingEndpoint, getMessageFactory, getUniqueId, handleConnectionException, isTrackingEndpoint, registerConnection, registerEncoderMessageFactory, retrieveConnection, setEncoder, setIsTrackingEndpoint, setMessageFactory, setUniqueId, withMessageFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
consumeLocationKey
decode, encode, getEncoder, getMessageFactory, handleConnectionException, registerConnection, retrieveConnection, setEncoder, setMessageFactory
getUniqueId
createName, createQualifier, isTrackingEndpoint
public static final java.lang.String JMX_OBJECT_NAME_PREFIX
public JmxConsumer()
public JmxConsumer(ConsumeDestination d)
public void prepare() throws CoreException
prepare
in interface ComponentLifecycleExtension
CoreException
public boolean isEnabled(License license)
isEnabled
in interface LicensedComponent
public void close()
close
in interface ComponentLifecycle
public void init() throws CoreException
init
in interface ComponentLifecycle
CoreException
public void start() throws CoreException
start
in interface ComponentLifecycle
CoreException
public void stop()
stop
in interface ComponentLifecycle