I am having difficulty in getting notifications to work
I have 2 MBeans and one must dispatch and the other receive notifications.

The dispatcher extends ServiceMBeanSupport (and also uses the @Service 
annotation). It send by creating a notification and sending it with:
 Notification notification = new Notification("BFLO_EVENT", this, 
getNextNotificationSequenceNumber(), "TEST MESSAGE");
 sendNotification(notification);

The receiver extends ListenerServiceMBeanSupport and overrides 
handleNotification2. 
Now in the startService method I try to subscribe to notifications by using 
various versions of subscribe(), but the handleNotification2 method is never 
called. (I am trying to subscribe dynamically without config files)

Can someone please show me where im going wrong?

Regards
Alfred

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099963#4099963

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099963
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to