Questions tagged [msmq]

Microsoft Message Queuing (MSMQ) is a message queuing implementation developed by Microsoft and deployed as part of its Windows platform since 1996. MSMQ is included on most versions of Windows but it's not installed by default.

Microsoft Message Queuing (MSMQ) is a message queuing implementation developed by Microsoft and deployed as part of its Windows platform since 1996. MSMQ is included on most versions of Windows but it's not installed by default.

1964 questions
25
votes
4 answers

Should I use MSMQ or SQL Service Broker for transactions?

I've been asked by my team leader to investigate MSMQ as an option for the new version of our product. We use SQL Service Broker in our current version. I've done my fair share of experimentation and Googling to find which product is better for my…
Ed Schwehm
  • 2,163
  • 4
  • 32
  • 55
24
votes
1 answer

WCF msmq transactioned and unit of work

I built a MSMQ WCF service that is transactional. I used the following attribute on my operation: [OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)] I am using Nhibernate in service . Using Nhibernate I give a…
Patrick
  • 2,730
  • 4
  • 33
  • 55
23
votes
4 answers

Setting MSMQ permissions for a private queue created by a different user

The person who was previously using my PC at work set up a private MSMQ that I need to access. They have since left the bank but the permissions remain and I can't access the queue or give myself edit permission to remove the restriction. I am an…
Alex
  • 2,681
  • 3
  • 28
  • 43
23
votes
11 answers

MSMQ v Database Table

An existing process changes the status field of a booking record in a table, in response to user input. I have another process to write, that will run asynchronously for records with a particular status. It will read the table record, perform some…
David White
  • 3,014
  • 1
  • 32
  • 35
22
votes
8 answers

Why does MSMQ think I'm on a workgroup computer?

My computer is connected to a domain, but when I go to create a public queue: MessageQueue.Create(@".\testqueue"); I get this error: A workgroup installation computer does not support the operation. Why might MSMQ think I'm on a workgroup…
Mike Pateras
  • 14,715
  • 30
  • 97
  • 137
22
votes
1 answer

Disadvantages of SQL Server Service Broker

I have been doing r&d for the scope of SQL Server Service Broker to replace current messaging solution MSMQ. I want to know disadvantages of SQL Server Service Broker in contrast to MSMQ for following…
mit
  • 1,763
  • 4
  • 16
  • 27
21
votes
3 answers

Including MSMQ as a prerequisite for my application

I'm working on an application that uses MSMQ for interprocess communication, and I need the setup project to be able to install the service if it isn't already. I've checked around for information on making it a prerequisite, but so far I've been…
Adam Robinson
  • 182,639
  • 35
  • 285
  • 343
20
votes
3 answers

Implementing a Message Bus architecture

I'm currently doing analysis and design for a new message bus architecture in my company. I have tried MSMQ to do something like this in the past and it works well and was thinking of doing the same thing again for this project but using WCF as the…
heartlandcoder
  • 647
  • 1
  • 5
  • 14
20
votes
5 answers

Multicasting, Messaging, ActiveMQ vs. MSMQ?

I'm working on a messaging/notification system for our products. Basic requirements are: Fire and forget Persistent set of messages, possibly updating, to stay there until the sender says to remove them The libraries will be written in C#. …
Chris Marasti-Georg
  • 34,091
  • 15
  • 92
  • 137
19
votes
5 answers

How to change Msmq configuration from workgroup mode to domain mode?

There is a public queue named queue1 on machine A. I want to send messages to this queue from machine B. In order to achieve this, I wrote that c# code. if (MessageQueue.Exists("machineA\queue1")) { label1.Text = "queue found"; } else { …
mkus
  • 3,357
  • 6
  • 37
  • 45
18
votes
7 answers

MSMQ Messages Are Stuck In The Outgoing Queue

Although my question looks similar to some already found on SO, those post did not help me, so here it is: Given: Two machines on the same segment (naturally in the same domain, actually on the same desk) Both machines are Windows 7…
mark
  • 59,016
  • 79
  • 296
  • 580
18
votes
5 answers

Cannot determine whether a queue with the specified format name exists

I get the exception when executing the following code. Any ideas what is wrong? string queueName = "FormatName:Direct=TCP:1.1.1.1\\Private$\\test"; MessageQueue queue; if (MessageQueue.Exists(queueName)) queue = new…
fARcRY
  • 2,338
  • 6
  • 24
  • 40
17
votes
2 answers

MSMQ - message queuing has not been installed on this computer

I have written a sample application to write to a public and private queues that are on dev server. I don't have the message queue installed on my local machine. I am getting error: message queuing has not been installed on this computer. Error is…
learning...
  • 3,104
  • 10
  • 58
  • 96
17
votes
4 answers

How do I handle message failure in MSMQ bindings for WCF

I have create a WCF service and am utilising netMsmqBinding binding. This is a simple service that passes a Dto to my service method and does not expect a response. The message is placed in an MSMQ, and once picked up inserted into a database. What…
WebDude
  • 6,125
  • 5
  • 33
  • 44
17
votes
1 answer

How to use SignalR to notify web clients from ASP.NET MVC 3 that MSMQ tasks were completed

How would one use SignalR to implement notifications in an .NET 4.0 system that consists of an ASP.NET MVC 3 application (which uses forms authentication), SQL Server 2008 database and an MSMQ WCF service (hosted in WAS) to process data? The runtime…
bloudraak
  • 5,902
  • 5
  • 37
  • 52