|
||||||||||
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
Creates a CounterMonitor for jmx attributes
Constructor Summary | |
---|---|
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(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 |
---|
convertTo, createExchange, createExecutorService, createPollingConsumer, equals, getComponent, getContext, getEndpointUri, getExchangeType, getExecutorService, hashCode, setExecutorService, toExchangeType, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected JMXEndpoint(String endpointUri, JMXComponent component)
Method Detail |
---|
public Producer<JMXExchange> createProducer() throws Exception
Endpoint
Exception
Endpoint.createProducer()
public Consumer<JMXExchange> createConsumer(Processor proc) throws Exception
Endpoint
proc
-
Exception
Endpoint.createConsumer(org.apache.camel.Processor)
public boolean isSingleton()
Endpoint
public JMXExchange createExchange(Notification notification)
public JMXExchange createExchange()
Endpoint
public 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 |