You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by moller <jo...@moller.st> on 2010/01/13 14:22:05 UTC

Re: more samples please!


moller wrote:
> 
> I'm looking for a sample that uses spring+camel+webcontainer (tomcat). The
> idea is to consume the incoming http request and route it to a file. Does
> anyone have a fully working sample that can be build and runs on tomcat
> 
> See the nice picture on:
> http://activemq.apache.org/camel/architecture.html The incoming http
> request to a file is what I like to do.
> 
> 
> 

Is it possible in Camel 2.0 to consume incoming http requests in another
containers then jetty? I use Weblogic and Tomcat.
-- 
View this message in context: http://old.nabble.com/more-samples-please%21-tp15202297p27144806.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.


Re: more samples please!

Posted by James Carr <ja...@gmail.com>.
Thanks... this solved a small problem I was having. :)

On Wed, Jan 13, 2010 at 7:54 AM, Willem Jiang <wi...@gmail.com> wrote:
> You can also try out camel-servlet component[1].
> Please make sure the CamelHttpTransportServlet is loaded before the
> camelcontext is started.
>
> [1] http://camel.apache.org/servlet.html
>
> Willem
>
>
> moller wrote:
>>
>> moller wrote:
>>>
>>> I'm looking for a sample that uses spring+camel+webcontainer (tomcat).
>>> The
>>> idea is to consume the incoming http request and route it to a file. Does
>>> anyone have a fully working sample that can be build and runs on tomcat
>>>
>>> See the nice picture on:
>>> http://activemq.apache.org/camel/architecture.html The incoming http
>>> request to a file is what I like to do.
>>>
>>>
>>>
>>
>> Is it possible in Camel 2.0 to consume incoming http requests in another
>> containers then jetty? I use Weblogic and Tomcat.
>
>

Re: more samples please!

Posted by Willem Jiang <wi...@gmail.com>.
You can also try out camel-servlet component[1].
Please make sure the CamelHttpTransportServlet is loaded before the 
camelcontext is started.

[1] http://camel.apache.org/servlet.html

Willem


moller wrote:
> 
> moller wrote:
>> I'm looking for a sample that uses spring+camel+webcontainer (tomcat). The
>> idea is to consume the incoming http request and route it to a file. Does
>> anyone have a fully working sample that can be build and runs on tomcat
>>
>> See the nice picture on:
>> http://activemq.apache.org/camel/architecture.html The incoming http
>> request to a file is what I like to do.
>>
>>
>>
> 
> Is it possible in Camel 2.0 to consume incoming http requests in another
> containers then jetty? I use Weblogic and Tomcat.


Re: more samples please!

Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Jan 13, 2010 at 2:22 PM, moller <jo...@moller.st> wrote:
>
>
> moller wrote:
>>
>> I'm looking for a sample that uses spring+camel+webcontainer (tomcat). The
>> idea is to consume the incoming http request and route it to a file. Does
>> anyone have a fully working sample that can be build and runs on tomcat
>>
>> See the nice picture on:
>> http://activemq.apache.org/camel/architecture.html The incoming http
>> request to a file is what I like to do.
>>
>>
>>
>
> Is it possible in Camel 2.0 to consume incoming http requests in another
> containers then jetty? I use Weblogic and Tomcat.

Yes you can just send the message to Camel from a Servlet or the likes.

For example see this tutorial which uses Axis 1.4 as the "container"
http://camel.apache.org/tutorial-axis-camel.html

But the same principle applies.

And you can find some links to eg. Wicket or other web frameworks
people have integrated with Camel
http://camel.apache.org/articles.html

> --
> View this message in context: http://old.nabble.com/more-samples-please%21-tp15202297p27144806.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus