« Return to Thread: remoteSyncTimeout in multicasting-router

remoteSyncTimeout in multicasting-router

by Rajarshi :: Rate this Message:

Reply to Author | View in Thread

Hi,

In my test application i have configured a multicasting-router for which the remoteSyncTimeout="2000" has been configured for each of the vm outbound endpoints. What I am trying to achieve is if any of the Service is not able to return the response within tht period, we should be able to timeout the request. But with this configuration it is not working. In the booking service code, I have written an infinite loop and the response will be never returned from the service. Can someone please help me with this?

<service name="reservationService_1.0">
<inbound>  
        <vm:inbound-endpoint path="travel.reservation" synchronous="true"/>  
</inbound>
<component>
        <spring-object bean="brokerToProviderInterceptorBean" />
</component>
<outbound>  
<multicasting-router>
        <vm:outbound-endpoint path="availibilityService_1.0" remoteSync="false" remoteSyncTimeout="2000"/>
        <vm:outbound-endpoint path="bookingService_1.0"  remoteSync="false" remoteSyncTimeout="2000"/>  
        <jms:outbound-endpoint queue="two.queue" transformer-refs="SOAPToJMS"/>
</multicasting-router>
</outbound>
</service>

 « Return to Thread: remoteSyncTimeout in multicasting-router