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

Pierre-Henry Brasseur commented on ARTEMIS-3598:
------------------------------------------------

I did test with same main.cpp from Activemq-cpp-library-3.9.5, with the 
following code updated:
{code:java}
            for (int ix = 0; ix < numMessages; ++ix) {
                if (ix == 4) {
                    text = (string) "Test Message  \u00DF";
                } else if (ix == 5) {
                    text = (string) "Test Message  \337";
                }
                std::auto_ptr<TextMessage> 
message(session->createTextMessage(text));
                message->setIntProperty("Integer", ix);
                printf("Sent message #%d from thread %s : %s\n", ix + 1, 
threadIdStr.c_str(), text.c_str());
                producer->send(message.get());
            }
 {code}
and my test is still KO wit hsame stack trace on server side.

See attachments. !Artemis - example cpp.png!

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

Reply via email to