|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.impl.DefaultEndpoint<JMXExchange>
org.apache.camel.component.jmx.JMXEndpoint
public class JMXEndpoint
JMXEndpoint for monitoring JMX attributs using CounterMonitor
.
Constructor Summary | |
---|---|
|
JMXEndpoint(String endpointUri)
|
protected |
JMXEndpoint(String endpointUri,
JMXComponent component)
|
Method Summary | |
---|---|
Consumer<JMXExchange> |
createConsumer(Processor proc)
Creates a new Event Driven Consumer which consumes messages from the endpoint using the given processor |
JMXExchange |
createExchange()
Create a new exchange for communicating with this endpoint |
JMXExchange |
createExchange(ExchangePattern pattern)
Create a new exchange for communicating with this endpoint with the specified ExchangePattern such as whether its going
to be an ExchangePattern.InOnly or ExchangePattern.InOut exchange |
JMXExchange |
createExchange(Notification notification)
|
Producer<JMXExchange> |
createProducer()
Creates a new producer which is used send messages into the endpoint |
String |
getAttributeName()
|
long |
getGranularityPeriod()
|
MBeanServer |
getMbeanServer()
|
String |
getName()
|
Number |
getOffset()
|
Number |
getThreshold()
|
boolean |
isSingleton()
Returns if the endpoint should be a CamelContext singleton. |
void |
setAttributeName(String attributeName)
|
void |
setGranularityPeriod(long granularityPeriod)
|
void |
setMbeanServer(MBeanServer mbeanServer)
|
void |
setName(String name)
|
void |
setOffset(Number offset)
|
void |
setThreshold(Number threshold)
|
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
---|
configureProperties, convertTo, createEndpointUri, createExchange, createExecutorService, createPollingConsumer, equals, getCamelContext, getComponent, getContext, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, hashCode, isLenientProperties, setCamelContext, setContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected JMXEndpoint(String endpointUri, JMXComponent component)
public JMXEndpoint(String endpointUri)
Method Detail |
---|
public Producer<JMXExchange> createProducer() throws Exception
Endpoint
Exception
public Consumer<JMXExchange> createConsumer(Processor proc) throws Exception
Endpoint
Exception
public boolean isSingleton()
Endpoint
public JMXExchange createExchange(Notification notification)
public JMXExchange createExchange()
Endpoint
createExchange
in interface Endpoint<JMXExchange>
createExchange
in class DefaultEndpoint<JMXExchange>
public JMXExchange createExchange(ExchangePattern pattern)
Endpoint
ExchangePattern
such as whether its going
to be an ExchangePattern.InOnly
or ExchangePattern.InOut
exchange
createExchange
in interface Endpoint<JMXExchange>
createExchange
in class DefaultEndpoint<JMXExchange>
pattern
- the message exchange pattern for the exchangepublic String getAttributeName()
public void setAttributeName(String attributeName)
public long getGranularityPeriod()
public void setGranularityPeriod(long granularityPeriod)
public String getName()
public void setName(String name)
public Number getOffset()
public void setOffset(Number offset)
public Number getThreshold()
public void setThreshold(Number threshold)
public MBeanServer getMbeanServer()
public void setMbeanServer(MBeanServer mbeanServer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |