On Wed, Feb 18, 2015 at 3:58 PM, Rajith Muditha Attapattu <
rajit...@gmail.com> wrote:

> Setting the message body for an o.a.q.proton.message.Message is slightly
> awkward.
> You have to create a AmqpValue. AmqpSequence or a Data object that
> encapsulates the underlying data type.
>
> Given that one of our goals is to expose an API that works with standard
> Java types instead of AMQP defined types, I suggest we simply use Object
> for setBody and getBody methods.
> The implementation can then handle the conversion back and forth
> underneath.
>
> What do you think?
>

Makes sense to me.

--Rafael

Reply via email to