We've alreday do that on spagic.
There's a component that handle the InOut communication with the
binding components and can start a flow with
a sequence of inonly exchange.
This is one of our requirements where application that are clients wants
to have a webservice and call this
with a synchronous call and get response.
We're able to do something like this:
WS ---(InOut) --> Sync --> XSLT --> Groovy Script --> Sync
The sync is responsible to
- mantain the communication with WS
- send back the response when it receive the response from the grrovy
script
This is possible because we use the concept of the correlation id.
Andrea Zoppello
netflexity ha scritto:
I've already done that. Please take a look at the attached file.
If you like it, I will open a JIRA and submit a new pattern for eip-su.
Thank you.
-Max
gnodet wrote:
I think what we're mainly missing is a way to brige an InOut with an
InOnly meps.
That way, your InOut "in" message would be translated to an InOnly,
splitted,
aggregated, and the response would become the "out" of the original InOut.
This pattern is of real need, but noone had found any time to write it ...
I don't think using InOut would work, as it has very special meanings
for Faults,
errors, etc...
On 7/10/07, netflexity <[EMAIL PROTECTED]> wrote:
I have a request message with a list of IDs, which I need to split and
invoke
service for each given ID. I would want a response to contain a list of
all
execution results/faults. The only reason I need everything InOut is to
be
able to return SOAP Response during the same http session, instead of
invoking some callback service.
Thanks.
-Max
gnodet wrote:
Could you please explain how you handle the different messages for an
InOut pattern ? Especially for the splitter / aggregators, I don't
really
understand how you can do that using InOut meps...
On 7/9/07, netflexity <[EMAIL PROTECTED]> wrote:
All my use cases receive SOAP requests and supposed to return SOAP
responses
during the same session. HTTP consumer with In-Out MEP does that very
good.
But the problem is that I am stuck only with content-based router and
static
routing slip, that's is it!!! But I need enricher, which I had to
re-write
to in-out and splitter+aggregator. Please advise why things are
in-only.
--
View this message in context:
http://www.nabble.com/Why-all-useful-EIP-are-In-only--tf4049249s12049.html#a11501569
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Cheers,
Guillaume Nodet
------------------------
Principal Engineer, IONA
Blog: http://gnodet.blogspot.com/
--
View this message in context:
http://www.nabble.com/Why-all-useful-EIP-are-In-only--tf4049249s12049.html#a11529305
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Cheers,
Guillaume Nodet
------------------------
Principal Engineer, IONA
Blog: http://gnodet.blogspot.com/
http://www.nabble.com/file/p11529728/InOutToInEndpoint.java
InOutToInEndpoint.java