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

Consuming RPC Calls #82

Open
seivad opened this issue Jan 16, 2020 · 1 comment
Open

Consuming RPC Calls #82

seivad opened this issue Jan 16, 2020 · 1 comment

Comments

@seivad
Copy link

seivad commented Jan 16, 2020

Hey I've got a setup in Laravel which I can make RPC calls successfully. So now I am trying to use your Go code to run the same command in the Laravel app to accept an RPC call and return a response to the Client but it just isn't working.

Command Line

2020/01/16 16:14:52 Connecting RabbitMQ...
2020/01/16 16:14:52 Connected.
2020/01/16 16:14:52 Opening channel...
2020/01/16 16:14:52 Done.
2020/01/16 16:14:52 Setting QoS...
2020/01/16 16:14:52 Succeeded setting QoS.
2020/01/16 16:14:52 Metrics disabled.
2020/01/16 16:14:52 Registering consumer...
2020/01/16 16:14:52 Succeeded registering consumer.
2020/01/16 16:14:52 Waiting for messages...
2020/01/16 16:14:57 Processing message...
2020/01/16 16:14:57 Processed!

The Client never gets the returned result. I'm just using the examples from RabbitMQ tutorial 6 at the moment but it works from Laravel to Laravel, Laravel to Node and Node to Node. The only thing that doesn't work is Laravel to Laravel (via Go rabbitmq-cli-consumer)

Command Line Setup

rabbitmq-cli-consumer --verbose --url amqp://guest:guest@localhost --q rpc_queue  --no-declare --e 'php /Users/Mick/Sites/xxx/xxx/companies artisan rabbitmq:rpc-command'

Any help would be appreciated in how to get the RPC to work correctly.

Cheers

@fajaraditio
Copy link

Hello, I have this problem too. Any updates about it?

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

No branches or pull requests

2 participants