I have been toying with this idea for a while. And years ago I think we had a JIRA ticket similar to this.
As Camel can run without Spring we ought to have a simple way of starting/stopping a CamelContext in a web-app without using Spring.
For example using a servlet listener. And then have servlet-init parameters to configure the camel context, and refer to route builders and whatnot.
Yes in the future CDI and other frameworks will also help with this. But that takes time to mature and for ppl to get familar to use. And web containers to support etc.
Servlets is supported by any container and also old school containers.
|Field||Original Value||New Value|
|Assignee||Claus Ibsen [ davsclaus ]|
|Fix Version/s||2.11.0 [ 12321695 ]|
|Fix Version/s||Future [ 12315692 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|13d 23h 28m||1||Claus Ibsen||04/Jan/13 13:14|