Hi That class JmxNotificationEventNotifier has support for sending Camel events as JMX notifications. It uses standard JMX javax.management.NotificationEmitter to do that, the JDK has a javax.management.NotificationBroadcasterSupport you can use.
Check the source code and unit tests, and search the internet for how to use those standard JMX classes. On Thu, Jul 17, 2014 at 11:48 AM, dermoritz <[email protected]> wrote: > I can't find an example how to emit Jmx events. I found examples how to > create the notifier and how to listen to events but i just want to emit > events within a "@ManagedResource". (Seeing attributes and operations is > working fine) > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-emit-jmx-events-with-JmxNotificationEventNotifier-tp5753956.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
