rabbitmq / rabbitmq-amqp1.0-client

Erlang AMQP 1.0 client
Other
20 stars 29 forks source link

Add amqp10_msg:body_bin/1 function #22

Closed kjnilsson closed 6 years ago

kjnilsson commented 6 years ago

To allow users to get a binary representation of the body (which may be amqp 1.0 encoded). Currently it re-encodes the decoded value, in the future we can optimise this by delaying the actual body decoding until it is needed. (if it ever is).

[#159434026]

Part of https://github.com/rabbitmq/rabbitmq-shovel/issues/42

Requires: https://github.com/rabbitmq/rabbitmq-amqp1.0-common/pull/2