You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by bmeyer2 <br...@gmail.com> on 2011/09/28 20:31:56 UTC

Host simple website with ServiceMix/Camel

Hello!  I'm struggling to figure out how to add a simple website (HTML & SWF
files) within a ServiceMix bundle and have it exposed via HTTP (something
like http://localhost:8080/mycontext/myapp.swf).

Rather than bundle it as a war and throw it into SMX_HOME/deploy, it'd be
better to have some sort of web container act within the bundle itself.

How would this be accomplished?  pax-web?  Camel's Jetty plugin?

Thanks for any help available!

--
View this message in context: http://servicemix.396122.n5.nabble.com/Host-simple-website-with-ServiceMix-Camel-tp4850282p4850282.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Host simple website with ServiceMix/Camel

Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Sep 28, 2011 at 8:31 PM, bmeyer2 <br...@gmail.com> wrote:
> Hello!  I'm struggling to figure out how to add a simple website (HTML & SWF
> files) within a ServiceMix bundle and have it exposed via HTTP (something
> like http://localhost:8080/mycontext/myapp.swf).
>
> Rather than bundle it as a war and throw it into SMX_HOME/deploy, it'd be
> better to have some sort of web container act within the bundle itself.
>
> How would this be accomplished?  pax-web?  Camel's Jetty plugin?
>

You can use the camel-servlet and have it plugin to OSGi http service

There is some details on the Camel page
http://camel.apache.org/servlet


> Thanks for any help available!
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Host-simple-website-with-ServiceMix-Camel-tp4850282p4850282.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/