Hi,

An exception is thrown by the java receiving side:

Caused by: java.io.UTFDataFormatException
        at 
org.apache.activemq.util.MarshallingSupport.readUTF8(MarshallingSupport.java:366)
        at 
org.apache.activemq.command.ActiveMQTextMessage.getText(ActiveMQTextMessage.java:86)
        ... 17 more

The producer of this message is using ActiveMQcpp and the string passed to 
createTextMessage() is a string using the ISO-8859-1 charset and it is not 
encoded in UTF-8. That string can contain characters with a value higher than 
127 and may result into an invalid UTF-8 string.

I have checked the activemqcpp HTML doxygen doc for this function to seek an 
answer but the function description is omitting to specify the requirements on 
the function input parameter string requirements. Is the function expect the 
string to be UTF-8?

Thank you,
Olivier Langlois
Senior C++ Programmer

STREAMTHEWORLD

t. 1 866 448 4037 ext. 675
t. 1 514 448 4037 ext. 675
f. 1 514 807 1861

[email protected]
streamtheworld.com
 
StreamTheWorld launches its new BlackBerry application. Learn more

Reply via email to