remoteSyncTimeout in multicasting-router

View: New views
2 Messages — Rating Filter:   Alert me  

remoteSyncTimeout in multicasting-router

by Rajarshi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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>

RE: re[mule-user] moteSyncTimeout in multicasting-router

by antoine.borg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Which is the bookingService? I can only see the reservarionService_1.0

A


Antoine Borg, Senior Consultant | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM
email: antoine.borg@... | blog: blog.ricston.com | web: ricston.com

-----Original Message-----
From: Rajarshi [mailto:rajarshi_basak@...]
Sent: Friday, October 10, 2008 5:38 PM
To: user@...
Subject: [mule-user] re[mule-user] moteSyncTimeout in multicasting-router


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>
--
View this message in context:
http://www.nabble.com/remoteSyncTimeout-in-multicasting-router-tp19920715p19
920715.html
Sent from the Mule - User mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email



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

    http://xircles.codehaus.org/manage_email