Skip to content

Instantly share code, notes, and snippets.

@jamescarr
Last active June 16, 2017 04:12
Show Gist options
  • Save jamescarr/1122d3f3ba8d7a5c1cc364188c664052 to your computer and use it in GitHub Desktop.
Save jamescarr/1122d3f3ba8d7a5c1cc364188c664052 to your computer and use it in GitHub Desktop.
exch := msg.Exchange
if val, ok := msg.Headers["x-original-exchange"]; ok {
exch = msg.Headers["x-original-exchange"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment