AnsweredAssumed Answered

Camel InOut ExchangePattern with Activiti

Question asked by mitchworld on May 27, 2015
Latest reply on May 28, 2015 by mitchworld
Hi there,

I need help with the following setup:

Camel manages a CXF SOAP/HTTP web service endpoint for incoming requests (orders).
When a order-request comes in, Camel activates the corresponding route.
Once the corresponding camel route is called, I want Camel to delegate the request processing to an activiti process.

So far, so good. The problem is that I want to create a synchronous SOAP response from the result of the activiti process.

Is there a way to have an Activiti process produce a result that is fed back to the Camel-setup that initially triggered the Activiti-process? In other words: Does the activiti-component support the Camel InOut exchange-pattern? And how?

I'm using something like:

<camelContext>
  <route>
    <from uri="cxf:bean:mySoapEndpoint" />
    <to uri="activiti:myprocess" />
  </route>
</camelContext>

Any ideas?

Outcomes