|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Applications and MQI |
« View previous topic :: View next topic » |
Author |
Message
|
Lakshmi |
Posted: Tue Jan 06, 2004 1:23 am Post subject: Applications and MQI |
|
|
Newbie
Joined: 09 Sep 2003 Posts: 4
|
what is the diffenrence between
endmqm
and
endmqm -i command
endmqm
endmqm commands states that queue manager will stops only after all applications have disconnected.
endmqm -i
states that queue manager stops after it has completed all the MQI calls currents being processed.
what is the difference between applications and mqi calls i am new to mq admin. i have read doc's but i am not able to get the clear picuture , pl. help.
thanks,
lakshmi |
|
Back to top |
|
 |
JasonE |
Posted: Tue Jan 06, 2004 2:41 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Quote: |
what is the difference between applications and mqi calls i am new to mq admin. i have read doc's but i am not able to get the clear picuture , pl. help. |
Applications make MQI calls if they are calling the standard MQOPEN, MQCLOSE etc interface.
For the difference between endmqm and endmqm -i, take as example amqsput SYSTEM.DEFAULT.LOCAL.QUEUE QM. If you leave it waiting for input and do endmqm, the qmgr is still running until you end the application. If you do endmqm -i, it terminates regardless of the application running.
As to which to use - depends on your environment/setup ie whether you are prepared to wait, and whether your applications ever end! |
|
Back to top |
|
 |
kman |
Posted: Tue Jan 06, 2004 2:42 am Post subject: |
|
|
Partisan
Joined: 21 Jan 2003 Posts: 309 Location: Kuala Lumpur, Malaysia
|
endmqm -i would end the queue manager immediately after completing the current call (MQCONN, MQOPEN,... MQDISC). It will not wait for the applications to disconnect gracefully.
endmqm would wait for the application to finally issue MQDISC so that it disconnects from the queue manager.
At least that is what it is meant.
Applications issues MQI calls. The final MQI calls before the application terminates is MQDISC - disconnects. In between, application can issue any MQI calls.  |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|