alright!, my question might be misleading, here is the scenario i want to implement,
build osgi bundle (a simple web server) to serve simple static web page embedding (flex/flash) object which consumes web service/restful api from my osgi components. how do i host my static document (html file)?.
Is camel-jetty an answer?
I could build a route builder and open a camel-jetty endpoint and process the response using HttpServletRequest. but i have no idea how to host my simple static resource files such as my flash object and html files.
I found osgi servicemix jetty bundle running in my esb but I have no clue how to configure it and use it.
any help would be appreciated. Thanks.
I don't think using the camel-jetty component to serving the static web page is good idea, as it don't support the static page out of box, you need to do lots of work to implement it yourself.
Fuse ESB is using Pax-Web to provides some web container service, so you may take a look at it
It was easier than I thought it would be. Now I am serving my static pages.
Thanks a lot. you light me up.