Hi

Check the source code of camel-core, such as JMXNotificationTraceEventHandler

On Thu, Jul 17, 2014 at 6:29 PM, dermoritz <tantea...@hotmail.com> wrote:
> I love the way to use jmx in camel (just use annotations).
>
> In one of my @ManagedResources i want to publish notifications. I think
> camel is shipped with support for that too:
> I found the interface "NotificationSender":
> "
> /**
>  * To be implemented by classes that can send out notifications
>  */
> public interface NotificationSender {
>
>     /**
>      * Send notification
>      *
>      * @param notification notification to send
>      */
>     void sendNotification(Notification notification);
> }
> "
>
> And the annotation @ManagedNotification. I can't find examples that use one
> of them (if you google you'll find code but it is not using
> @ManagedNotification).
> So can someone please shed light on camels built in capabilities to send
> notifications (there also an interface "NotificationPublisherAware")
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Usage-of-interface-NotificationSender-and-ManagedNotification-tp5753980.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to