{"action":"closed","issue":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-amqp1.0/issues/7","repository_url":"https://api.github.com/repos/rabbitmq/rabbitmq-amqp1.0","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-amqp1.0/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-amqp1.0/issues/7/comments","events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-amqp1.0/issues/7/events","html_url":"https://github.com/rabbitmq/rabbitmq-amqp1.0/issues/7","id":62741243,"number":7,"title":"Publishing to a queue pre-declared with arguments fails","user":{"login":"gotthardp","id":939979,"avatar_url":"https://avatars.githubusercontent.com/u/939979?v=3","gravatar_id":"","url":"https://api.github.com/users/gotthardp","html_url":"https://github.com/gotthardp","followers_url":"https://api.github.com/users/gotthardp/followers","following_url":"https://api.github.com/users/gotthardp/following{/other_user}","gists_url":"https://api.github.com/users/gotthardp/gists{/gist_id}","starred_url":"https://api.github.com/users/gotthardp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gotthardp/subscriptions","organizations_url":"https://api.github.com/users/gotthardp/orgs","repos_url":"https://api.github.com/users/gotthardp/repos","events_url":"https://api.github.com/users/gotthardp/events{/privacy}","received_events_url":"https://api.github.com/users/gotthardp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2015-03-18T16:57:34Z","updated_at":"2016-12-20T12:43:42Z","closed_at":"2016-12-20T12:43:42Z","body":"When I declare a queue with some arguments (e.g. x-max-length, or x-expires) and then try to publish to this queue via AMQP 1.0's amqp://localhost/queue, the publish fails and broker reports \"PRECONDITION_FAILED - inequivalent arg\".\nThis is because the AMQP 1.0 plug-in tries to declare the queue before publishing the message and declares it without any argument. Since the queue is already declared without any argument, the operation fails.\nShould the amqp 1.0 plugin really declare the queue before publishing a message, it should ignore the error #406 because the queue might have been declared with other arguments.\n"}}
{"actor":{"display_login":"kjnilsson"}}