[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    [jira] [Commented] (AMQ-4893) UTF8Buffer should be a valid object for setObjectProperty
From:       "Sam hendley (JIRA)" <jira () apache ! org>
Date:       2013-11-26 17:30:37
Message-ID: JIRA.12679489.1384550136793.31976.1385487037336 () arcas
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/AMQ-4893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832780#comment-13832780 \
] 

Sam hendley commented on AMQ-4893:
----------------------------------

Thanks!

> UTF8Buffer should be a valid object for setObjectProperty
> ---------------------------------------------------------
> 
> Key: AMQ-4893
> URL: https://issues.apache.org/jira/browse/AMQ-4893
> Project: ActiveMQ
> Issue Type: Bug
> Components: JMS client
> Affects Versions: 5.8.0
> Reporter: Sam hendley
> Fix For: 5.10.0
> 
> Attachments: StringHeaderTest.java
> 
> 
> If we try to copy headers between messages using getProperties and \
> setObjectProperty with those values it now fails since the UTF8Buffer is not in the \
> whitelist of convertable types. I think it should be added as a whitelisted type \
> that gets handled like a string on setObjectProperty (and probably \
> setStringProperty). Otherwise this causes the application code to have to special \
> case String properties and couple to the hawtbuffer implementation detail.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic