Bugs item #849585, was opened at 2003-11-26 16:56 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=849585&group_id=22866
Category: JBossMQ Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Srivatsan (srivatsanp) Assigned to: Nobody/Anonymous (nobody) Summary: NoLocal subscriber receives Message Initial Comment: When a Subscriber is created with a NoLocal value of 'true', it receives the Messages published by a Publisher created using the same session as that of the Subscriber. Sequence: 1) create a TopicConnection 1) create a TopicSession 2) create a Publisher 3) create a Subscriber with noLocal 'true' 4) The Publisher receives message from some other Publisher (which uses some other TopicConnection, Session) and publishes it. The issue does not appear if a Publisher creates a Message and publish it. The issue occurs if a Publisher does not create a Message, but publishes a Message coming to it from some other Publisher. Please note that, in the Javadocs for TopicSession, the following is specified. "In some cases, a connection may both publish and subscribe to a topic. The subscriber NoLocal attribute allows a subscriber to inhibit the delivery of messages published by its own connection. The default value for this attribute is false." The Javadocs does not specify whether the Message should be created by the Publisher or not. Not sure whether this is a bug or feature to be supported. JBoss version I am using is 3.2.1 The attachment contains the sources and sar used for testing. Thanks, Srivatsan. P ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=849585&group_id=22866 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
