On 5/9/07, chandra shekher gupta <[EMAIL PROTECTED]> wrote:

well I am trying t make one POC in servicemix. let us say ( servicemix http)


I am making one  POC and it should achieve following thing.

Http Web Browser client will send post/get to a component and that should
read the message and should return  with "acceptance "  to the client. that
is it.

If that's the use case you're trying to address, then you do not need
to create a JBI binding component. You will need to create a consumer
SU based on the servicemix-http component that is wrapped in a SA and
deployed to ServiceMix.

The HTTP consumer SU will need to forward any SOAP requests to some
other service that will handle the request and generate a response. So
the flow would look like this:

web browser -> consumer-http-su -> <some service> -> consumer-http-su
-> web browser

This is described in the FAQ entry, 'What is a JBI SU and how do I
create one?' here:

http://incubator.apache.org/servicemix/what-is-a-jbi-su-and-how-do-i-create-one.html

Notice in the diagram on that page that the servicemix-http consumer
SU passes messages to an Internal Service. This is what will handle
the request and generate a response and the thing that you need to
create and make available in the JBI container so that the
consumer-http-su can send messages to it. There are examples of this
in ServiceMix. The bridge example might be a good place to start:

http://incubator.apache.org/servicemix/creating-a-protocol-bridge.html

Once the consumer-http-su is completed, it will need to be wrapped in
a SA as described here:

http://incubator.apache.org/servicemix/what-is-a-jbi-sa-and-how-do-i-create-one.html

Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Reply via email to