camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lassesvestergaard <lassesvesterga...@gmail.com>
Subject Re: jsf and apache camel
Date Mon, 22 Jul 2013 10:26:40 GMT
Thank you very much James.

I ended up using JSF. I found out how to integrate Camel into a JSF
application. I'm not sure it's the best way, but it seems to work (please
enlighten me if you know a better solution).  What I did is making a new
managed bean (in JSF 2.0), that is application scoped, and through it's
constructor starting a camelcontext. This way I can access the full Camel
application in the web layer, and the camelcontext exists as long as the
webserver is not shut down.

The reason why I want to be able to create anonymous processors on-the-fly,
is that I want users to be able to create custom routes from the web
interface. I think anonymous processors are relevant because data formats
can be more or less arbitrary, and therefore needs to be handled uniquely
per route definition. I will definitely look into the build-in type
converter and bean integration though.

Thanks

Lasse Vestergaard



--
View this message in context: http://camel.465427.n5.nabble.com/jsf-and-apache-camel-tp5735818p5736018.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message