« Return to Thread: Configuring service encapsulation

Re: Configuring service encapsulation

by n4d4br0v1tchk4 :: Rate this Message:

Reply to Author | View in Thread

You were absolutely right Mario! Thanks for the tip, it works!
For the multicast case, only with one endpoint, also seems to be working! :)

João

Mario Klaver wrote:
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