[rabbitmq-discuss] [PATCH] base64 encode correlation_id in rpc requests

Daniel White daniel at whitehouse.id.au
Tue Mar 12 16:19:22 GMT 2013


We ran into a problem where our RPC requests were failing
occasionally.  It turns out that we were interacting with other
clients that conformed more strictly to the AMQP specification.
"Short strings" should be valid UTF-8 strings.

Encoding to base64 means we can keep the incrementing ids and avoid
introducing any complex dependencies (like uuid).

Cheers,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130312/9dfa67f8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: encode_correlation_id.diff
Type: text/x-diff
Size: 5643 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130312/9dfa67f8/attachment.diff>


More information about the rabbitmq-discuss mailing list