AnsweredAssumed Answered

Can we read the messages, its count and store in a File from IBM M6 - WMQ Explorer

Question asked by PreethiManoj on Jun 21, 2017
Latest reply on Aug 29, 2017 by Kevin.Bowman

I have a interface in which, Source System is MQ and Target System is DB. When i run the interface, messages which are available in the MQ,  get transformed and reached the Target System (DB). 

 

MQ Message format will be in xml. DB Result set will be in table structure. I need to validate the mapping from xml tag to db column value.

 

So, my query here is do we have any step in DevTest Tool to read the message count and messages in MQ Explorer. If yes, please provide me the steps.

 

Say For Ex : I have 100 messages in MQ. When i run the interface. MQ Count should be 0. DB Count should get increased to Existing Count + 100.

 

Note : Source team will post the messages in MQ at any time, they will intimate us to validate the same. Consumers might be many for that Queue. So, whenever messages are available in that Queue. We should pick it up by running our interface.

 

Thanks much, if anyone come across the solution, pls provide your steps.

Outcomes