Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the early version of the new website
https://camel.apache.org/staging/
We would very much like to receive any feedback on the new site, please join the discussion on the Camel user mailing list.
JMX Component ExampleAvailable as of Camel 2.6 The example is included in the distribution at The routesThis example has 2 routes: UsageYou can use maven to run the example using mvn camel:run It takes about 10 second before Camel logs to the screen the first time. Its should be like this 2010-11-17 08:01:09,755 [foo ] INFO jmxEvent - Exchange[ExchangePattern:InOnly, BodyType:String, Body:<?xml version="1.0" encoding="UTF-8" standalone="yes"?><AttributeChangeNotification xmlns="urn:org.apache.camel.component:jmx"> <source>jmxExample:name=simpleBean</source><message>attribute changed</message><sequence>36</sequence><timestamp>1262878215000</timestamp> <dateTime>2010-01-07T10:30:15.000-05:00</dateTime><type>jmx.attribute.change</type><attributeName>stringValue</attributeName> <attributeType>string</attributeType><newValue>37</newValue><oldValue>36</oldValue></AttributeChangeNotification>] See Also |