You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by cmoulliard <cm...@gmail.com> on 2008/10/17 14:51:06 UTC

Camel spring-event : How can we subscribe to event published ?

Hi,

I have some problems to understand how the camel spring-event component
works. 

Can someone tell me if my reasoning is correct ?

If we use the following route : 		
<route>
  <from uri="event://default" />
  <to uri="jms:queue" />
</route>

Every time that an event is send to the endpoint event, it will be consumed
and a CamelEvent object will be send to the jms queue. Is it correct to say
that ?

Next question is : How can we subscribe to event which are posted to be
notified that events have been raised ?

KR,

Charles Moulliard

-----
Enterprise Architect

Xpectis
12, route d'Esch
L-1470 Luxembourg

Phone +352 25 10 70 470
Mobile +352 621 45 36 22

e-mail : cmoulliard@xpectis.com
web site :  www.xpectis.com www.xpectis.com 
My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: http://www.nabble.com/Camel-spring-event-%3A-How-can-we-subscribe-to-event-published---tp20032640s22882p20032640.html
Sent from the Camel - Users mailing list archive at Nabble.com.