[
https://issues.apache.org/activemq/browse/AMQ-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Davies reassigned AMQ-307:
------------------------------
Assignee: Rob Davies
> the synchronous receive(timeout) and receiveNoWait() should try to RPC the
> server if there are no pending messages
> ------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-307
> URL: https://issues.apache.org/activemq/browse/AMQ-307
> Project: ActiveMQ
> Issue Type: Improvement
> Reporter: James Strachan
> Assignee: Rob Davies
> Fix For: 5.2.0
>
>
> if a flag is enabled that is!
> This would allow folks to know if a message really is available. So we send a
> KeepAlivePacket with a receipt = true on it; then by the time it comes back ,
> we will have received a message if one is available, otherwise we just return
> null.
> e.g.
> create receiver().
> consumer.receiveNoWait() - if no messsge available, RPC server - by the time
> the response is back, we'll have received a message if one is available
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.