问题
I have been trying for the past few days to invoke an exe file by using msmq trigger. Its never being called. These are the steps I followed.
Created a trigger mentioning the queue path with peeking checked. Enabled Checked
Created a rule with no conditions so that the trigger will fire whenever a new message is obtained. And selected the radio button mentioning Standalone Executable. Provided the field with the correct location. Checked the location with RUN and confirmed that the exe is working.
But when a new message is being sent to the queue the exe is not being called.
回答1:
Are you sure the "Microsoft Trigger service" is online?
I had a similar problem and restarting both the system and the Service helped!
来源:https://stackoverflow.com/questions/19923609/msmq-trigger-standalone-executable-invocation-not-working