Tuesday, 14 December 2010

Install an MQ API exit on Windows

...from the command line with the following commands:

endmqm -i {YOURQMGR}
amqmdain reg {YOURQMGR} -c add -s ApiExitLocal\apptrace -v Name=apptrace
amqmdain reg {YOURQMGR} -c add -s ApiExitLocal\apptrace -v Function=EntryPoint
amqmdain reg {YOURQMGR} -c add -s ApiExitLocal\apptrace -v Module="C:\Program Files\IBM\Websphere mq\exits\mh05_exit.dll"
amqmdain reg {YOURQMGR} -c add -s ApiExitLocal\apptrace -v Sequence=1
amqmdain reg {YOURQMGR} -c add -s ApiExitLocal\apptrace -v Data="C:\mqm\exits\acttrace.ini"
strmqm {YOURQMGR}

No comments: