msmq

Getting the NServiceBus Distributor Sample To Work

Hi, I'm trying to use the Distributor in the NServiceBus FullDuplex sample but I can't get it working. I've been following the this guide Getting the NServiceBus Distributor Working, but it doesn't work. There are two problems, one the distributordatabus isn't being created I think the Distributor should create this one. This is the er...

MSMQ: MessageQueue intermittenly returning invalid handle error using ReceiveById or Recieve with a cursor

I have a transactional message queue on Server 2003. It receives messages from several remote machines. Each day, an executable runs which moves those messages from one queue to another on the same machine, however, the executable is processing several hundred messages and then throws an "Invalid Handle was passed to the function" erro...

MSMQ: What can cause a "Insufficient resources to perform operation" error when receiving from a queue?

MSMQ: What can cause a "Insufficient resources to perform operation" error when receiving from a queue? At the time the queue only held 2,000 messages with each message being about 5KB in size. ...

WCF / MSMQ "time-to-be-received has elapsed" dead letter queue issue

I'm doing testing against some software I've written. The test enqueues messages into MSMQ via WCF at a rate faster than than my software can dequeue and process them. This shouldn't be a problem, since that is MSMQ's intended purpose, but if I enqueue enough messages to where it's taking my software more than 24 hours to process, thos...

How to send a message from Server A to Server B using MSMQ?

How do I setup a message queue that automatically sends all it's messages to another server? I'm working on a proof of concept for a system that needs to run on multiple servers, writing to local message queues, then have a central service on another server running that reads its local queue to pick up all the messages from the other se...

C# .Net MSMQ Receive() method timeout problem

My original question from a while ago is MSMQ Slow Queue Reading, however I have advanced from that and now think I know the problem a bit more clearer. My code (well actually part of an open source library I am using) looks like this: queue.Receive(TimeSpan.FromSeconds(10), MessageQueueTransactionType.Automatic); Which is using the ...

clear Message Queue in C#

Hi! C#: i use the Message Queue to send messages from one application to the other one (this has to work only on one particular machine) I create the queu like this on the receiver side: string queueName = ".\\private$\\WZMSGQ"; if (MessageQueue.Exists(queueName)) msgQueue = new MessageQueue(queueName); ...

Is MSMQ obsolete?

I've just been chatting with a Microsoft MVP, and he told me that MSMQ is obsolete. Is this true? What's the infrastructure for SOA then??? ...

MSMQ Adding a delay on Messages

I have a Microsoft Message Queue that gets populated with messages. If there is a problem with the processing of the message, I would like to retry the message, I do not want to retry the message immidiatley. Is there a way to add a delay to the message in the MSMQ to avoid it being available for a certain amount of time?? The other alt...

how to archive msmq messages?

I have a bunch of messages in one of the queues from an old date. I would like to take a backup before purging them. Any thoughts? Schar ...

When was MS Message Queue first released?

When was MS Message Queue first released? ...

SQL Server 2000 T-SQL: writing to MSMQ?

Is there a way to write to MSMQ from T-SQL and/or Stored procedure? I am using SQL Server 2000. ...

MSMQ: How can I create a private queue on a remote computer.

I need to create a Private message queue on a Remote computer. All me research indicates this is not possible through the System.Messaging objects. Can anyone confirm/deny this. My other option is to create an addition service on the remote host that listens for requests to create queues and then creates them locally. Any better/simpler...

Private or Public MSMQ

We are using Queue for few of are WCF services. We are using NetMSMQ binding for the WCF services which use Private MSMQ. The system works OK on our QA environment. I am not sure of any real difference between and private or public queue. The client application are on seperate machine still are able to access Private queue of the WCF ser...

IIS Hosted MSMQ WCF application failing to start because unrelated que exist on the machine

I have a problem that is pretty much desctibed on this blog: http://www.keithelder.net/blog/archive/2008/11/24/workaround-for-wcf-netmsmqbinding-bug-the-service-queue-does-not.aspx the very problem is described on the blog as: The wcf claims that service ‘~unittestqueue` does not exist? Well that queue DOES exist on the server but th...

Localhost issue with Net.Msmq endpoints on Windows 7

I've just moved my development to a Win 7 64-bit machine and am having some wcf endpoint issues. As far as I can see the net.msmq endpoints that point to localhost do not work. The messages do get sent but appear in an outgoing msmq queue that constantly says 'Waiting to Connect'. As far as I was aware msmq messages sent to a private q...

MSMQ Access issue in NServiceBus with asp.net web service.

Hi I am trying to implement publisher - subscribe in my project of asp.net (wcf) web services. When i am trying to create bus in global.asax protected void Application_Start(object sender, EventArgs e) { try { log4net.Config.XmlConfigurator.Configure(); Bus = NServiceBus.Co...

Is it possible to lose messages using MSMQ MessageQueue.Peek with a timeout?

Hello world! I am currently having an issue of losing a message. This error occurs rarely, but happens often enough to be annoying. Here is the context of the issue: I have turned on the message journal on goldmine_service_queue, a MSMQ on Windows 2003 server. I can prove that the message is being inserted into goldmine_service_que...

Poison Message Handling in WCF MSMQ 4.0

I am trying to handle the poison messages in WCF with MSMQ transport. I followed the below link for creating the original and poison services. http://msdn.microsoft.com/en-us/library/aa395218.aspx The only difference is instead of self hosting , I hosted the 2 servces in IIS with a single host project. The configuration of both the s...

MSMQ querying for a specific message

Hello, I have a questing regarding MSMQ... I designed an async arhitecture like this: CLient - > WCF Service (hosted in WinService) -> MSMQ so basically the WCF service takes the requests, processes them, adds them to an INPUT queue and returns a GUID. The same WCF service (through a listener) takes first message from queue (does som...