[jboss-jira] [JBoss JIRA] Reopened: (JBMESSAGING-1850) Message Consumer receive(timeout) may wait there even after timeout has expired

Yong Hao Gao (JIRA) jira-events at lists.jboss.org
Thu Apr 7 02:23:33 EDT 2011


     [ https://issues.jboss.org/browse/JBMESSAGING-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yong Hao Gao reopened JBMESSAGING-1850:
---------------------------------------



To do: 

1. add pool shutdown at close
2. throw an exception instead of return null in case of timeout.


> Message Consumer receive(timeout) may wait there even after timeout has expired
> -------------------------------------------------------------------------------
>
>                 Key: JBMESSAGING-1850
>                 URL: https://issues.jboss.org/browse/JBMESSAGING-1850
>             Project: JBoss Messaging
>          Issue Type: Bug
>          Components: JMS Client Manager
>    Affects Versions: 1.4.0.SP3.CP11, 1.4.7.GA
>            Reporter: Yong Hao Gao
>            Assignee: Yong Hao Gao
>             Fix For: 1.4.0.SP3.CP12, 1.4.8.GA
>
>
> If a client uses receive messages using receive(timeout) where timeout > 0 and the ack mode is auto_ack, when a message arrived at the client and the acknowledge takes a long time (either network problem or the server is busy like retrying a db connection), the receive(timeout) may not return after timeout has expired. That doesn't conform to the JMS API spec.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list