« Return to Thread: Configuring service encapsulation

Re: Configuring service encapsulation

by Mike Carr-6 :: Rate this Message:

Reply to Author | View in Thread

The last endpoint in a chaining router is called a-synchronous, so one solution is to put synchronous=true on the last outbound-endpoint in the chain:

<service name="generic-service">
<inbound>
<vm:inbound-endpoint path="generic-service-in"
synchronous="true"/>
</inbound>
<outbound>
<chaining-router>
<vm:outbound-endpoint path="generic-service-component-1"/>
<vm:outbound-endpoint
path="generic-service-component-2" transformer-refs="ToString" *synchronous="true"*/>
</chaining-router>
</outbound>
</service>

You may also have to add synchronous=true on the inbound endpoints of your generic-service-component-1 and 2.


HTH, otherwise let me know.

Regards,
Mario Klaver

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Configuring service encapsulation