Re: remote byte-order

2009-09-17 Thread John Dennis
On 09/17/2009 07:48 AM, Bill Whiting wrote: On 09/17/2009 03:47 AM, Gordon Sim wrote: On 09/16/2009 07:34 PM, Bill Whiting wrote: 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 p

Re: remote byte-order

2009-09-17 Thread Bill Whiting
On 09/17/2009 03:47 AM, Gordon Sim wrote: On 09/16/2009 07:34 PM, Bill Whiting wrote: 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 or

Re: remote byte-order

2009-09-17 Thread Gordon Sim
On 09/16/2009 07:34 PM, Bill Whiting wrote: 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 th

RE: remote byte-order

2009-09-16 Thread Steve Huston
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 > th

Re: remote byte-order

2009-09-16 Thread Bill Whiting
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

Re: remote byte-order

2009-09-16 Thread John Dennis
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? -- John

Re: remote byte-order

2009-09-16 Thread Bill Whiting
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. //Bill On 09/16/2009 11:03 AM, Gordon Sim wrote: On 09/16/2009 12:58 PM, Bill Whiting wrote: Thanks, I'

Re: remote byte-order

2009-09-16 Thread Gordon Sim
On 09/16/2009 12:58 PM, Bill Whiting wrote: Thanks, I'll add my own attribute for now. It would be beneficial to add this to the API. It's only relevant if the content is encoded using some native byte order dependent scheme, right? Or is there some other use case you have in mind? On 09/1

Re: remote byte-order

2009-09-16 Thread Jonathan Robie
Bill Whiting wrote: Thanks, I'll add my own attribute for now. It would be beneficial to add this to the API. +1 Jonathan - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto

Re: remote byte-order

2009-09-16 Thread Bill Whiting
Thanks, I'll add my own attribute for now. It would be beneficial to add this to the API. //Bill On 09/16/2009 03:21 AM, Gordon Sim wrote: On 09/15/2009 09:22 PM, Bill Whiting wrote: Is there a way to get the byte order of the sending application from the message properties? I've looked throu

Re: remote byte-order

2009-09-16 Thread Gordon Sim
On 09/15/2009 09:22 PM, Bill Whiting wrote: Is there a way to get the byte order of the sending application from the message properties? I've looked throught the API and don't see anything like that. There isn't a standard header for that (nor do any of the Qpid clients automatically set it).