qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: QPid 0.28 amqp1.0 - sending map from java to c++ does not work
Date Mon, 21 Jul 2014 16:04:43 GMT
On 07/21/2014 04:56 PM, Alan Conway wrote:
> On Mon, 2014-07-21 at 13:16 +0100, Gordon Sim wrote:
>> On 07/21/2014 01:12 PM, Andreas Welchlin wrote:
>>> Funny that it seemed to work with "decode()" as long as I only used C++
>>> applications. I think the reason was that the C++ senders used also
>>> "encode()".
>> Yes, that would result in an AMQP 0-10 encoded map (with the content
>> being 'binary' as far as AMQP 1.0 is concerned).
> Given that we have multiple incompatible ways to extract data from a
> message, is it possible to detect incorrect use and raise an exception
> rather than just returning nothing?

In this case an exception was raised. The associated message could 
certainly be more obvious though, e.g. 'decoding of AMQP 0-10 map 
failed' perhaps.

To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org

View raw message