{"comment":{"created_at":"2011-10-13T10:00:16Z","body":"Ah OK, good to know. I wonder how does other clients work, I've been using Pika & Puka as a reference so I think we do the same they do. Anyway sounds like this should really be fixed.","updated_at":"2011-10-13T10:00:16Z","url":"https://api.github.com/repos/ruby-amqp/amq-protocol/issues/comments/2393074","id":2393074,"user":{"avatar_url":"https://secure.gravatar.com/avatar/6fd5b06afa330ac57065bd83844719c3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/botanicus","id":6171,"login":"botanicus"}},"action":"created","issue":{"number":19,"created_at":"2011-10-12T19:07:55Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"We need to serialize integer values in attribute tables (like queue.declare :arguments or message headers) as longlong because this is what RabbitMQ Java client does. [My initial attempt](https://github.com/ruby-amqp/amq-protocol/commit/61da5c9a6f9884c234492034d9772715e3034537) causes 2 failures in the amqp gem test suite so I reverted it for now.\r\n\r\nIn practice 32-bit unsigned integers allow for really large values to be specified but RabbitMQ will treat 3600000 int being a different value from 3600000 long (used by the Java client) so this is a real interoperability issue and not just annoyance.\r\n\r\n[See this mailing list thread](http://groups.google.com/group/ruby-amqp/browse_thread/thread/c1e142108b396fb1?hl=en) for background.","comments":1,"title":"Serialize integer values in attribute tables (like queue.declare :arguments or message headers) as longlong","updated_at":"2011-10-13T10:00:16Z","url":"https://api.github.com/repos/ruby-amqp/amq-protocol/issues/19","id":1890942,"assignee":{"avatar_url":"https://secure.gravatar.com/avatar/388dee5b4fb00316282b5f40b8409438?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/michaelklishin","id":1090,"login":"michaelklishin"},"milestone":{"number":1,"created_at":"2011-10-12T19:09:36Z","due_on":null,"title":"0.8.4","creator":{"avatar_url":"https://secure.gravatar.com/avatar/388dee5b4fb00316282b5f40b8409438?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/michaelklishin","id":1090,"login":"michaelklishin"},"url":"https://api.github.com/repos/ruby-amqp/amq-protocol/milestones/1","open_issues":1,"closed_issues":0,"description":"","state":"open"},"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/388dee5b4fb00316282b5f40b8409438?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/michaelklishin","id":1090,"login":"michaelklishin"},"html_url":"https://github.com/ruby-amqp/amq-protocol/issues/19","labels":[],"state":"open"},"legacy":{"issue_id":1890942,"comment_id":2393074}}