MQ Checks using .Net

Aim:

Perform Checks on MQ using .Net (To Check ChannelStatus, PubSubStatus, QueueManagerPing,
QueueManagerStatus)

Setup:

1.
Visual Studio

2.
Amqmdnet.dll

3.
IBM MQ Client                       

Steps:

1.
PCF commands are used to query MQ
status remotely. (using IBM.WMQ.PCF;)

2.
PCFMessageAgent agent;

3.
MQQueueManager qm = new MQQueueManager(queueManagerName, Channel, ConnName);

4.
request = new PCFMessage(CMQCFC.MQCMD_INQUIRE_CHANNEL_STATUS);

5.
request.AddParameter(…);

6.
request.AddParameter… }); ;

7.
responses = agent.Send(request);

 

The
responses” contain all the info…

 

 

 

–>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s