Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix or Usage Issue
-
Affects Version/s: 1.2
-
Fix Version/s: None
-
Component/s: Modules: MuleClient
-
Labels:
-
Environment:
JBoss 3.2.1
Mule 1.2
-
User impact:Medium
-
Similar Issues:None
Description
The timeout parameter for the send method (MuleClient) is ignored. It always waits for the response in 10 seconds whatever i put in the timeout. The endpoint is a JMS endpoint (from mule extras)
result = client.send(endPoint, serializable, null, 600000);
Issue Links
- relates to
-
MULE-447
TCP Timeout Config Problem
-
On line 227 of MuleSession.java, the timeout is read like this int timeout = event.getIntProperty(MuleProperties.MULE_EVENT_TIMEOUT_PROPERTY, -1);
so, line 639 of MuleClient.java shoud be event.setIntProperty(MuleProperties.MULE_EVENT_TIMEOUT_PROPERTY,timeout);
instead of event.setTimeout(timeout);
Attached is the .patch to solve it if you think its correct.
There are other places where the time out gets set event.setTimeout(timeout), should evaluate how it gets read in other places? or shoud change it to?
Hope it helps
Cheers
Julian