Great news!

On 11 Aug 2005, at 22:18, andrew cooke (noao) wrote:


Thanks for the reply.  In the end I implemented the code and did some
tests and it works just fine. Coming from Mule, I had a whole bunch of assumptions that turned out to be wrong. Writing the code cleared things
up.

Cheers,
Andrew

Rob Davies said:

Hi andrew,

this should be straightforward, as JBI defines a number of exchange
patterns, including InOut - where the response from the service is
given back to the exchange.
Do you want to use a JBI Component, or the ServiceMix client api
(which simplifies things from a developers view point) ?

cheers,

Rob
On 8 Aug 2005, at 23:33, andrew cooke (noao) wrote:



Hi,

I'm looking at ServiceMix for use in a project that mixes
synchronous and
asynchronous processes.  In particular, we need to support a REST
(ie via
HTTP POST/GET) web service that gives synchronous results, even
though the
messaging internally (responsible for connecting to services that
calculate those results) is asynchronous.

Since we may have several users connecting simultaneously this implies
some kind of blocking within the "web service" front-end while the
processing  occurs, then associating the incoming result with the
appropriate blocked connection via some correlative.

It would be nice if ServiceMix automated this, supporting incoming
REST
connections and automating the routing/collation.  Looking at the
documentation I haven't found a description of anything that seems
similar
(the routing examples all seem to be "left to right" rather than
"returning").

Can anyone shed some light on how easy this would be?

Thanks,
Andrew






Reply via email to