Radu Negrila
Radu Negrila

Reputation: 667

IBM WebSphere MQ Client - unlimited wait GET vs. correlation GET

I am trying to build with amqmdnet a IBM MQ receiver with 2 functionalities:

The problem is that I cannot limit the second GET to read only REQUEST messages and so the correlation GET is never successful. If I only do one GET I will have to implement correlation on my own.

Anyone tried to implement something similar?

Thanks, Radu

Upvotes: 1

Views: 348

Answers (1)

JasonE
JasonE

Reputation: 2026

The simplest option is to use two queues. There are ugly ways of achieving what you are after (imagine all request messages putting something in the correlid so you could get by correlid there too, for example) but in principle you have a request queue and a reply queue - dont share!

Upvotes: 3

Related Questions