[ 
https://issues.apache.org/jira/browse/QPID-6452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14362399#comment-14362399
 ] 

Rob Godfrey commented on QPID-6452:
-----------------------------------

Also we can optimize the case where the filter wishes to see new messages (e.g. 
offset period = 0) by having the consumer join at the tail of the queue.  This 
means that the consumer will not have to iterate over the entire queue when it 
is constructed.

> [Java Broker] Allow time sensitive filters to be used in queue default filters
> ------------------------------------------------------------------------------
>
>                 Key: QPID-6452
>                 URL: https://issues.apache.org/jira/browse/QPID-6452
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Rob Godfrey
>            Assignee: Rob Godfrey
>
> The default filters functionality introduced by QPID-6395 creates the filters 
> at the time of queue creation.
> Where the filters use the time of creation as part of the selection criteria 
> (i.e. the arrival time filter factory which uses an offset from the current 
> time), this does not give the desired result.
> The filters in the filter map for a given consumer should be created at the 
> time the consumer is added to the queue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to