I want to implement a variation on the EIP pattern Dynamic Router (DR) (and
sadly don't have time to wait for 
https://issues.apache.org/activemq/browse/CAMEL-8 CAMEL-8  :-().  

The idea is to allow an administrator-type user to add/subtract endpoints
and routes at run-time.  Like DR pattern, the idea is to have a dynamic
rulebase that this adminstrator person manipulates/maintains through some
UI.  I'm envisioning some kind of DR POJO that runs asynchronously in Camel,
awaiting requests from the administrator person to affect the rulebase and
then manipulating the CamelContext to achieve the desired new configuration.

The problem I'm currently stuck on is that I don't really understand the
Camel Architecture well enough to manage the lifecycle of my POJO and pass
it control to do its thing.  I can get it instantiated as a
CamelContextAware implementer via Spring, but that's about as far as I've
gotten.

Cheers
Conrad
-- 
View this message in context: 
http://www.nabble.com/POJO-Lifecycle-within-Camel---%28Stuck-trying-to-make-my-own-Dynamic-Router%29-tp19225730s22882p19225730.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to