Hi all. I'm learning camel and jsf at the same time. What I want to do is to create a jsf web application where it is possible to create, edit and delete routes. This means that I need to have camel running in the background for ever. I want to put camel inside a war, and when the application is deployed on a tomcat server, Camel will start and I can begin making routes through a browser.
My initial problem is that I don't know how to run camel in the background of a jsf application. Web applications are only request scoped, so how do i configure jsf to keep part of the web application alive constantly? I know this is not directly related to Camel, but it's part of my problem and I decided to start from this forum. Please post any articles you might find relevant on this matter. My next issue is more directly related to camel. I want to be able to create routes with anonymous Processor objects (for simple conversion of data). As far as I understand it, this is only possible through native java, and not using xml. This means that I can't create anonymous Processor objects with ex. Spring. Furthermore I can't use the "Camel web applications without Spring example" (http://www.javacodegeeks.com/2013/01/camel-2-11-camel-web-applications-without-spring.html). Is this correctly understood? If not, please provide a link to where I can learn more. I know about hawt.io, and it seems like you can't create an anonymous Processor objects there either. Best regards -- View this message in context: http://camel.465427.n5.nabble.com/jsf-and-apache-camel-tp5735818.html Sent from the Camel - Users mailing list archive at Nabble.com.
