public class MBeanTreePollingMessageSource extends AbstractMessageSource<Object>
MessageSource
implementation that
retrieves a snapshot of a filtered subset of the MBean tree.IntegrationManagement.ManagementOverrides
EXPRESSION_PARSER, logger
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
Constructor and Description |
---|
MBeanTreePollingMessageSource(MBeanObjectConverter converter) |
Modifier and Type | Method and Description |
---|---|
protected Object |
doReceive()
Provides the mapped tree object
|
String |
getComponentType() |
void |
setQueryExpression(String queryExpression) |
void |
setQueryExpressionReference(QueryExp queryExpression) |
void |
setQueryName(String queryName) |
void |
setQueryNameReference(ObjectName queryName) |
void |
setServer(MBeanServerConnection server)
Provide the MBeanServer where the JMX MBean has been registered.
|
buildMessage, destroy, getBeanName, getComponentName, getManagedName, getManagedType, getOverrides, isLoggingEnabled, receive, registerMetricsCaptor, setBeanName, setHeaderExpressions, setLoggingEnabled, setManagedName, setManagedType
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, onInit, setBeanFactory, setConversionService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIntegrationPatternType
getThisAs
public MBeanTreePollingMessageSource(MBeanObjectConverter converter)
converter
- The converter.public String getComponentType()
protected Object doReceive()
doReceive
in class AbstractMessageSource<Object>
public void setServer(MBeanServerConnection server)
server
- The MBean server connection.public void setQueryName(String queryName)
queryName
- The query name.public void setQueryNameReference(ObjectName queryName)
queryName
- The query name.public void setQueryExpression(String queryExpression)
queryExpression
- The query expression.public void setQueryExpressionReference(QueryExp queryExpression)
queryExpression
- The query expression.