Feature Requests item #552984, was opened at 2002-05-06 12:45
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376688&aid=552984&group_id=22866

Category: JBossMQ
Group: v3.0 Rabbit Hole
Status: Open
Priority: 5
Submitted By: Sam Goody (sam123us)
Assigned to: Nobody/Anonymous (nobody)
Summary: FR: Persist selctor expr for durable sub

Initial Comment:
In current implementation, messages are delivered to 
a subscriber's store regardless of the selector 
expression. When the durable subscriber connects to 
the topic with the selector expression, the messages 
that match the selector criteria are delivered and 
others are discarded. This is the desired behavior.

But in some scenarios, a durable subscriber may be 
interested in only a subset of many messages 
published. The subscriber is going to use the same 
expression all of the times when connecting to the 
topic. Also, the subscriber may not be active all the 
time and would only want only messages that match the 
selector criteria be retained.

In the above secnario, current implementation will 
queue up many unnecessary messages for a subscriber 
that eventually may be discarded.

It would be best to store the last selector 
expression used by a durable subscription and use it 
to determine if a message should be queued or not. 

I'm not sure if all applications will want this 
behavior so it is best for it to be configurable on a 
per subscription basis. Since there might be no 
standard JMS API to accomplish this, it can be made 
configurable at a more coarser level such as on a 
topic level or connection factory level.

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

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

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to