I have written some code to add event handling to camel. The file I've attached to this post contains the code and a little bit of test code to explain what I'm trying to do here.
If someone who is familiar with camel internals would take this code for a spin and see if the idea will work with the rest of camel architecture, maybe they can more properly implement some of the functionality I've added in my code. I'm not familiar enough with the entire camel system to know if this will work. Basically this code enables camel components and processors to send and receive events through the camel container. I've also attempted to add the function of starting and stopping routes with events, but it doesn't quite work right, and I'm not sure why. I can start routes with events, but stopping a route doesn't prevent processing which then causes camel to throw exceptions and stop working. There's a more descriptive explanation in the readme included in the zip. Hope this is useful. If not, feel free to toss it out. http://www.nabble.com/file/p21939706/CamelEventCode.zip CamelEventCode.zip -- View this message in context: http://www.nabble.com/Camel-Event-Code---requesting-comments-tp21939706s22882p21939706.html Sent from the Camel - Development mailing list archive at Nabble.com.