Posted: Tue Aug 06, 2002 12:26 am Post subject: How can I browse a queue using CorrelationID with MQJMS
Newbie
Joined: 15 Jul 2002 Posts: 5 Location: Bulgaria
Hi,all!
I want to get only the messages with appropriate CorrelationID , but I get all the messages from the queue not only this one wich I want.Is there possible to browse through queue and to get only the message with CorrelationID=MessageID with MQJMS.
Thanks!
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
There is more than one sample program in the software repository that illustrates how to do this using JMS and the MQI Java APIs. Please take a look at them. _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Thanks!I read the sources in the Repository,but all implementations are made with MQ base Java..Is there any equivalent of :MQC.MQOO_BROWSE;MQC.MQGMO_BROWSE_FIRST in MQJMS
I haven't used MQ base Java in my sources.Is there a good idea to mix
MQJMS and MQ base Java or there is other possibility.Thanks a lot!I know that my questions sounds stupid,but i am very confused..
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum