Hi all,

Im sending TextMessages from C++ client to a Java Application. Everything
goes fine, except when I add spanish chars like 'ñ'.  If I use c++ to send
and receive messages with 'ñ' all goes fine. If I send ñ char to a queue
and I try to display on the activemq webadmin console, when I click on the
specific message, I can see this exception:

javax.el.ELException: javax.jms.JMSException: java.io.UTFDataFormatException
        at javax.el.BeanELResolver.getValue(BeanELResolver.java:266)
        at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
        at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
        at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
        at 
org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:984)
        at 
org.apache.jsp.message_jsp._jspx_meth_c_out_7(org.apache.jsp.message_jsp:717)
        at 
org.apache.jsp.message_jsp._jspx_meth_c_otherwise_0(org.apache.jsp.message_jsp:402)
        at 
org.apache.jsp.message_jsp._jspx_meth_c_choose_0(org.apache.jsp.message_jsp:160)
        at 
org.apache.jsp.message_jsp._jspService(org.apache.jsp.message_jsp:102)


If any java client receive this character the same exception is
thrown. What could be the reason? Im using std::string in C++ Client,
but as I know, I could use it to send utf-8 text messages.

Im using activemq-cpp-3.4.0 and activemq-5.4.0



regards


-- 
Óscar Pernas Plaza.

Reply via email to