I have the following task, that involves ibm message queue:
Exists an application(JMS client) that gets messages from input queue Q1 and puts messages to Q2. There are several application clients that put messages to Q1. Clients specify correlation id for each message. Application retrieve id from the message received from Q1, creates new output message, adds retrieved id and put the message into Q2. Then each client retrieves only its own message, based on correlation id.
My questions is:
If client doesn't specify any id, he reads all the messages from queue. I want a restriction, that forbids from reading the queue when no correlation id is specified.
Is this possible to accomplish using ibm message queue only? If not any other suggestions.