activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james strachan (JIRA)" <>
Subject [jira] Commented: (AMQ-1196) allow consumers to pull messages by ID or by correlationID
Date Fri, 09 Mar 2007 09:21:21 GMT


james strachan commented on AMQ-1196:

BTW just to be 100% absolutely clear. This feature will not in any way impact the normal broker
operation. If users don't use this feature it will in no way affect the broker.

The only way to even start to use this feature is to set prefetch to zero and call receive()

Right now if you have a prefetch of zero and call a receive*() method on a consumer, a message
is pulled using MessagePull. This feature purely extends the pull operation to be able to
apply an additional optional selector on messageId or correlationId (something which you can
do today already using the JMS API via a selector). The only difference is this new 'selector'
(matching messageId or correlationId) is transient for the duration of the single receive*()
method call (i.e. it travels in the MessagePull command and is then discarded) 

> allow consumers to pull messages by ID or by correlationID
> ----------------------------------------------------------
>                 Key: AMQ-1196
>                 URL:
>             Project: ActiveMQ
>          Issue Type: New Feature
>            Reporter: james strachan
>             Fix For: 4.3.0
> and add methods on consumer like
> receiveById(String id);
> receiveByCorrelationID(id)
> with nowait/timeout versions

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message