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
0
votes
1 answer

nservicebus send command object with list type property using msmq transport

I have 2 nservicebus endpoints and the one endpoint is trying to send a command (class) object which contains 3 properties i.e. bool, List and class. Here is the complete command class below public class StartProcess : ICommand { public bool…
Tumelo
  • 301
  • 3
  • 18
0
votes
1 answer

WCF MSMQ message processed multiple times

I have a WCF program that is being communicated with via MSMQ. For some reason several messages are being processed multiple times for no apparent reason. No errors are being thrown and I've confirmed that the application enters and exits the…
Summit
  • 1,223
  • 2
  • 12
  • 15
0
votes
2 answers

C# -- How to build dynamic queue path name for MSMQ?

I have this static string that works fine to Create a queue in MSMQ: mqListener= @".\Private$\Trader"; MessageQueue.Create(mqListener); but, when I try this I get invalid queue name error: mqListener= @".\Private$\Trader"; suffx =…
llqh
  • 1
0
votes
1 answer

monitoring the MSMQ outgoing queue?

I am trying to monitor the outgoing queue of several servers with a script but can't find the right name / path to do so. here is what i tried : formatName:Direct=OS:Servername\outgoing_queue$ got the following error : « Format name is…
0
votes
0 answers

MSMQ Outbound Queue Stuck After System Recovery

I have an outbound queue on a server with messages in a processed but "unacknowledged state". New messages in entering the queue are suspended in the same manner. The issue started happening when the sending server was recovered from a backup. For a…
Matt
  • 1
0
votes
1 answer

ERROR NServiceBus.Transports.Msmq.MsmqDequeueStrategy - Error in receiving messages

Event Viewer on my workstation have the following error log: ERROR NServiceBus.Transports.Msmq.MsmqDequeueStrategy [(null)] - Error in receiving messages. System.Transactions.TransactionAbortedException: The transaction has aborted. --->…
0
votes
1 answer

MSMQ transactional or recoverable

I have a question about MSMQ. If I use a non-transactional queue and send message to it with recoverable parameter, message is stored on disc and in case of some problem secure. But if I want pull message from non-transactional queue, is there some…
irudji
  • 229
  • 1
  • 3
  • 12
0
votes
1 answer

Corrupt MSMQ Extension

We have a struct that we convert to a byte array and pack it into an MSMQ extension property. One of the values in the struct is a TimeToDelay value. We iterate over the received messages looking for a message with a TimeToDelay + arrivedTime…
Jakobitz
  • 71
  • 1
  • 5
0
votes
1 answer

How can I debug MSMQ messages not arriving on a remote server?

I have some code that sends a message to a remote queue. var queue = new MessageQueue(queueName); var message = new Message(queueMessage, new BinaryMessageFormatter()); queue.Send(message); I've tried setting the queue using IP and hostname, it…
NibblyPig
  • 51,118
  • 72
  • 200
  • 356
0
votes
1 answer

Installation of IIS and MSMQ is taking too much time in wix setup

We are using wix toolset to build a setup. I has more than 15 thousand files to install. At the beginning, it should install IIS and MSMQ windows features. Only this part of the installation is taking more than one hour to finish. If I turn off…
0
votes
1 answer

MSMQ, WCF and Enterprise Library 5 Logging application block

Background: I'm using WCF and MSMQ to execute long running jobs on a server. General error logging is done by Enterprise Library 5 Logging Application Block. My problem is this: private LogWriter _writer =…
BK.
  • 365
  • 4
  • 13
0
votes
2 answers

How to receive xml message from MSMQ private queue in C# sent by BizTalk MSMQ adapter

I use BizTalk 2016 and have configured default settings in BizTalk MSMQ adapter (body type 8209). I am trying to receive message from c# code but get the following exception: An unhandled exception of type 'System.InvalidOperationException' …
JERKER
  • 907
  • 8
  • 17
0
votes
2 answers

nservicebus a client sends command to msmq and azure service queue

I would like to know how, if possible, a client app (winform) sends NServicebus command A to be processed by a MSMQ queue and command B to be processed by a Azure storage queue or Azure service bus? If not, how may I get around of it?
hshen
  • 468
  • 1
  • 4
  • 13
0
votes
1 answer

Should I use a message queue to guarantee a windows service only operates on one record at time?

Just came across a article talking about message queuing. I have a service that runs a process every 1 seconds. The process changes a static bool called 'ProcessLock' to true. The process then checks to see if this variable is true before it…
Exitos
  • 29,230
  • 38
  • 123
  • 178
0
votes
1 answer

MQSendMessage returns S_OK even when message is not sent

MQSendMessage() returns value of S_OK even when the message is not sent. Is there a way to make sure the message was sent? According to message queue storage limit on a single queue doesn't work? the function will always return S_OK (unless some…
John John
  • 23
  • 5