The reason why you can do it via management is that management plugin runs in the same
VM as RabbitMQ and uses what's known as "direct client", a client that uses distributed
Erlang facilities instead of a TCP connection. So, protocol serialisation is not involved .
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send an email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
We will add a note to queue.bind, however,improving documentation is rarely as trivial as Richard makes it sound.Every client library has several functions that involve routing keys (usually at least 5). Various guidesmention routing keys as well. Should every single instance mention the limit? Or should they link to a spec guide that covers domains?The former is a complete overkill as there are over 20 libraries. The latter meansthat consulting the spec is necessary (as it is, at some point, with any protocol used directly, including HTTP).What would help the most in my opinion are a guide on bindings (currently they are covered in many places) and field name included into the error message.Richard, what doc guide "told you a different story"if I may ask?
On Thu, 22 Jun 2017 at 07:33, Richard Crawshaw <richard.crawshaw@countrynet.net.au> wrote:
I've recently been burned by the 255 character limit on the routing key too. We are routing messages based on the .NET Type being sent, so the obvious thing for us to do was to set each routing key to the assembly qualified name. In initial testing the type names were quite short, no nested types, short namespaces, minimal generics. However when I came to test in a production like environment it was a different matter.I double checked the RabbitMQ documentation and it told a different story to the exception that was being thrown. The documentation shown here for QueueBindmakes no reference to any hard limit on the length of the RoutingKey (or the queue name or the exchange name: I still haven't tested these with names longer than 255 characters). However the exception message says: "Short string too long; UTF-8 encoded length=269, max=255". This is the only clue that I have seen that there is an actual hard limit, until I came explicitly searching for it. So what else hasn't been included that isn't obvious? This makes me nervous.It would be most helpful if the RabbitMQ documentation said "string max 255 characters" or even "string 255", instead of just "string".I shouldn't find myself some time down the track with a product that breaks randomly because some things are just over the 255 limit and others just under simply because I wasn't alerted to this hard limit in the documentation. Nor should I have to pour over the details of the AMQP specification and tie each of its restrictions back to a RabbitMQ implementation detail. I expect RabbitMQ to do that with their documentation; after all they are the experts in that field, not me.RegardsRichard--
On Saturday, September 17, 2016 at 10:33:00 AM UTC+10, tom wrote:They are separate and complementary documents. One of the nice features of the AMQP spec is that the classes and methods are provided in XML format, which allows autogeneration of library code. That's one reason why there are two documents: one provides details for each class and method, autogenerated from that XML, and the other provides a high-level overview and explains terms and concepts.
There's no abridged version - the section numbers in one document have no relation to the section numbers in the other.
This is just the way that the AMQP group provide the documentation - it's quite common to have multiple documents for a spec, but if you can think of ways to improve how this is presented on the RabbitMQ site I'm sure they would be considered.
Note that both documents are already linked from https://www.rabbitmq.com/protocol.html - that's the "specification" and "generated doc" links respectively.
cheers,
Tom
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Staff Software Engineer, Pivotal/RabbitMQ