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

Add amqp message dispatcher #60

Closed
prolic opened this issue Aug 18, 2015 · 2 comments
Closed

Add amqp message dispatcher #60

prolic opened this issue Aug 18, 2015 · 2 comments

Comments

@prolic
Copy link
Member

prolic commented Aug 18, 2015

I'll provide the adapter, when I have some time left.

@codeliner
Copy link
Member

👍 that sounds great

FYI:
prooph/service-bus < v4.0 contained an interface for message dispatchers. Currently, all available message dispatchers still implement the interface because I had no time yet to adjust them.
Since v4.0 an interface is no longer required as a message dispatcher can use Prooph\Common\Messaging\MessageConverter to translate messages to plain PHP arrays independently.

My plan is to adjust the existing message dispatchers to be __invokeable. So a message dispatcher can act as a callable message handler and no further plugins are needed to integrate the message dispatcher.
In combination with the ServiceLocatorPlugin you are then able to lazy load a message dispatcher.

@prolic
Copy link
Member Author

prolic commented Sep 2, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants