You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by KiranBhagwat <ks...@gmail.com> on 2009/02/27 10:49:44 UTC

Integartion with Glassfish

Hi 
I need to integrate camel application with glassfish server.

Please help.

Do I need Glassfish ESB for this ?

Thanks in advance.

Kiran
-- 
View this message in context: http://www.nabble.com/Integartion-with-Glassfish-tp22242532p22242532.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Re: Integartion with Glassfish

Posted by Claus Ibsen <cl...@gmail.com>.
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/

Re: Integartion with Glassfish

Posted by "m.s." <da...@arcor.de>.

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.

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.


Re: Integartion with Glassfish

Posted by Claus Ibsen <cl...@gmail.com>.
On Fri, Feb 27, 2009 at 10:49 AM, KiranBhagwat <ks...@gmail.com> wrote:
>
> Hi
> I need to integrate camel application with glassfish server.
>
> Please help.
>
> Do I need Glassfish ESB for this ?
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.

GlassfishESB is only needed if you want to use a JBI container. It
should have some integratation to Camel.


>
> Thanks in advance.
>
> Kiran
> --
> View this message in context: http://www.nabble.com/Integartion-with-Glassfish-tp22242532p22242532.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/