Skip to content

refactor publisher connection logic - #325

Merged
michaelklishin merged 3 commits into
jondot:masterfrom
webit-de:master
Nov 2, 2017
Merged

refactor publisher connection logic#325
michaelklishin merged 3 commits into
jondot:masterfrom
webit-de:master

Conversation

@aiomaster

Copy link
Copy Markdown
Contributor
  • separate connection stuff from publish method to better reuse Sneakers::Publisher for own derived classes
  • fix warning: instance variable @bunny not initialized when connected? is called

* separate connection stuff from publish method to better reuse Sneakers::Publisher for own derived classes
* fix warning: instance variable @bunny not initialized when connected? is called
this way we can do something with the connection before publishing
* use timeout and retry if expected consumers are not there
* refactor rabbitmq stuff a little in integration spec
@michaelklishin

Copy link
Copy Markdown
Collaborator

Thanks a lot for ac2d572.

@michaelklishin
michaelklishin merged commit f349c9f into jondot:master Nov 2, 2017
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