Groups | Blog | Home
all groups > dotnet faqs > february 2005 >

dotnet faqs : How do I forward MSMQ messages to a web service?


Robert Rossney
2/9/2005 10:57:17 AM
I know one way to forward MSMQ messages to a web service: build an
executable that retrieves a message from a queue and posts its contents
to a web service, and then configure a trigger on the message queue that
will launch the executable when a message gets dropped in the queue.

Is there a better way?

Bob Rossney
netnews.microsoft.com
2/28/2005 7:41:53 PM
Another way to do it:

Create a Windows Service that is running continuously. Have it spawn a
listener thread and wait for incoming messages. Inside the listener thread
process each message as they come in. This will reduce overhead by caused by
loading and unloading an executable for each message.


[quoted text, click to view]

AddThis Social Bookmark Button