{"action":"created","issue":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/177","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/177/comments","events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/177/events","html_url":"https://github.com/rabbitmq/rabbitmq-server/issues/177","id":84471992,"number":177,"title":"Introduce headers when message gets dispatched to client","user":{"login":"c-datculescu","id":450691,"avatar_url":"https://avatars.githubusercontent.com/u/450691?v=3","gravatar_id":"","url":"https://api.github.com/users/c-datculescu","html_url":"https://github.com/c-datculescu","followers_url":"https://api.github.com/users/c-datculescu/followers","following_url":"https://api.github.com/users/c-datculescu/following{/other_user}","gists_url":"https://api.github.com/users/c-datculescu/gists{/gist_id}","starred_url":"https://api.github.com/users/c-datculescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-datculescu/subscriptions","organizations_url":"https://api.github.com/users/c-datculescu/orgs","repos_url":"https://api.github.com/users/c-datculescu/repos","events_url":"https://api.github.com/users/c-datculescu/events{/privacy}","received_events_url":"https://api.github.com/users/c-datculescu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/labels/question","name":"question","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-03T09:55:19Z","updated_at":"2015-06-04T10:21:30Z","closed_at":"2015-06-03T09:58:05Z","body":"Hello all.\r\n\r\nI would like to propose the introduction of a set of custom headers that should be attached to a message when the message is delivered to a client, similar to the dead-letter headers option. \r\n\r\nThe use case for this addition will be in the case of buffered clients, there is no way to say how much time the message spent in the queue vs how much time the message actually spent in the local application cache. I think this should help in better understanding and isolating issues (currently i have people asking me whether there is a issue in RabbitMQ or in the applications we are using and i cannot say for sure when messages get delayed).\r\n\r\nI am not sure exactly how much effort would this be since i have no knowledge of erlang whatsoever.\r\n\r\nThank you,\r\nCristian."},"comment":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/comments/108827945","html_url":"https://github.com/rabbitmq/rabbitmq-server/issues/177#issuecomment-108827945","issue_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/177","id":108827945,"user":{"login":"videlalvaro","id":30834,"avatar_url":"https://avatars.githubusercontent.com/u/30834?v=3","gravatar_id":"","url":"https://api.github.com/users/videlalvaro","html_url":"https://github.com/videlalvaro","followers_url":"https://api.github.com/users/videlalvaro/followers","following_url":"https://api.github.com/users/videlalvaro/following{/other_user}","gists_url":"https://api.github.com/users/videlalvaro/gists{/gist_id}","starred_url":"https://api.github.com/users/videlalvaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/videlalvaro/subscriptions","organizations_url":"https://api.github.com/users/videlalvaro/orgs","repos_url":"https://api.github.com/users/videlalvaro/repos","events_url":"https://api.github.com/users/videlalvaro/events{/privacy}","received_events_url":"https://api.github.com/users/videlalvaro/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T10:21:29Z","updated_at":"2015-06-04T10:21:29Z","body":"Besides effort, AFAIK, per-spec the broker shouldn't modify messages. It should just pass messages as-is, without modifying them."}}