qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Huston" <shus...@riverace.com>
Subject RE: remote byte-order
Date Wed, 16 Sep 2009 18:48:50 GMT
Hi Bill,

> I'm replacing other messaging with qpid.  I have code for
marshalling 
> and demarshalling data that uses byte-order to know how to handle 
> integers.  I can add a custom property to the message that 
> provides byte 
> order, but it would be preferrable to have the byte-order of 
> the sender implemented in the API.

There's no byte order indicator in AMQP, so any extension to add this
would be private to Qpid. You could lobby the AMQP working group to
see if this could be in a future protocol version.

-Steve

> On 09/16/2009 11:37 AM, John Dennis wrote:
> > On 09/16/2009 11:25 AM, Bill Whiting wrote:
> >> That is exactly the case, I'm thinking of parsing fixed 
> record format
> >> data.  If the remote system is big-endian (or just 
> different from me)
> >> then I want to determine how to handle the data.
> >
> > Why not just write the content in network byte order?
> >
> 
> 
>
---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
> 
> 


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message