Bugs item #436020, was opened at 2001-06-25 01:23
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=436020&group_id=22866

Category: JBossMQ
Group: v2.2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Aleksey Studnev (studnev)
Assigned to: Nobody/Anonymous (nobody)
Summary: Durable subscription not receiving

Initial Comment:
OS: Win NT
JDK: 1.3

To reproduce this bug, create 2 durable subscriptions
on the same topic but different selectors, for example:

<UserManager>
 <User>
        <Name/>
        <Password/>
        <Id>Listener_ID_1</Id>
        <DurableSubscription>
                <Name>news:null</Name>
                <TopicName>news</TopicName>
        </DurableSubscription>
        <DurableSubscription>
                <Name>news:ns.Forward='1'</Name>
                <TopicName>news</TopicName>
        </DurableSubscription>
 </User>
</UserManager>


Create durable subscribers and register listeners on 
both of these subscriptions, for example:

 ts = session.createDurableSubscriber
(topic,"news:null";, null, true);
 ts.setMessageListener(new MListener());

 ts = session.createDurableSubscriber
(topic,"news:ns.Forward='1'", null, true);
 ts.setMessageListener(new MListener());

Now send message which fits _both_ subscription, for 
example with ns.Forward='1'. It will be received ONLY
by one subscription. By specification it must be 
received by both.
Bug happens _only_ when using durable subscriptions. 
If replace createDurableSubscriber with call to
createSubscriber then everything works OK.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=436020&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to