Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Workgroup PDM and MSMQ Triggers

Status
Not open for further replies.

dmctiernan

Mechanical
Nov 27, 2006
25
Hi All,
I was hoping that someone can help with this one. I am currently doing some automation with Workgroup PDM and I want to utilise Triggers/Notifications however I am unsure what is the best way to implement them.

In my mind I want a windows service that monitors the MSMQ queue for messages from the vault when certain events occur, such as "rename_document" or "create_project". I will then have the service update a SQL-server database.

I can get this working as a standalone application however I am unsure how to develop this into a windows services that I will deploy onto the vault server.

Any ideas or examples are welcome.

DMcT.
 
Replies continue below

Recommended for you

Microsoft provides a utility for starting an application as a service, see:
There are also several 3rd party solutions. Google "start application as a service".

Depending on which programming language you are using, you should also be able to make your executable so that it can be run as a service directly. I have not done this myself.

I would start with the Microsoft solution and try one of the others if it does not meet your needs, or if you want to teach yourself how to write a service.

Eric
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor