[
https://issues.apache.org/jira/browse/ARTEMIS-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15949786#comment-15949786
]
ASF GitHub Bot commented on ARTEMIS-1086:
-----------------------------------------
GitHub user tabish121 opened a pull request:
https://github.com/apache/activemq-artemis/pull/1162
ARTEMIS-1086 Proper conversion of SimpleString to String
When adding boolean value keyed by SimpleString the key needs to be
converted to a String type to be valid AMQP.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tabish121/activemq-artemis ARTEMIS-1086
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1162.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1162
----
commit 795f48f989b5cb515cbdc34111772f66e5850ebb
Author: Timothy Bish <[email protected]>
Date: 2017-03-30T20:43:24Z
ARTEMIS-1086 Proper conversion of SimpleString to String
When adding boolean value keyed by SimpleString the key needs to be
converted to a String type to be valid AMQP.
----
> Incorrect addition of SimpleString object to ApplicationProperties
> ------------------------------------------------------------------
>
> Key: ARTEMIS-1086
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1086
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: AMQP
> Affects Versions: 2.0.0
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Fix For: 2.next
>
>
> When handling the putBooleanProperty(SimpleString, boolean) the AMQPMessage
> does not translate the SimpleString to a String instance via toString
> resulting in an invalid type added to the application properties.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)