Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Usage of interface NotificationSender and @ManagedNotification

$
0
0
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")

Viewing all articles
Browse latest Browse all 5648

Trending Articles