New to MSMQ... My local queue never receives my test message. I have verified that Message Queuing and Message Queuing Triggers are running in my Services dialog (Vista Ultimate). Thoughts?
class ConsoleApplication
{
private const string Path = @".\private$\SomeQueue";
static void Main(string[] args)
{
var queue =...
Is there any way to check if a public MSMQ is empty? For a private MSMQ it's easy:
private bool IsQueueEmpty(string path)
{
bool isQueueEmpty = false;
var myQueue = new MessageQueue(path);
try
{
myQueue.Peek(new TimeSpan(0));
isQueueEmpty = false;
...
Hello,
I am wondering if there is a way in WCF MSMQ to know if iam processing the last message in the transaction
I did lot of researches I found that there is a property IsLastInTransaction but this property not available in MsmqMessage<T> Class it only available in System.Messaging.Message
Anybody know how can I dietarian if this i...
Hi Guys,
I want to cluster my service and since my service uses the msmq service I have to also cluster the msmq service. I successfully created the cluster and added both my service and msmq service as resource of the cluster, and they are both brought online. Then the problem comes, my service said the msmq service is not available.
...
If I have a client that is disconnected and puts a message on a queue.
When the client is connected does the queued message get sent?
If so when and how does this happen?
Below is the only documentation I can find on this and it is not clear to me
From http://technet.microsoft.com/en-us/library/cc723251.aspx
Disconnected Messagin...
Hi all,
I have following problem:
I am trying to log messages to the remote private message queue. To do this I am using Enterprise library 5.0 and msmq trace listener in my application. Unfortunately, I always end up with the following error:
Exception Type: System.Messaging.MessageQueueException
MessageQueueErrorCode: IllegalFo...
Hi,
I have a wcf service hosted in iis.
I have many clients connected to it via basicHttpBinding.
On the same server I also have other service that is doing the business logic.
The business service puts the messages on local private queue. The wcf service in a separate thread waits for a change in the private queue and if it sees new m...
This Windows Service reads email from the MSMQ. It was reading mail when deployed to Windows Server 2003. After being moved to Windows Server 2008, it has stopped reading email. It does not write any logs to the file. When the Windows Service is started, nothing happens.
Please anyone could tell me what could be wrong. Do I need to con...
I am trying to allow someone from outside of our AD to access a private message queue for reading and another one for sending. I don't want to add them to our AD. Is something like this possible?
...
At very high level i would like to know apart from strings what (information) can i pass to Message Queues in C#.NET.
Simply to say that what are all things that can i can pass/send to a message queue by preparing a message.
...
We are trying to track our message queueing system (MSMQ). We have managed to put together some descent enough measurements of how many items are in the queue and how old the first item in the queue is. Is there any way of checking how any messages have passed through the queue in total to that we can do some MRTG-style throughput graphs...
What are the different Target formats with respect to System.Messaging.XmlMessageFormatter(....) in C#.NET
As i'm well known about receiving data in terms of string formats.
I would like to know the format target types other than strings in System.Messaging.XmlMessageFormatter(.......) while receiving the result from message queues.
Pl...
I have a service that responds to messages on an MSMQ, using WCF. When the message is well formatted, it works as normal, and we're happy. When the message is intended for a different service, and the action is different, the message stays on the queue, we get log entries, we fix, and we're happy.
But when the message has the right acti...
I have a transactional MSMQ queue setup on server THOR. I am able to post messages to that queue from a workstation with the following code:
var queue = new MessageQueue("FormatName:Direct=OS:thor\\private\\myqueue");
using (var tx = new MessageQueueTransaction())
{
tx.Begin();
queue.Send("test", tx);
tx.Commit();
}
However,...
I was wondering if there is a way to programmatically check how many messages are in a private or public MSMQ using C#? I have code that checks if a queue is empty or not using the peek method wrapped in a try/catch, but I've never seen anything about showing the number of messages in the queue. This would be very helpful for monitoring ...
How can using something like MSMQ help with scalability and reliability?
In the scenario of one web server to one database server does it help at all?
Any comments or links would be greatly appreciated.
Thanks
EDIT:
The web server will be running WCF exposing SOAP style web methods. There is also a possibility, looking to the future, ...
We have clustered MSMQ for a set of NServiceBus services, and everything runs great until it doesn't. Outgoing queues on one server start filling up, and pretty soon the whole system is hung.
More details:
We have a clustered MSMQ between servers N1 and N2. Other clustered resources are only services that operate directly on the clus...
I'm developing an application that will need to communicate with itself running on different machines located in different locations. I was going to use TcpListener and TcpClient to send information between applications but then I came across MSMQ.
The computers are connected via software VPN, which communicates across my standard inte...
Possible Duplicate:
Is there a way to check how many messages are in a MSMQ Queue?
How to get message count in MSMQ on another machine, in the same domain (programmatically via C#)?
Note I: My main problem is: I can not even connect to the remote queue.
Note II:
1 - "FormatName:DIRECT=TCP:server2.domain.com\private$\qname" ...
Hi,
I have Windows XP SP3 installed on my machine. I am using MSMQ.
When I restart the machine, the Message queuing service does not start automatically though the service startup type is set to automatic.
I followed the steps mentioned in the below link but it did not work.
http://support.microsoft.com/kb/234372
What changes can we do ...