activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonas Lim (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-1037) IsAdvisory method of ActiveMQDestination incorrectly returns False for Advisory messages
Date Tue, 21 Nov 2006 08:53:02 GMT
     [ https://issues.apache.org/activemq/browse/AMQ-1037?page=all ]

Jonas Lim resolved AMQ-1037.
----------------------------

    Fix Version/s: 4.1.2
       Resolution: Fixed

Thanks! 

patch applied at  https://svn.apache.org/repos/asf/incubator/activemq/activemq-dotnet/trunk/
  :

trunk : r477581      

> 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
>             Fix For: 4.1.2
>
>         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

        

Mime
View raw message