Re: Question on amqp 1.0 payload Type ??

2013-08-02 Thread Rakesh Kushwaha
My Question was on format , if for amqp value we have source=* that means it can have both BINARY and LIST kind data type . then why we needed DATA and AMQP SEQUENCE . Regards, Rakesh On Thu, Aug 1, 2013 at 6:54 PM, Rob Godfrey rob.j.godf...@gmail.com wrote: Yes indeed Gordon, thank you for

Re: Question on amqp 1.0 payload Type ??

2013-08-02 Thread Rakesh Kushwaha
My Question was on format , if for amqp value we have source=* that means it can have both BINARY and LIST kind of data type or any kind permissible amqp data type . then why we needed DATA and AMQP SEQUENCE . Regards, Rakesh On Fri, Aug 2, 2013 at 1:05 PM, Rakesh Kushwaha

Re: Question on amqp 1.0 payload Type ??

2013-08-02 Thread Rakesh Kushwaha
Hi Rob , 3.2.8 AMQP Value type name=amqp-value class=restricted source=* provides=section descriptor name=amqp:amqp-value:* code=0x:0x0077/ /type *An amqp-value section contains a single AMQP value. /* * * *Does single amqp value means it can n't have list ,array and map kind of data

Re: Question on amqp 1.0 payload Type ??

2013-08-02 Thread Rakesh Kushwaha
Hi Rob, streaming or large message transfer is enabled by just enabling more= true in transfer frame . for Amqp sequence , amqp specification says* A sequence section contains an arbitrary number of structured data elements. * as parent type of amqp sequence is LIST which is a compound data

Re: Question on amqp 1.0 payload Type ??

2013-08-02 Thread Rob Godfrey
If you are sending a stream of data and you don't know how big it is, then you cannot use an amqp-value until you have all the data buffered as every AMQP datatype is encoded either with a fixed size or with the size as a prefix. If there is more than 4Gb of data you cannot sent it at all. As

Question on amqp 1.0 payload Type ??

2013-08-01 Thread Rakesh Kushwaha
Hi , As Per amqp 1.0, below types are supported for payload part of amqp . 3.2.6 Data type name=data class=restricted source=binary provides=section descriptor name=amqp:data:binary code=0x:0x0075/ /type A data section contains opaque binary data. 3.2.7 AMQP Sequence type

Re: Question on amqp 1.0 payload Type ??

2013-08-01 Thread Rob Godfrey
Data and AmqpSequence allow the sender to start sending data without knowing how many bytes / values the data is going to consist of. This allows for streaming scenarios where the size of the data is not known up front. Note also that there is no bound to the size of Data or AmqpSequence,

Re: Question on amqp 1.0 payload Type ??

2013-08-01 Thread Gordon Sim
On 08/01/2013 01:52 PM, Rob Godfrey wrote: Data and AmqpSequence allow the sender to start sending data without knowing how many bytes / values the data is going to consist of. This allows for streaming scenarios where the size of the data is not known up front. Note also that there is no

Re: Question on amqp 1.0 payload Type ??

2013-08-01 Thread Rob Godfrey
Yes indeed Gordon, thank you for clarifying -- Rob On 1 August 2013 15:01, Gordon Sim g...@redhat.com wrote: On 08/01/2013 01:52 PM, Rob Godfrey wrote: Data and AmqpSequence allow the sender to start sending data without knowing how many bytes / values the data is going to consist of.