[rabbitmq-discuss] Debug strategy for truncated message bodies
Tony Garnock-Jones
tonyg at lshift.net
Sat Nov 14 13:10:33 GMT 2009
Garrett Smith wrote:
> As a possible work around (hack), is there a straight forward way to
> have rabbit send the entire message body in a single frame?
Interesting. No, not without source code changes. (I will file a bug to
make this configurable.) First, make sure that all clients negotiate to
as large a frame size as possible, given the maximum that the server
suggests, and then change the (hard coded!) 131072 in rabbit_reader.erl
to some large value and rebuild.
Note that if the *sending* client has a small frame size, but the
*receiving* client has a large frame size, Rabbit will not currently
refragment the messages, so you will still see the problem.
Alternatively, there's py-amqplib and pika.
Cheers,
Tony
More information about the rabbitmq-discuss
mailing list