none
WCF hosted on IIS connecting to multiple queues help RRS feed

  • Question

  • Hi,

    I have a WCF service on IIS with one message queue configured. I want to add another message queue with different port number. How can we configure and connect to that queue.

    Thanks

    Thursday, April 4, 2013 5:00 PM

Answers

  • On 4/4/2013 1:00 PM, SACSSP wrote:

    Hi,

    I have a WCF service on IIS with one message queue configured. I want to add another message queue with different port number. How can we configure and connect to that queue.

    I would think you would just make another Service.svc, a Service.svc.cs, IService.cs and place entries into the Web.config for your new Service.

    You can make all of these files by hand and implement them into the existing WCF project and a new name for the service. One WCF project hosting one or more WCF services in a single project with each service using a different port.

    I have done it.

    Thursday, April 4, 2013 7:04 PM