[ https://issues.apache.org/jira/browse/CAMEL-4516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Schneider updated CAMEL-4516: --------------------------------------- Description: If you use camel jmx annotations to publish a mbean you can not use jmx Notifications. The reason is that the mbean assembler does not support the mbean info for this. Additionally the created Required Model MBean is not coupled with the user class. So there is no way to send notifications. So I propose to add two Annotations @ManagedNotification and @ManagedNotifications and handle them in the assembler. To support sending of Notifications I propose to add two interfaces NotificationSender and NotificationSenderAware that allow the user code to get access to the generated Model MBean to send out the Notification was: If you use camel jmx annotations to publish a mbean you can not use jmx Notifications. The reason is that the mbean assembler does not support the mbean info for this. Additionally the created Required Model MBean is not coupled with the user class. So there is no way to send notifications. So I propose to add two Annotations @Notification and @Notifications and handle them in the assembler. To support sending of Notifications I propose to add two interfaces NotificationSender and NotificationSenderAware that allow the user code to get access to the generated Model MBean to send out the Notification > Add JMX notification support to our mbean assembler > --------------------------------------------------- > > Key: CAMEL-4516 > URL: https://issues.apache.org/jira/browse/CAMEL-4516 > Project: Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 2.8.0 > Reporter: Christian Schneider > Assignee: Christian Schneider > Fix For: 2.9.0 > > > If you use camel jmx annotations to publish a mbean you can not use jmx > Notifications. > The reason is that the mbean assembler does not support the mbean info for > this. Additionally the created Required Model MBean is not coupled with the > user class. So there is no way to send notifications. > So I propose to add two Annotations @ManagedNotification and > @ManagedNotifications and handle them in the assembler. > To support sending of Notifications I propose to add two interfaces > NotificationSender and NotificationSenderAware that allow the user code to > get access to the generated Model MBean to send out the Notification -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira