Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge in global properties. #62

Merged
merged 1 commit into from
Dec 24, 2013

Conversation

ejholmes
Copy link
Contributor

@ejholmes ejholmes commented Dec 4, 2013

At remind101, we run most of our apps on heroku, and we like to propagate the request_id throughout our system. This change allows you to set some default properties, so that you can do things like set headers at a global level:

Hutch.global_properties = proc {
  { app_id: 'api', headers: { request_id: RequestId.request_id } }
}

@michaelklishin
Copy link
Member

👍

michaelklishin added a commit that referenced this pull request Dec 24, 2013
@michaelklishin michaelklishin merged commit c8e748a into ruby-amqp:master Dec 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants