Re: ACTIVEMQ-CPP ReadBytes of streammessage

2010-10-25 Thread Timothy Bish
On Mon, 2010-10-25 at 01:50 +0200, Oscar Pernas wrote: > Hi all, > > Im using streamMessage to send data. I dont know why, but if I send > something by this way: > > streamMessage->writeString(key); > streamMessage->writeBytes(bytesParameter->getValue()); > > When i catch the message on recepti

ACTIVEMQ-CPP ReadBytes of streammessage

2010-10-24 Thread Oscar Pernas
Hi all, Im using streamMessage to send data. I dont know why, but if I send something by this way: streamMessage->writeString(key); streamMessage->writeBytes(bytesParameter->getValue()); When i catch the message on reception I need to do two readBytes to catch the bytes sent, like this: std::s