On Wed, Mar 11, 2009 at 12:32 AM, m.s. <da_...@arcor.de> wrote: > > > Claus Ibsen-2 wrote: >> >> No Camel is an basically an API so its just a bunch of .jar files. So >> it can be embedded how you like it. >> >> So you can run Camel with Glassfish as: >> - as a bunch of .jars in WEB-INF/lib for the web deployment model >> - as OSGi >> - combined with Spring and let Spring handle the lifecycle of Camel. >> >> You can also run Camel totally standalone as a java main app. >> > > Are there any examples on the integration approaches mentioned? I found many > examples that use Spring, but I would like to start and access Camel from a > web application running in Glassfish without learning yet another framework. > > I try to figure out how an easy way on how to start the CamelContext on > server startup and having access to it to add routes from a webservice > running in the servlet container. You can see some of the tutorials and examples such as: http://camel.apache.org/tutorial-axis-camel.html http://camel.apache.org/tutorial-on-using-camel-in-a-web-application.html
http://camel.apache.org/tutorials.html > > Thanks for any help, > M.S. > -- > View this message in context: > http://www.nabble.com/Re%3A-Integartion-with-Glassfish-tp22243954p22445894.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/