Thnaks,,It works by adding :

<bean id="jmxevent" 
class="org.apache.camel.management.JmxNotificationEventNotifier"></bean>

In the camel context .

-----Original Message-----
From: Claus Ibsen [mailto:[email protected]] 
Sent: Sunday, December 18, 2011 5:26 PM
To: [email protected]
Subject: Re: Required Example for Sending JMX Notification exchange id etc...

Hi

Just add it, see
http://camel.apache.org/advanced-configuration-of-camelcontext-using-spring.html

On Sun, Dec 18, 2011 at 2:09 PM, Omar Atia <[email protected]> wrote:
> Brother , I have seen the below and seen the test case ,How to make it in 
> spring DSL ? like
>
> <bean id="eventLogger"
> class="org.apache.camel.management.LoggingEventNotifier">
> <property name="logName" value="rider.EventLog"/>
> <property name="ignoreCamelContextEvents" value="true"/>
> <property name="ignoreRouteEvents" value="true"/>
> <property name="ignoreServiceEvents" value="true"/>
> </bean>
>
> For logging event notifier .? can you help tell me how to add the notifier 
> then the listener in spring XML DSL ?
>
> -----Original Message-----
> From: Claus Ibsen [mailto:[email protected]]
> Sent: Sunday, December 18, 2011 1:37 PM
> To: [email protected]
> Subject: Re: Required Example for Sending JMX Notification exchange id etc...
>
> Hi
>
> Check the Camel documentation
> http://camel.apache.org/camel-jmx.html
>
> You can use JmxNotificationEventNotifier to emit events to JMX. And
> then have a listener in JMX to react.
>
>
> On Sun, Dec 18, 2011 at 12:17 PM, Omar Atia <[email protected]> wrote:
>> I'm using Camel 2.8.0 .
>>
>> Does Camel 2.9.0 release support the below ?
>>
>> Thanks,
>> Omar Atia
>>
>> From: Omar Atia
>> Sent: Sunday, December 18, 2011 12:36 PM
>> To: [email protected]
>> Subject: Required Example for Sending JMX Notification exchange id etc...
>>
>> Dears,
>>
>> As I understand there is JMX notification , you need to subscribe to it to 
>> get info ,
>>
>> Let us say that we have a route . this route is started and exception has 
>> occurred in the route while sending messages /exchanges .
>>
>> I need to know how to propagate exception message and many detailed messages 
>> like exchange id to JMX Console and after for sure subscribe to notification 
>> .
>>
>> Is there any example for that ? I looked into JMX example it doesn't help me 
>> to build the above requirements.
>>
>> Thanks,
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: [email protected]
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.blogspot.com/
> Author of Camel in Action: http://www.manning.com/ibsen/



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to