Posted: Wed Sep 17, 2008 5:13 am Post subject: Running runmqtmc as Window service
Novice
Joined: 02 Jul 2008 Posts: 22
Hi all,
Server X writes files in MQ queue. I'm using triggering in that queue.
Then I have Windows 2003 Server, which should fetch the files when they appear in MQ. When I execute the bat below MQ Trigger Monitor starts.
Code:
SET MQSERVER=XX_YYY_TEST.SRV/TCP/xx.yy.com
START runmqtmc -q INITQ.XX_YYY_TEST -m TEST_T1
Everything works. I' able to receive files with another bat file (automatically). But my question is that how I'm able to start the MQ trigger monitor as a Windows service, so I don't have to care who logs in or out or closes the command console? MQ Trigger monitor should keep running all the time and should start when Windows is started? Is there a easy way that MQ offers or do I have to do some other tricks?
It's not currently updated for MQ v7. If you need it to updated very soon, or otherwise have issues - contact the maintainer.
There's also something out there in general in the windows world called "SvrAny", which would let your batch file be a service. It may not be as useful or friendly as MA7K.
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