-
Notifications
You must be signed in to change notification settings - Fork 4
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 AmqpQueryConsumerCallback #22
Comments
There might also be some inconsistencies concerning query producers. The producer docs suggest that in the humus config message producers are treated universally. But as the query producer is utilizing the json-rpc-client the humus rpc docs show that configuration would be different. Additionally as the docs mentioned suggest that producers would be configured universally and resolved via the same factory (e.g. not differing between rpc and regular producers) the factory would need to be sensitive to that, which seems not the case. |
@nikmx thanks for your comments. Let's go to the second part first: I'm not sure about this |
@prolic thanks for your reply I may provide a PR if I resolve my issue utilizing the package. I'll get back to that next week. Concerning the rpc consumer, find the files attached as text files. A AmqpRpcMessageConsumerCallback.php.txt |
I mean if you want to push the queries to the query bus again (which doesn't make any sense imho), then you can do this with the rpc server implementation of humus-amqp. To quote a part from the readme:
as you can see routing is already accomplished there, so what's the point of having the query bus additionally? |
Hm. If I would have a service bus context here I'd want the messages extracted and passed to the handlers. The routing wouldn't need to be done here, but would integrate in the service-bus implementation and keep everything in service-bus context. |
Sure you can do that, but I think that's your custom implementation,
doesn't need to be in the package by default.
…On Fri, Jul 20, 2018, 02:20 nikmx ***@***.***> wrote:
Hm. If I would have a service bus context here I'd want the messages
extracted and passed to the handlers. The routing wouldn't need to be done
here, but would integrate in the service-bus implementation and keep
everything in service-bus context.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAYEvE1mtZkUexnl3X1tN9tiPawQKoQGks5uIM3UgaJpZM4VV9xc>
.
|
Ok. Thought it might integrate well, like as bridge for all message types. As the integration was already there, I guess at some point you had that idea too. Thanks for your input. |
Is the query consumer missing or is it rejected due to some technical reasons?
There was a AmqpRpcMessageConsumerCallback included in early versions of this package.
The text was updated successfully, but these errors were encountered: