user38230
user38230

Reputation: 665

To use MSMQ or WCF - VS 2008

This is my situation: 1. have an existing application which relies on XML being fed via FTP. Based on the XML, the application performs tasks.

  1. Now i want to download files, path being an element of the XML file, using BITS

  2. I want to create a BITS application and that should work on the download aspect of the project when application in step 1 fires a message to the BITS application.

Application in step 1 is in VS-2003 and one version is in VS-2005. I want to create my BITS application in VS-2008, and if I cant use BITS then I would use curlHTTP to do a HTTP GET. The ? is do I use MSQM or WCF to send a message between application in step 1 and my download application?

Upvotes: 0

Views: 953

Answers (1)

WCF has native support for MSMQ queues.

There are two types of bindings which may apply in your case...

NetMSMQBinding: http://msdn.microsoft.com/en-us/library/system.servicemodel.netmsmqbinding.aspx

MSMQIntegrationBinding: http://msdn.microsoft.com/en-us/library/system.servicemodel.msmqintegration.msmqintegrationbinding.aspx

With these bindings you should be able to communicate directly to MSMQ queues.

Therefore, I do not think it's a case of either-or for WCF. Either you need MSMQ or you do not.

(WCF is very powerful, but very hard to master. I am in the process of writing my own framework for self-hosting WCF Services in Windows Services at the moment.)

Upvotes: 1

Related Questions