Bugs item #849585, was opened at 2003-11-26 11:26
Message generated for change (Comment added) made by ejort
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=849585&group_id=22866

Category: JBossMQ
Group: v3.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Srivatsan (srivatsanp)
>Assigned to: Adrian Brock (ejort)
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


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

>Comment By: Adrian Brock (ejort)
Date: 2003-11-26 15:21

Message:
Logged In: YES 
user_id=9459

This has been fixed.

The client id of the connection is now updated on every publish

Regards,
Adrian

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

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

Reply via email to