[rabbitmq-discuss] Fwd: about the Frame of amqp
femto Zheng
femtowin at gmail.com
Wed Aug 12 02:34:50 BST 2009
Hi, so I understand, the Frame is kind of like,
in object oriented terminology, a Message class,
I send a Message to server, and the server gets it,
in Message boundaries,
class Message
#some properties
end
we can think some marshaling/dump here to mimic amqp's behavior,
it's just like sending Message.
but now I'm puzzled, why do we need segment?Why do we need assembly?
a segment comprises of many frames, an assembly comprises of many segments.
On Tue, Aug 11, 2009 at 11:31 PM, femto Zheng<femtowin at gmail.com> wrote:
> Thank you very much!:)
>
> On Tue, Aug 11, 2009 at 9:08 PM, Paul Jones<pauljones23 at gmail.com> wrote:
>>
>> ---------- Forwarded message ----------
>> From: Paul Jones <pauljones23 at gmail.com>
>> Date: Tue, Aug 11, 2009 at 2:07 PM
>> Subject: Re: [rabbitmq-discuss] about the Frame of amqp
>> To: femto Zheng <femtowin at gmail.com>
>>
>>
>> Hi Femto,
>>
>> The AMQP specification defines frames as being variable length, depending on
>> the size of the payload.
>>
>> If you'd like to see specific framing details, have a look at 2.3.5 of
>> http://jira.amqp.org/confluence/download/attachments/720900/amqp0-8.pdf?version=1
>>
>> Thanks,
>> Paul.
>>
>> On Tue, Aug 11, 2009 at 2:21 AM, femto Zheng <femtowin at gmail.com> wrote:
>>>
>>> hello all, I'm looking at amqp documentation,
>>> one thing I'm not sure, the Frame amqp refered,
>>> is it a fixed size thing (just represent some unit that
>>> transport layer transported, more like tcp/udp's packet), or is it
>>> variable size thing(it can be variable sized), more fitted to
>>> application's usage somehow?
>>> because if the specification decides it is a fixed size thing,
>>> it's more like a udp's packet, while transport in network(of course may be
>>> split
>>> because the gateway's max packet size is smaller), but you get the
>>> idea, it's just
>>> a packet thing.
>>>
>>> _______________________________________________
>>> rabbitmq-discuss mailing list
>>> rabbitmq-discuss at lists.rabbitmq.com
>>> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>
>>
>>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>
>>
>
More information about the rabbitmq-discuss
mailing list