You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by horyna <ph...@centrum.cz> on 2013/04/14 10:31:37 UTC

Parallel Route processing

Hi,

pls, how to realize this in Camel: client call a WS that is comsumed by
Camel, this WS should get a response (synch) and next processing should
asynch (no more response). Somethink like:

from("spring-ws:rootqname:{...").unmarshal(jaxb).process("prepare WS
response").marshal(jaxb) <- get response to
caller.after_the_resp_make_next_route_independent.to( ...



--
View this message in context: http://camel.465427.n5.nabble.com/Parallel-Route-processing-tp5730817.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Parallel Route processing

Posted by Christian Mueller <ch...@gmail.com>.
I suggest something like:
from("cxf:bean:myService") // my preferred web service stack. See [1]
  .to("bean:processor") // can be a processor, bean, ... instance. See [2]
  .inOnly("seda:processAsync"); // or activemq, ... See [3], [4]

from("seda:processAsync")
  .to("...");

[1] http://camel.apache.org/cxf.html
[2] http://camel.apache.org/bean.html
[3] http://camel.apache.org/seda.html
[4] http://camel.apache.org/activemq.html

Best,
Christian



--
View this message in context: http://camel.465427.n5.nabble.com/Parallel-Route-processing-tp5730817p5730826.html
Sent from the Camel - Users mailing list archive at Nabble.com.