My comments are marked below with Poonam  **

----- Original Message -----
From: "James Strachan" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, September 20, 2005 8:41 PM
Subject: Re: [servicemix-user] Http GET Request support


> Poonam wrote:
> > I found that the BindingServlet in ServiceMix only supports POST
Request.
> > Does the Http Binding provided by ServiceMix support GET Request?
>
> It does now :) I've just patchced this in CVS HEAD


Poonam  ** Thanks James for the GET Request feature . I appreciate the
instant support provided.
>
>
> > One more question. As ServiceMix is using Jetty does it act like a
> > Servlet container. Can I deploy servlets into the JBI container.
> > If yes, how?
>
> If you want full control over the servlet engine and to deploy WARs etc,
> you probably want to deploy the ServiceMix servlet inside a WAR, which
> is the simplest way of doing it.
>
> Just deploy the org.servicemix.components.http.SpringBindingServlet in
> your WAR and it should work now - I've made a few patches in CVS just now.
>
> The process of using the SpringBindingServlet is documented here
> http://servicemix.org/HTTP?refresh=1
>
> Basically the servlet uses Spring to find ServiceMix and the HttpBinding
> implementation it is meant to use.
>
> There's a demo of this in action in the ServiceMix web application
> (servicemix/tooling/servicemix-web) see the above page for details of
> how to use it.
>

Poonam  ** I got the SpringBindingServlet ,what I found is that the Servlet
uses the HttpBinding which converts the Httprequest into a NMS and then
sends it out on the deliveryChannel. It also sends back the Httpresponse.
but I am sorry that the actual purpose is still not clear.
One basic question is that can any Servlet(not ServiceMix Servlet) ,
XYZServlet be hosted inside ServiceMix ( this may be inside a WAR ).
Secondly if this is possible can my JBI components talk to these Servlets?

One of my tests did not work yesterday. What I was trying to do is I tried
using the HttpInvoker to send a HttpRequest to my XYZServlet residing inside
Tomcat Server. I may be wrong somewhere. but, is this possible?

> --
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
Thanks,
 Poonam.



Reply via email to