Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Available as of Camel 2.6

This is a new example we added in Camel 2.1 as a little example of the new and overhauled JMX Management we did.

The example is included in the distribution at examples/camel-example-jmx. It contains a README.txt file with details how to use and run it.

...

Code Block
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>
<source>jmxExample:name=simpleBean</source><message>attribute changed</message><sequence>36</sequence><timestamp>1262878215000</timestamp><dateTime>2010timestamp>
<dateTime>2010-01-07T10:30:15.000-05:00</dateTime><type>jmx.attribute.change</type><attributeName>stringValue</attributeName><attributeType>string<attributeName>
<attributeType>string</attributeType><newValue>37</newValue><oldValue>36</oldValue></AttributeChangeNotification>]

See Also