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

MongoDB Subscription Consumer feature #565

Merged
merged 5 commits into from
Oct 18, 2018

Conversation

rosamarsky
Copy link
Contributor

No description provided.

@@ -65,6 +65,22 @@ public function __construct(string $body = '', array $properties = [], array $he
$this->redelivered = false;
}

public static function fromArrayDbResult(array $arrayResult): self
Copy link
Member

Choose a reason for hiding this comment

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

move the method to the context, make it public with @internal docblock, look at AMQP cotext

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, done!

*/
public function convertMessage(array $mongodbMessage): MongodbMessage
{
$mongodbMessageObj = new MongodbMessage(
Copy link
Member

Choose a reason for hiding this comment

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

$this->createMessage()

@makasim
Copy link
Member

makasim commented Oct 18, 2018

could you please also update the transport doc like this one https://github.com/php-enqueue/enqueue-dev/blob/master/docs/transport/amqp.md#subscription-consumer

@rosamarsky rosamarsky force-pushed the mongodb-subscription-consumer branch from 8009b56 to d049817 Compare October 18, 2018 14:12
@makasim makasim merged commit 6233667 into php-enqueue:master Oct 18, 2018
ASKozienko pushed a commit that referenced this pull request Nov 2, 2018
@makasim makasim added this to the 0.9 milestone Nov 15, 2018
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