We seem to be having two mq clients that receive the same messages because they apparently have the same selector.
In order to smoke out the "wrong" client, I am trying to pick the specific client connection using the management api.
But, I am unable to find the selector (property?) in any of the proxy api objects.
Where is that property registered in the api?
Bjørn
I am not sure I fully understand the problem. You mention a QueueConnection, so no two consumers should get the same message if it is a Queue you are reading from.
However, to the other part of the question, the MessageSelector is defined on the QueueReceiver or MessageConsumer object when it is created. It is not a property of an object.
Look at the interface for progress.message.jclient.Session
For method:
MessageConsumer createConsumer(Destination destination, java.lang.String messageSelector, boolean NoLocal)
Creates MessageConsumer for the specified destination, using a message selector.