Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I test a program which publishes to Websphere MQ

Tags:

ibm-mq

I have a program which publishes data to IBM Websphere MQ via the MQAX200 interface. I'm struggling to work out how to test it.

What's the simplest way of setting up an application to consume the messages from the queue and confirm they're correct? I don't currently have any MQ infrastructure here (that's on the client's site).

Do I need a message broker? Are there any open source implementations? Or do i need to purchase Websphere MQ, in which case what's the minimal license I'd require?

Thanks

Ben

like image 405
ben Avatar asked Feb 20 '23 02:02

ben


1 Answers

As your application is written using a MQ interface, you need MQ to test. If it's just for testing, you can use the trial version of MQ.

As far as I know MQAX200 interface supports only P2P messaging and not Publish/Subscribe messaging. So using your application put message to a queue and then use the application like amqsgetto receive message.

You don't need message broker.

like image 72
Shashi Avatar answered Mar 03 '23 23:03

Shashi