activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sodan <so...@sodan.dk>
Subject Re: UTF8 'Encoding not supported' error ( ActiveMQ CPP )
Date Sun, 05 Oct 2008 20:09:10 GMT

onMessage(const Message *message)
{
	try
	{
		const MapMessage *mapMessage = dynamic_cast<const MapMessage *>(message);
		if (mapMessage != NULL)
		{
			long long sid = mapMessage->getLong("serialid");



actually gives an exception already here ! (reading the long)  ???

please advice...

--




Sodan wrote:
> 
> Hi there
> 
> I am using the c++ client, and the mesage I am getting back have different
> members,
> long, bytes etc.
> The other end is trying to send me a message which contains a greek Zigma
> sign, and he has encoded with UFT8 and done setbytes...
> But when I do a read, not even on the bytes, but on the long I get:
> OpenwireStringSupport::readString - Encoding not supported
>         FILE:
> ..\src\main\activemq\connector\openwire\utils\OpenwireStringSupport.cpp,
> LINE: 73
> 
> huh?
> 
> We want to be able to send back and forth UTF8 strings, and thought that
> using bytes was the only way.
> Any other good ideas ?
> 
> 

-- 
View this message in context: http://www.nabble.com/UTF8-%27Encoding-not-supported%27-error-%28-ActiveMQ-CPP-%29-tp19827735p19828648.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message