{"action":"opened","issue":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1018","labels_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1018/labels{/name}","comments_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1018/comments","events_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1018/events","html_url":"https://github.com/Graylog2/graylog2-server/issues/1018","id":59605409,"number":1018,"title":"Receiving empty messages on AMQP GELF input will result in requeueing and inifinite message processing loop","user":{"login":"dfch","id":8310360,"avatar_url":"https://avatars.githubusercontent.com/u/8310360?v=3","gravatar_id":"","url":"https://api.github.com/users/dfch","html_url":"https://github.com/dfch","followers_url":"https://api.github.com/users/dfch/followers","following_url":"https://api.github.com/users/dfch/following{/other_user}","gists_url":"https://api.github.com/users/dfch/gists{/gist_id}","starred_url":"https://api.github.com/users/dfch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfch/subscriptions","organizations_url":"https://api.github.com/users/dfch/orgs","repos_url":"https://api.github.com/users/dfch/repos","events_url":"https://api.github.com/users/dfch/events{/privacy}","received_events_url":"https://api.github.com/users/dfch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-03T07:31:07Z","updated_at":"2015-03-03T07:31:07Z","closed_at":null,"body":"It seems that the GELF AMQP input will [basicNack](https://github.com/Graylog2/graylog2-server/blob/a5cec6ee646044d55789cd516569fb7a56a478fd/graylog2-inputs/src/main/java/org/graylog2/inputs/transports/AmqpConsumer.java#L125) unhandled messages while procesing. On empty messages (where e.g. only an AMQP header is set) this will result in requeueing the same message. However this same message will subsequently be processed by the input plugin again and again resulting in a message loop.\r\nThis behaviour occurred with a message sent via RabbitMQ with only AMQP headers set (but with an empty message body) on a Graylog v1.0.0 server."}}