You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by kkreja <Kr...@compuware.com> on 2010/04/21 17:02:12 UTC
activemq-cpp problem connecting with openwire 5.4.0
Hi,
I'm trying to write an C++ activemq client to work with the latest activemq
java implementation (5.4.0). We use 5 .4.0 because 5.3.0 had some problems
sending large (over 64kbytes) HTTP messages.
Everything is fine till I call the getText() method on the TextMessage and
get an exception (something like "reached EOF"). I investigated the issue
and I looks like there is some change in the openwire protocol? Am I right?
I see that the value of utfLength variable in
OpenwireStringSupport::readString method is very large: 2023503245 which
seems very strange because the same test message sent from 5.3.0 has
utfLength around 170. However the 2023503245 can be found in the tcpdump
that I catched.
Is there real a change of the openwire protocol between 5.3.0 and 5.4.0?
If there's a change do you plan to release an 5.4.0 compatible activemq-cpp
library?
Thanks
kk
--
View this message in context: http://old.nabble.com/activemq-cpp-problem-connecting-with-openwire-5.4.0-tp28288041p28288041.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: activemq-cpp problem connecting with openwire 5.4.0
Posted by Timothy Bish <ta...@gmail.com>.
Great, glad to hear its working now.
On Thu, Apr 22, 2010 at 9:24 AM, kkreja <Kr...@compuware.com>wrote:
>
> Must have been some bug in the previous snapshot that we used.
> I downloaded today the newest 5.4.0 snapshot and now everything works fine.
>
> Sorry for the false alarm.
>
> Regards
> kk
> --
> View this message in context:
> http://old.nabble.com/activemq-cpp-problem-connecting-with-openwire-5.4.0-tp28288041p28328861.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
Re: activemq-cpp problem connecting with openwire 5.4.0
Posted by kkreja <Kr...@compuware.com>.
Must have been some bug in the previous snapshot that we used.
I downloaded today the newest 5.4.0 snapshot and now everything works fine.
Sorry for the false alarm.
Regards
kk
--
View this message in context: http://old.nabble.com/activemq-cpp-problem-connecting-with-openwire-5.4.0-tp28288041p28328861.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: activemq-cpp problem connecting with openwire 5.4.0
Posted by Timothy Bish <ta...@gmail.com>.
I'm not aware of any changes in the trunk version that would affect the C++
client. I've run our tests against 5.4 SNAPSHOTS without issue. Could you
provide a test case that demonstrates the problem, its possible you have
found a bug in the C++ client. If you are sending the message from a Java
client then please include that as well.
Just a note that there is no 5.4.0 release yet, only SNAPSHOT versions, so
that code is still in flux.
Regards
Tim
On Wed, Apr 21, 2010 at 11:02 AM, kkreja <Kr...@compuware.com>wrote:
>
> Hi,
>
> I'm trying to write an C++ activemq client to work with the latest activemq
> java implementation (5.4.0). We use 5 .4.0 because 5.3.0 had some problems
> sending large (over 64kbytes) HTTP messages.
>
> Everything is fine till I call the getText() method on the TextMessage and
> get an exception (something like "reached EOF"). I investigated the issue
> and I looks like there is some change in the openwire protocol? Am I right?
>
> I see that the value of utfLength variable in
> OpenwireStringSupport::readString method is very large: 2023503245 which
> seems very strange because the same test message sent from 5.3.0 has
> utfLength around 170. However the 2023503245 can be found in the tcpdump
> that I catched.
>
> Is there real a change of the openwire protocol between 5.3.0 and 5.4.0?
> If there's a change do you plan to release an 5.4.0 compatible activemq-cpp
> library?
>
> Thanks
>
> kk
> --
> View this message in context:
> http://old.nabble.com/activemq-cpp-problem-connecting-with-openwire-5.4.0-tp28288041p28288041.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>