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

RPC: request no consuming published response #191

Open
acarlstein opened this issue Mar 4, 2019 · 1 comment
Open

RPC: request no consuming published response #191

acarlstein opened this issue Mar 4, 2019 · 1 comment

Comments

@acarlstein
Copy link

acarlstein commented Mar 4, 2019

Could you help me out to figure out what I do wrong?

rabbit.request('extension.requests'
		, {
			type: 'request'
			, routingKey: 'routing.key.extend'
			, timeout: 60000
			, replyTimeOut: 60000
			, body: body
		},part => {
			log.info("GETTING PART");
			part.ack();
		}).then(reply => {
			log.info("WE GOT THE STUFF");
			log.info(reply);
			reply.ack();
		}).catch(failed => {
			log.error("IT FAILED");
			log.error(failed);
		});

(I tried without the part section too).

On the other side, I am receiving the message with the generated queue (reply-to) and processing it successfully. Then, send the results to that generated queue.

I can see the reply message in RabbitMQ Management:
generatedqueue with message

But for some reason, the request is not consuming it!
What am I missing?

@zlintz
Copy link

zlintz commented Mar 21, 2019

@acarlstein Are both sides using rabbot? or different languages?

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