{"action":"closed","issue":{"url":"https://api.github.com/repos/spring-projects/spring-xd/issues/1643","labels_url":"https://api.github.com/repos/spring-projects/spring-xd/issues/1643/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-xd/issues/1643/comments","events_url":"https://api.github.com/repos/spring-projects/spring-xd/issues/1643/events","html_url":"https://github.com/spring-projects/spring-xd/issues/1643","id":78772805,"number":1643,"title":"Redis bus header customization not working as expected","user":{"login":"akhtet","id":4788387,"avatar_url":"https://avatars.githubusercontent.com/u/4788387?v=3","gravatar_id":"","url":"https://api.github.com/users/akhtet","html_url":"https://github.com/akhtet","followers_url":"https://api.github.com/users/akhtet/followers","following_url":"https://api.github.com/users/akhtet/following{/other_user}","gists_url":"https://api.github.com/users/akhtet/gists{/gist_id}","starred_url":"https://api.github.com/users/akhtet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akhtet/subscriptions","organizations_url":"https://api.github.com/users/akhtet/orgs","repos_url":"https://api.github.com/users/akhtet/repos","events_url":"https://api.github.com/users/akhtet/events{/privacy}","received_events_url":"https://api.github.com/users/akhtet/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-21T01:23:28Z","updated_at":"2015-06-16T03:59:42Z","closed_at":"2015-06-16T03:59:42Z","body":"If my understanding is correct, there was a feature introduced in https://jira.spring.io/browse/XD-2047 so that we can make Redis bus carry custom headers which are set by custom modules. As such, I'm expecting Redis bus to carry all headers produced by the build-in Spring XD modules.\r\n\r\nIf I deploy a stream with FILE source and print out headers in the next module, i.e.\r\n\r\n    stream create --name myevents --definition \"file --dir=[path] --ref=false ... --outputType=text/plain | script --script=file://[path-to]/printHeaders.groovy | log\" --deploy\r\n\r\nUsing Local bus, the following headers are received.\r\n\r\n    timestamp, id, file_originalFile, contentType, file_name\r\n\r\nUsing Redis bus, the following headers are received.\r\n\r\n    timestamp, id, contentType\r\n\r\nDoes this suggest that Redis did not carry over headers having underscore _  as part of the name? Even if I explicitly define a header name such as \"file_name\" in servers.yml, this header is not carried over in Redis bus.\r\n"}}