Skip to content

Consumer trait#22

Merged
makasim merged 2 commits intoqueue-interop:0.7from
sylfabre:patch-2-consumer
Nov 20, 2018
Merged

Consumer trait#22
makasim merged 2 commits intoqueue-interop:0.7from
sylfabre:patch-2-consumer

Conversation

@sylfabre
Copy link
Copy Markdown
Contributor

@sylfabre sylfabre commented Oct 18, 2018

  • fixes a bug in some implementation where the timeout is not respected (last wait should check for left time)
  • implements a polling interval to fetch messages
  • implements methods to set and get a visibility timeout

@sylfabre sylfabre changed the title Consumer trait [wip] Consumer trait Oct 18, 2018
@sylfabre sylfabre changed the title [wip] Consumer trait Consumer trait Oct 18, 2018
@makasim
Copy link
Copy Markdown
Member

makasim commented Oct 19, 2018

@sylfabre Could you please rebase, cuz I've merged message trait cherry pick to 0.7

/**
* The ConsumerPollingTrait is a common implementation of the polling algorithm for a Consumer
*/
trait ConsumerPollingTrait
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would love to merge this trait and its tests. Could you make a separate PR with only this one?

@sylfabre
Copy link
Copy Markdown
Contributor Author

@makasim I've updated the PR with the last 0.7 version

@PaulRouss3l
Copy link
Copy Markdown

Hello ! I'm working on the azure integration of php-enqueue (php-enqueue/enqueue-dev#645 it'd be great if you could tell me if I can rely on this trait for my dev, could you tell me if you plan to merge this PR anytime soon ?

@makasim makasim merged commit e04bcaf into queue-interop:0.7 Nov 20, 2018
@makasim
Copy link
Copy Markdown
Member

makasim commented Nov 20, 2018

@PaulRouss3l I've just merged it, you could rely on it

@PaulRouss3l
Copy link
Copy Markdown

Thanks !

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.

3 participants