You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/01 19:17:32 UTC

[jira] [Resolved] (AMQNET-340) MessagePropertyIntercepter is intercepting too many properties

     [ https://issues.apache.org/jira/browse/AMQNET-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQNET-340.
---------------------------------

    Resolution: Fixed

Fixed in trunk.  
                
> MessagePropertyIntercepter is intercepting too many properties
> --------------------------------------------------------------
>
>                 Key: AMQNET-340
>                 URL: https://issues.apache.org/jira/browse/AMQNET-340
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: NMS
>    Affects Versions: 1.5.0
>         Environment: .NET
>            Reporter: Matthew Good
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> The class MessagePropertyIntercepter claims is is redirecting the setting of "NMS Properties" to class properties instead of adding them to the Properties list.  The problem is that it redirects more than NMS Properties - it redirects any property name that exists on the class.  So properties like "CorrelationId" get redirected.  If I set a property called "Text" on a TextMessage it overwrites the message body.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira