camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Omar Atia <omar.a...@its.ws>
Subject RE: Required Example for Sending JMX Notification exchange id etc...
Date Sun, 18 Dec 2011 13:09:08 GMT
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:claus.ibsen@gmail.com] 
Sent: Sunday, December 18, 2011 1:37 PM
To: users@camel.apache.org
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 <omar.atia@its.ws> 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: users@camel.apache.org
> 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: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message