Serve Laurijssen
Serve Laurijssen

Reputation: 9733

MessageQueue non durable messages

With WCF message queueing you can configure the netMsmqBinding for non durable queuing.

But I can't find how to setup the basic MSMQ MessageQueue or Message class for non durable messaging. Not in the properties list nor on web.

Is this possible? How can we do that?

Why I'm asking this in the end is that I want to test if the 4MB maximum message size still counts for non durable messages

Upvotes: 0

Views: 61

Answers (2)

John Breakwell
John Breakwell

Reputation: 4687

The 4MB message size is fundamental. You can send a larger message using various processes but it has to be cut into 4MB chunks for delivery and reconstituted at the other end. These messages would be sent within one single transaction to guarantee sequence order and delivery.

Why is there a 4MB limit on MSMQ messages?

Upvotes: 0

tom redfern
tom redfern

Reputation: 31750

To set up a non-durable message queue:

  1. Just create a private queue and do not make it transactional.

That's pretty much it.

Upvotes: 1

Related Questions