arobson / rabbot

Deprecated: Please see https://github.com/Foo-Foo-MQ/foo-foo-mq
MIT License
277 stars 129 forks source link

Request/reply error #76

Closed celsomarques closed 6 years ago

celsomarques commented 7 years ago

Hi guys,

I'm facing a problem with request/reply feature. I've two apps, one is the scheduler and the other is the api. I've no control over the order that it's get deployed so in some cases the scheduler starts first and then the api. When this scenario happens and the scheduler gets reply timeout error and the api responds after reply timeout, I've a lot of messages stuck in nack and my limit goes away very fast.

I hope you can help me with that. Thanx

fifthfloorsoftware commented 7 years ago

Are you using rabbot library in both the handler and the publisher? We are having a similar problem

celsomarques commented 7 years ago

Yes, I was

fifthfloorsoftware commented 7 years ago

There are two required fields in order for the reply q to read the pick up on the message.

The headers must contain a sequence_end field And the message properties must contain a correlationId field that is the messageId of the outgoing message.

Hope that helps

celsomarques commented 7 years ago

I'll try that. Thx