posted 18 years ago
Hi ALL,
I'm new to JMS.I've to implement JMS in my project.
I followed so many docs regarding Message Filteration but couldnt solve my problem.
Pls guide or suggest me to the sol.
Here 's my requirement:
---------------------
Sending a msg with client id and receiving the msg with that client id.Looks very simple.But the problem is where to use the filteration mechanism.I set the message msg.setStringProperty("User", user); and while receiving msg.getStringProperty(User);.It works aslo fine.If i proceed in this way to read a specific msg i've to scan all the messages in the queue.
what kind of messaging is best suitable here pls suggest and guide .My requirement is I dont need to scan all the messsages to get my required msg.
Thanx for early answer.
Regards
SayedAI