IsAdvisory method of ActiveMQDestination incorrectly returns False for Advisory
messages
----------------------------------------------------------------------------------------
Key: AMQ-1037
URL: https://issues.apache.org/activemq/browse/AMQ-1037
Project: ActiveMQ
Issue Type: Bug
Components: NMS (C# client)
Affects Versions: 4.x
Environment: Using latest SVN checkout of DotNetClient
Reporter: Stuart Bain
Priority: Minor
Attachments: ActiveMQDestination.patch
The IsAdvisory method of the ActiveMQDestination class incorrectly returns
False for all advisory messages.
The advisory flag is only set when the ActiveMQDestination(name) constructor is
used - but the ActiveMQTopicMarshaller.CreateObject method uses the
ActiveMQDestination() constructor so the flag is never set.
The attached patch sets the advisory flag when the PhysicalName setter is
called which fixes the problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira