]
Tim Fox updated JBMESSAGING-480:
--------------------------------
Fix Version/s: 1.2.1
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: 1.2.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: