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.

Filter by
Sorted by
Tagged with
0 votes
2 answers
25 views

Count number of messages in a clustered MSMQ

I'm trying to get a count of number of messages in a transactional queue on a clustered MSMQ, but for some reason this code: static int GetMessageCount(MessageQueue q) { var filter = ...
JaggenSWE's user avatar
  • 1,972
0 votes
0 answers
13 views

MSMQ Public Queues Cannot see public queue that I created

We have installed MSMQ on Win2019 server In Computer Management > Message Queuing, when I click on Public Queues, it gives me the error I went ahead and create a "New Public Queue" and ...
faujong's user avatar
  • 991
0 votes
0 answers
25 views

Powershell system.messaging not reading MSMQ message into resulting object "body" attribute unless I performed a send() first?

In developing a script that would read a MSMQ queue message, modify it, and send to another MSMQ queue, I first (in the same development script) created a message into the very queue I was testing ...
John Berry's user avatar
2 votes
0 answers
159 views

"Import-Module MSMQ" fails on PowerShell @ Windows 11 Home/Pro

I had a script creating MSMQ queues on Windows 10 and everything worked fine. On Windows 11 however (Pro and Home, to be specific), it fails. It started to fail by just not finding New-MsmqQueue: The ...
Milosz Krajewski's user avatar
0 votes
1 answer
40 views

MSMQ: dead-letter messages and transactional dead-letter messages

MSMQ system queues include a) journal messages, b) dead-letter messages, c) transactional dead-letter messages. In "Journal messages" there are all journal messages of private queues. I have ...
joanin's user avatar
  • 11
0 votes
1 answer
469 views

Windows Server 2022 MSMQ issue

In the local network i am pushing private msmq message from windows server 2012 to 2022. But the queue message is not getting populated in the 2022 server. But in the trace, i can see the message ...
Vishal Vanga's user avatar
0 votes
0 answers
51 views

How to use Python to send messages to MSMQ with transaction enabled

Currently, I have tried multiple methods, but I still cannot retrieve any messages from the queue. I can confirm that if it's a non-transactional queue, I am indeed able to receive messages. Please ...
倪港钧's user avatar
0 votes
0 answers
108 views

MSMQ and SSIS-Read messages and write them to a table using Microsoft SQL Server

Basically I want to read messages from MSMQ public queue and push them to a SQL Server table. Ideally I imagine an SSIS package (that a SQL Server Agent Job can execute every couple of hours) that ...
pranay_gaurav123's user avatar
0 votes
1 answer
186 views

Biztalk - MSMQ messages are being lost intermittently while receiving from queue in remote server

I keep receiving below warning messages in event viewer . If there is any message being received from the queue at the time of warning then message is being lost . Surprisingly while sending ...
Mitali's user avatar
  • 1
1 vote
1 answer
2k views

Can we use MSMQ in .NET6

In.NET 6 (C# 10), I'm creating a console/worker service. In order to store and retrieve messages, I intend to use Microsoft Message Queuing. Like when one service queues up a message and another ...
Nair's user avatar
  • 21
0 votes
1 answer
135 views

Is possible to send message to msmq queue with electron?

i want to know if someone know how to send message to Microsoft Message Queue (MSMQ) with electron. I've found some npm packages like node-msmq but i cannot use with my node version, it works until ...
Fabio's user avatar
  • 131
0 votes
0 answers
49 views

Script to update MSMQ storage path location

Want to update the location to D: to a different folder
Deepak's user avatar
  • 524
0 votes
1 answer
1k views

Cannot activate MSMQ on Windows 11 (home) ARM

I try to activate MSMQ on Windows 11 AMR, but eventhough it says SERVICES ACTIVATED, the check box is OFF when I go to the TURN ON / OFF WINDOWS FEATURES to check... check the box MSMQ The service is ...
JPC's user avatar
  • 1
0 votes
1 answer
539 views

How to identify if a private message queue (MSMQ) has exceeded its message storage limit using C#?

Is there a way using C# to identify whether a private MSMQ has exceeded it's storage limit (KB)? In the following example I created a private MSMQ using the Computer Management console and I set the ...
Stamatis Tiniakos's user avatar
0 votes
0 answers
47 views

How to write a WCF service to grab a message from MSMQ?

So I'm sending messages to a queue with another service. I currently have a service set up that manually runs, opens a connection to the queue, grabs a message, inserts into DB, then stops running. I ...
splindo's user avatar
  • 13
0 votes
1 answer
38 views

I need to upgrade my Active-Directory version but I need to upgrade my active directory

I need to upgrade my Active-Directory version but I need to upgrade my active directory. What are the newest Active-Directory versions I can have? And my client still must be Windows NT 4.0. What ...
PorPy's user avatar
  • 1
1 vote
1 answer
338 views

How does "System.Messaging" system recognises the types of the objects it sends and receives?

Edit: root cause of the question I'm working on an application, that uses System.Messaging and XML serialisation via XmlMessageFormatter. I would like to send an object, let's say Class1, having an ID ...
Dominique's user avatar
  • 16.3k
-1 votes
1 answer
82 views

MSMQ FIFO/Synchronous Processing

I have a one threaded application. Its supposed to connect to a local MSMQ queue, and once a message is received it should process it before continuing to listen for additional messages. The ...
David P's user avatar
  • 2,027
0 votes
2 answers
146 views

Msmq Queue permission how to add a iss AppPool with powershell

New-MsmqQueue -Name "ThisIsTestName" -QueueType Private create a Queue but how do i add an application iis apppool to a MSMQ queue with Powershell The manual way is add IIS AppPool\...
LarsOleDk's user avatar
0 votes
1 answer
178 views

NodeJS-MSMQ: SyntaxError: Cannot use import statement outside a module

I'm pretty new with NodeJS and I'm trying to use a module called "updated-node-msmq" (from this repository) in my project but getting an error. What I've done: I opened a new folder for the ...
Lior Daniel's user avatar
0 votes
0 answers
135 views

WCF Service hosted in windows Service goes to faulted state

We have a WCF service hosted on windows service. We are using netMsmqBinding binding. The job of service is upload some data to S3 storage. After sometime on Production environment the service goes to ...
Bezhas's user avatar
  • 63
0 votes
0 answers
112 views

MSMQ not all messages reaching remote server private queue

I have been using same code for last 7-8 years, no changes to code or Remote message queue. All of a sudden I am seeing that not all messages hitting remote server. And it's very inconsistent same ...
user228777's user avatar
  • 3,092
0 votes
1 answer
185 views

MSMQ WCF Transactional Queue Message going to Poison Queue after proccessing when no error is occurring in developer code

This isn't actually a question. Rather an answer for anyone having the same problem as it took me 2 days to figure out what was going wrong. Scenario: We have a transactional MSMQ queue that we ...
Jon Barker's user avatar
  • 1,799
0 votes
1 answer
807 views

MSMQ remote private queue on Windows server 2012

I have private, non-transactional queue configured on my remote Windows Server 2012. I wrote quick c# console application to test it. It places messages to the local private queue on my local PC. It ...
snilmerg's user avatar
0 votes
1 answer
970 views

Send XML message to MSMQ without any formatting

I need to send an XMLDocument object to MSMQ. I don’t have a class to deserialize it into (the xml may vary). The default formatter, XMLMessageFormatter, will “pretty print” the object. This causes a ...
Stephen Maitland's user avatar
0 votes
0 answers
79 views

In C# MSMQ ,How to check Receiving application had received messages from Queue messages or not

I am having C# application where I am using MSMQ to send/receive message from one application to another. In this application I had created private non transactional queue. On live environment, in one ...
user3209860's user avatar
1 vote
1 answer
193 views

Using MSMQ without installing MSMQ on client machines

I use WCF to execute some code on a server (takes a long time). The request to execute that code is send from several client machines within the local network (TCP). Since the code takes a while to ...
MaxVR's user avatar
  • 23
0 votes
2 answers
304 views

Singleton class firing event only once

I am new writing singleton classes but I am running into a weird behavior. On my singleton class I have an event that is only firing once. This event is the ReceiveCompleted of the System.Messaging....
user3614070's user avatar
3 votes
0 answers
325 views

MSMQ 4.0 Access private queue from a Domain Devmachine a development Docker Container

my dev machine is in a Domain and i have a docker container with windows server running in and msmq installed. I want to access a private queue but this is not working from my dev machine. In the ...
Markus Benz's user avatar
0 votes
0 answers
726 views

How to send a message to a remote Queue using MSMQ C#

I'm trying to make a private Queue in a external pc to send messages. I've writed the code to send and recive messages in a queue on my own pc and works fine. But i dont really understand very well ...
jonnamartiin's user avatar
0 votes
1 answer
28 views

problem whith MSMQ while changing OS from xp to win7

In ower system we have two machines which connected by MSMSQ. one machine contains two static ip addresses (each ip belongs to other lan) and the second one using one ip address. We have a proccedure ...
Aamir Poorat's user avatar
0 votes
1 answer
536 views

How to send message to Microsoft EventHub with Db Transaction?

I want to send the event to Microsoft Event-hub with Db transaction: Explanation: User hit a endpoint of order creation. OrderService accept the order and put that order into the db. Now Order ...
Akashsingla19's user avatar
0 votes
1 answer
622 views

Delay in getting message from Microsoft Message Queue

There is a delay of 8 to 9 minutes in receiving the message in user's machine from a server's MSMQ. There is no blocks in network connectivity. How to find the root cause of the issue. Can any one ...
bharath shyamala's user avatar
0 votes
1 answer
418 views

How to add and use MessageQueues to ASP.NET MVC project?

I have a ASP.NET MVC project and I need to use Message Queues (MSMQ as I understand it) to send messages from the client to my server, but I can't seem to add System.Messages to a c# class. I get an ...
MARS's user avatar
  • 519
0 votes
0 answers
56 views

MSMQ Receive method slowness

I'm hardly receiving 20~50 messages per second using MQ.Receive() method, as shown below. private void ListenQueue() { while(true) { try { ...
SomeOneonStack's user avatar
1 vote
0 answers
60 views

MSMQ getBody Exception while listening from MQ

im getting this exception while receiving msgs from queue in a while loop, please guide, i will provide more details if needed. Thanks Exception: System.Runtime.Serialization.Formatters.Binary....
SomeOneonStack's user avatar
0 votes
1 answer
248 views

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 ...
Tumelo's user avatar
  • 301
-1 votes
1 answer
64 views

MSMQ ARCHITECTURE WITH DEDICATED PROCESSORS PER DATABASE

I have a web application in ASP.NET MVC , C# and I have a specific use case that takes long time to process and users have to wait until the process is complete. I want to use MSMQ and relay the heavy ...
Naupad Doshi's user avatar
0 votes
2 answers
189 views

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: ...
llqh's user avatar
  • 1
1 vote
1 answer
165 views

Move to Rebus error queue not triggered after maximum abort failures

The default Rebus configuration, according to the error handling wiki, should move a poison message to the error queue. It is not happening in a situation where a third party component is causing a ...
un-CharlieH's user avatar
2 votes
1 answer
1k views

Move MSMQ message from one queue to another using Powershell

I'm wondering if its possible to write a Powershell script to move a message from one MSMQ queue to another? I have a few failed messages (i.e. messages that did not complete because they involved, ...
Fuzzy Analysis's user avatar
0 votes
1 answer
778 views

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$ ...
Jordan Henriques's user avatar
1 vote
0 answers
261 views

What can cause "Cannot import the transaction" errors when receiving from MSMQ?

The other day I received these errors trying to receive messages from transactional, public queues. System.Messaging.MessageQueueException (0x80004005): Cannot import the transaction. at System....
Evgeniy Berezovsky's user avatar
0 votes
0 answers
45 views

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 ...
Matt's user avatar
  • 1
0 votes
1 answer
416 views

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....
Cristian Mayo's user avatar
3 votes
2 answers
128 views

Powershell filter ignored in pipeline

I am writing a Chef library to make writing a custom resource for managing Microsoft MSMQ resources on Windows Server easier. Chef interfaces with Windows using Powershell 5.1. I want to raise an ...
jcjustesen's user avatar
0 votes
1 answer
164 views

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 ...
irudji's user avatar
  • 229
1 vote
1 answer
778 views

Read message from MSMQ by Label

I need to create a C# based MSMQ environment where I need to be able to read messages from the queue based on some unique value which has been supplied by an external process. i.e. Ideally something ...
Nigel Tunnicliffe's user avatar
2 votes
0 answers
190 views

MSMQ: Message Sent/Arrived time diff is occasionally high for unknown reasons

I am building a system that has several C# applications talking to one another via MSMQ. They are sending messages to queues, both on the local machine and on other machines on the network. Now, I ...
DrJaul's user avatar
  • 73
0 votes
1 answer
116 views

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 ...
Jakobitz's user avatar

1
2 3 4 5
40