activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Attila Nagy (JIRA)" <>
Subject [jira] [Created] (AMQ-4847) "Durable subscriptions" with selectors doesn't work with virtual topics
Date Tue, 05 Nov 2013 14:45:17 GMT
Attila Nagy created AMQ-4847:

             Summary: "Durable subscriptions" with selectors doesn't work with virtual topics
                 Key: AMQ-4847
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.9.0
         Environment: FreeBSD 9/amd64
openjdk version "1.7.0_25"
OpenJDK Runtime Environment (build 1.7.0_25-b15)
OpenJDK 64-Bit Server VM (build 23.21-b01, mixed mode)
AMQ 5.9.0
            Reporter: Attila Nagy

I can create durable subscriptions with selectors on a regular topic, so only messages matching
the selector will be actually stored when the consumer is offline.
I couldn't achieve the same with virtual topics, where all of the messages will be delivered
into the consumer queue, and if I use a selector there, there will be a lot of unconsumed

These are the two programs I've used for testing:

Here, the sender will send 20000 messages, the receiver receives 2/3 (13333) messages according
to its selector, but the consumer queue will have all the 20k messages initially.

This message was sent by Atlassian JIRA

View raw message