You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Matthew Good (JIRA)" <ji...@apache.org> on 2011/08/23 20:18:29 UTC
[jira] [Created] (AMQNET-340) MessagePropertyIntercepter is
intercepting too many properties
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: Jim Gomes
Priority: Minor
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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (AMQNET-340) MessagePropertyIntercepter is
intercepting too many properties
Posted by "Timothy Bish (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQNET-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish reassigned AMQNET-340:
-----------------------------------
Assignee: Timothy Bish (was: Jim Gomes)
> 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
>
> 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
[jira] [Resolved] (AMQNET-340) MessagePropertyIntercepter is
intercepting too many properties
Posted by "Timothy Bish (Resolved) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (AMQNET-340) MessagePropertyIntercepter is
intercepting too many properties
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQNET-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089645#comment-13089645 ]
Timothy Bish commented on AMQNET-340:
-------------------------------------
Best way to help is to create an NUnit test case that demonstrates the issue so it can be added to the set of tests.
> 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: Jim Gomes
> Priority: Minor
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AMQNET-340) MessagePropertyIntercepter is
intercepting too many properties
Posted by "Timothy Bish (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQNET-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish updated AMQNET-340:
--------------------------------
Fix Version/s: 1.6.0
> 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