1,966 questions
0
votes
1
answer
70
views
AWS cloudwatch monitoring for perfmon counters
Im trying to monitor a windows perfmon counter with AWS cloudwatch agents. However i seem to hit a bit of a brickwall where i cant seem to get anywhere.
In particular i am trying to monitor the MSMQ ...
1
vote
1
answer
145
views
Send file content to MSMQ from powershell
I need to test some message queue processing functions and for that I need to push a message with contents of a json file. I'm currently forced to do it without using any 3rd party applications and as ...
0
votes
0
answers
16
views
How can I filter out empty queues in MSMQ using PHP?
`Hello,
I am currently working on a server-side PHP application that interacts with Microsoft Message Queuing (MSMQ) using COM objects. My goal is to filter out empty queues when processing messages. ...
0
votes
0
answers
19
views
Remove Specific MSMQ Message
Message message = mq.Peek
if (message != null)
{
message.Formatter = new XmlMessageFormatter (new string[]{ "System.String,mscorlib"});
string messageBody = message.Body.ToString ()...
1
vote
1
answer
69
views
Sending messages to MSMQ with PHP 7
I'm trying to send messages to Microsoft Message Queuing (MSMQ) from PHP (version 7).
Could anyone provide me with code examples or point me to relevant documentation or libraries that can be used to ...
0
votes
0
answers
50
views
Problem with MSMQ and adding Public Queue
Hi I have a problem with adding Public Queue on Windows Server 2019. First when I install MSMQ and I go to Computer Management I do not see the Public Queue, but when I go to the Computer\...
0
votes
0
answers
122
views
message queuing using chat program ( C )
I want to create a simple chat program using message queuing. The language used is C or C++. The development environment is visual studio.
I created a personal cue, entered the cue name in the code ...
0
votes
0
answers
28
views
Private queues MSMQ lose Everyone permission
I use MSMQ queues for a web application made with IIS. Usually I set Everyone permission (write and read) on every queue.
Sometimes, at and moment, Everyone permission is lost.. Why? Nobody removes it ...
0
votes
1
answer
174
views
MSMQ Removed including payloads in a VM without internet and cannot reinstall even with a mounted image
WS2019 VM without internet access, by error introduced in PowerShell removed not only the feature but its payload from server
I really don't know what else to try, any help will be very much ...
0
votes
0
answers
54
views
C# MSMQ Message with Binary Body Has Extra Bytes
I have some code which receives a byte array from a UDP listener and writes it to a message queue. It seems to be mostly working but when I inspect the message on the queue it has extra bytes ...
0
votes
2
answers
61
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 = ...
3
votes
1
answer
506
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 ...
0
votes
1
answer
128
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 ...
0
votes
1
answer
2k
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 ...
0
votes
1
answer
133
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 ...
0
votes
0
answers
211
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 ...
0
votes
1
answer
261
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 ...
1
vote
1
answer
3k
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 ...
0
votes
1
answer
182
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 ...
0
votes
0
answers
71
views
Script to update MSMQ storage path location
Want to update the location to D: to a different folder
0
votes
1
answer
3k
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 ...
0
votes
1
answer
879
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 ...
0
votes
0
answers
52
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 ...
0
votes
1
answer
63
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 ...
1
vote
1
answer
444
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 ...
-1
votes
1
answer
100
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 ...
0
votes
2
answers
200
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\...
0
votes
1
answer
192
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 ...
0
votes
0
answers
165
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 ...
0
votes
0
answers
125
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 ...
0
votes
1
answer
265
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 ...
0
votes
1
answer
1k
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 ...
0
votes
0
answers
88
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 ...
1
vote
1
answer
311
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 ...
0
votes
2
answers
333
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....
3
votes
0
answers
353
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 ...
0
votes
0
answers
938
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 ...
0
votes
1
answer
31
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 ...
0
votes
1
answer
636
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 ...
0
votes
1
answer
788
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 ...
0
votes
1
answer
682
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 ...
0
votes
0
answers
58
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
{
...
1
vote
0
answers
66
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....
0
votes
1
answer
278
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 ...
-1
votes
1
answer
79
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 ...
0
votes
2
answers
243
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:
...
1
vote
1
answer
224
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 ...
2
votes
1
answer
2k
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, ...
0
votes
1
answer
976
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$
...
1
vote
0
answers
314
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....