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

fix fsdriver router topic name #34

Merged
merged 1 commit into from
Mar 30, 2017

Conversation

bendavies
Copy link
Contributor

As discussed in gitter.

*
* @return string
*/
private function getQueueName($name)
Copy link
Member

Choose a reason for hiding this comment

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

Could you please rename it to getDestinationName

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@makasim
Copy link
Member

makasim commented Mar 30, 2017

I have just realized that the router topic must not contain an app it.

The router topic is a shared one. Several applications may send messages to it and hence talk to each other. It is a ground part of message bus support.

And since message bus is not supported by fs transport we should isolate the change in FsDriver. When a sendToRouter method is called we should instead of a topic create a queue and use it.

@bendavies
Copy link
Contributor Author

no problem, i'll take a look.

@makasim
Copy link
Member

makasim commented Mar 30, 2017

@bendavies yeap that looks good.

@bendavies
Copy link
Contributor Author

@makasim i'll add a test to cover this case.

@bendavies bendavies changed the title fix router topic name fix fsdriver router topic name Mar 30, 2017
@bendavies
Copy link
Contributor Author

@makasim done

@makasim makasim merged commit 5e6a299 into php-enqueue:master Mar 30, 2017
@makasim
Copy link
Member

makasim commented Mar 30, 2017

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.

2 participants