JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-645

MuleClient.send doesn´t respect the specified timeout

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix or Usage Issue
  • Affects Version/s: 1.2
  • Fix Version/s: None
  • Component/s: Modules: MuleClient
  • Labels:
    • inactivity
  • 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);

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    MuleClient.java.patch
    06/Mar/06 06:55 PM
    0.8 kB
    Julian de Anquin

Issue Links

relates to

Bug - A problem which impairs or prevents the functions of the product. MULE-447 TCP Timeout Config Problem

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Julian de Anquin added a comment - 06/Mar/06 06:55 PM

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

Show
Julian de Anquin added a comment - 06/Mar/06 06:55 PM 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
Hide
Permalink
Holger Hoffstaette added a comment - 10/Aug/06 09:53 AM

This is not as easy as it looks; see http://www.nabble.com/Q-about-event.setTimeout---its-relation-to-setting-the-timeout-on-the-message-tf2080473.html for more information.

Show
Holger Hoffstaette added a comment - 10/Aug/06 09:53 AM This is not as easy as it looks; see http://www.nabble.com/Q-about-event.setTimeout---its-relation-to-setting-the-timeout-on-the-message-tf2080473.html for more information.
Hide
Permalink
Ross Mason added a comment - 30/Nov/08 06:16 AM

giving this visibility since I don't see a test for it

Show
Ross Mason added a comment - 30/Nov/08 06:16 AM giving this visibility since I don't see a test for it
Hide
Permalink
Ramiro Rinaudo added a comment - 12/Mar/12 10:28 PM

Closed due inactivity. Please reopen if this is still an issue for you on 3.2.1

Show
Ramiro Rinaudo added a comment - 12/Mar/12 10:28 PM Closed due inactivity. Please reopen if this is still an issue for you on 3.2.1

People

  • Assignee:
    Unassigned
    Reporter:
    Fernando Rodrigues
Vote (1)
Watch (1)

Dates

  • Created:
    21/Nov/05 04:49 PM
    Updated:
    12/Mar/12 10:28 PM
    Resolved:
    12/Mar/12 10:28 PM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.