2008/5/8 Gert Vanthienen <[EMAIL PROTECTED]>: > Charles, > > The only example I could find is in the unit tests. Have a look at > http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/event/EventRouteTest.java > > To me, this event:// endpoint app receives events from the CamelContext > itself (e.g. the ContextRefreshEvent received first in the test) as well as > events on messages being exchange (e.g. the CamelEvent received afterwards). > This is just what I can learn from the unit test, but I'm sure someone will > correct me if I'm completely missing the point here...
Yeah thats correct. Basically the event:// component allows you to consume Spring events. For general purpose eventing its probably easier to use either direct: seda: or vm: endpoints -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com
