On 1/18/07, CharlesP <[EMAIL PROTECTED]> wrote:
I have successfully ran through the Hello World JBI Service Engine tutorials,
but I have a few questions about what is really happening here.
1. How exactly is the message "<hello>Ski Colorado!</hello>" being sent to
the Provider component from the MySpringComponentTest class?
The DefaultServiceMixClient sends the message to the NMR in the
MySpringComponentTest.test() method on line #37 with the call to
sendSync().
2. How would I send that message through different communication protocols,
say HTTP or FTP, for example?
You'd need to create another SU project based on the servicemix-http
or servicemix-ftp component and configure the BC as an endpoint for
the SE. That SU would then expose the SE via either HTTP or FTP.
3. Once that message is delivered to the Provider component, what is going
to send it back to the requester?
The Hello World SE is a provider, i.e., it's accepts requests and
provides its service via a response. The MyEndpoint.processInOut()
method is providing a response to the request made by the
MySpringComponentTest.
HTH.
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/