You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2006/06/15 06:36:51 UTC
[jira] Updated: (AMQ-307) the synchronous receive(timeout) and
receiveNoWait() should try to RPC the server if there are no pending
messages
[ https://issues.apache.org/activemq/browse/AMQ-307?page=all ]
Hiram Chirino updated AMQ-307:
------------------------------
Fix Version: 4.3
> 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
> Type: Improvement
> Reporter: james strachan
> Fix For: 4.3
>
>
> 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.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira