[rabbitmq-discuss] AMQP.BasicProperties
Adam Rabung
adamrabung at gmail.com
Fri Oct 28 14:54:46 BST 2011
Hi,
Are there any pros/cons to using BasicProperties for storing your own
message metadata vs. encoding it in the payload?
Thanks,
Adam
On Fri, Oct 28, 2011 at 9:13 AM, Michael Klishin <
michael.s.klishin at gmail.com> wrote:
>
> Le 28/ott/2011 à 16:37, Meredith Gregory a écrit :
>
> > and the set methods have been deprecated. What's the preferred method of
> setting just a few fields of the AMQP.BasicProperties?
>
> You can instantiate AMQP.BasicProperties.Builder using new.
> AMQP.BasicProperties#builder is an instance method and is used to obtain a
> builder for the particular set of properties you already have (or at least
> this is my understanding).
>
> In my Clojure and (J)Ruby libraries I instantiate
> AMQP.BasicProperties.Builder and go from there.
>
> MK
>
> http://github.com/michaelklishin
> http://twitter.com/michaelklishin
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20111028/d6ce1f6b/attachment.htm>
More information about the rabbitmq-discuss
mailing list