activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam hendley (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMQ-4893) UTF8Buffer should be a valid object for setObjectProperty
Date Fri, 15 Nov 2013 21:29:21 GMT

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

Sam hendley edited comment on AMQ-4893 at 11/15/13 9:27 PM:
------------------------------------------------------------

AMQ-4180 was the feature that added this regression


was (Author: shendley):
This was the feature that added this regression

> 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
>
> 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)

Mime
View raw message