You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org> on 2009/03/25 12:00:52 UTC
[jira] Created: (QPID-1774) onMessage doesn't properly return
messages which throw an exception in the handler
onMessage doesn't properly return messages which throw an exception in the handler
----------------------------------------------------------------------------------
Key: QPID-1774
URL: https://issues.apache.org/jira/browse/QPID-1774
Project: Qpid
Issue Type: Bug
Components: Java Client
Affects Versions: M4, M3, 0.5, 0.6
Reporter: Aidan Skinner
According to the JMS spec, if a MessageListener throws an exception during onMessage the Session should attempt to redeliver the message a number (including 0) of times then reject it to the broker (see 4.5.2). Qpid doesn't attempt to redeliver the message.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Commented: (QPID-1774) onMessage doesn't properly return
messages which throw an exception in the handler
Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-1774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689081#action_12689081 ]
Martin Ritchie commented on QPID-1774:
--------------------------------------
Should be fairly straight forward. Just attempt to call onMessage with message n times then reject message to broker and continue.
> onMessage doesn't properly return messages which throw an exception in the handler
> ----------------------------------------------------------------------------------
>
> Key: QPID-1774
> URL: https://issues.apache.org/jira/browse/QPID-1774
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: M3, M4, 0.5, 0.6
> Reporter: Aidan Skinner
>
> According to the JMS spec, if a MessageListener throws an exception during onMessage the Session should attempt to redeliver the message a number (including 0) of times then reject it to the broker (see 4.5.2). Qpid doesn't attempt to redeliver the message.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org