[
https://issues.apache.org/jira/browse/ARTEMIS-3598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17458507#comment-17458507
]
Pierre-Henry Brasseur commented on ARTEMIS-3598:
------------------------------------------------
Hello [~gtully] ,
does the following fix good to integrate in a new version of activemq-cpp ?
(see src/main/activemq/util/MarshallingSupport.cpp in attachment)
It is working on my side, but I'm not aware of any possible impact this could
be.
[^MarshallingSupport.cpp]
> Sending text message non-UTF-8 containing special characters from OpenWire
> ---------------------------------------------------------------------------
>
> Key: ARTEMIS-3598
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3598
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: ActiveMQ-Artemis-Native, OpenWire
> Affects Versions: 2.16.0, 2.17.0
> Reporter: Pierre-Henry Brasseur
> Assignee: Gary Tully
> Priority: Major
> Attachments: Artemis - example cpp.png, Artemis - example-1.png,
> Artemis - example.png, Artemis - stack traces from cpp client.png, Artemis -
> stack traces.png, MarshallingSupport.cpp, Re Question about charset supported
> by Artemis.msg, main.c, verifyUtf.patch
>
>
> When a text message non-UTF-8 (ISO-8859-15) containing special characters is
> sent from OpenWire, this raised an exception
> :"java.io.UTFDataFormatException" which is not correctly handle and prevent
> the sending of the text message.
> See email from ActiveMQ Community in attachment for more details.
> [^Re Question about charset supported by Artemis.msg]
>
> This was working with previous ActiveMQ version (v5.15.9).
>
> Identified during following test :
> Text message sent from a C program using the Fuse ActiveMQ-Client C library
> to Artemis v2.16.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)