[jboss-jira] [JBoss JIRA] Updated: (JBMESSAGING-480) Change contract of Receiver

Tim Fox (JIRA) jira-events at lists.jboss.org
Mon Apr 30 07:09:34 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBMESSAGING-480?page=all ]

Tim Fox updated JBMESSAGING-480:
--------------------------------

    Fix Version/s: 2.0.0 Beta 1
                       (was: Unscheduled)

> Change contract of Receiver
> ---------------------------
>
>                 Key: JBMESSAGING-480
>                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-480
>             Project: JBoss Messaging
>          Issue Type: Sub-task
>            Reporter: Tim Fox
>             Fix For: 2.0.0 Beta 1
>
>
> The current partial solution to the super task assumes that a Delivery is returned with "selectorAccepted=false" when a receiver does not want to accept a message.
> This is ambiguous and is not part of the Receiver's public contract. Since a Receiver could also return null if the selector didn't match,
> We need to clarify the behaviour and change the contract of a Receiver to make all these cases explicit.
> I would recommend changing the return value of handle so that we can distinguish between the message not being accepted due to the receiver being closed, full or not matching a selector

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list