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.

0
votes
0answers
18 views

Msmq Send() works, But not able to peek() or receive() from a remote server

I want to setup a msmq to insert messages and receive messages remotely. The server which I want to have the private queue is running on a windows server 2016 OS I have succeeded until the point where ...
0
votes
1answer
8 views

How to create MSQM Trigger Rules using Powershell?

I can create MSMQ queues using the following powershell command: New-MsmqQueue I can't find a way to create Trigger Rules via powershell (Computer Management > Services and Applications > ...
1
vote
0answers
49 views

Why is my code sending the same message to an MSMQ when I'm not expecting it to?

I'm writing code for an MSMQ client which is used to communicate with an MSMQ server. My sending method will repeatedly send the same message thousand of times with a longer message, which is not ...
-2
votes
0answers
19 views

Get directories tree from server via MSMQ

I have windows service on server and client wpf app on other machine. These two communicate through MSMQ. I would like to allow user to select certain folder from server in his client app and use ...
-1
votes
0answers
37 views

Sending MSMQ multcast message to a remote machine

I have MSMQ configured on a network machine Windows server 2012R2. I am not finding any syntax how to send multicast message to the network machine. I see it working Send/Receive multicast messages ...
0
votes
0answers
17 views

Sending object with custom property through MSMQ

I have windows service with which I want communicate through another application via MSMQ. Object I want to send from my client app to my service have custom setter like below. [DataContract] public ...
0
votes
0answers
13 views

Can I use windows authentication in IIS for MSMQ over http?

I've installed http support for MSMQ on a server. I also created a private queue on the same server. To protect the MSMQ application in IIS I have turned off anonymous authentication and enabled ...
1
vote
2answers
38 views

Using powershell to create a create and set security via powershell

I am trying to automate the creation of MSMQ queues using powershell I have no problems creating the queue, I just cannot appear to be able to set the permissions correctly I have been following ...
0
votes
1answer
28 views

Is there a way to execute my wpf application using msmq trigger?

My Executable file (C# WPF Solution) is not running properly when being called by MSMQ Trigger. I am sending a notification mesasge to the queue (named sometestname): I have a class called ...
0
votes
0answers
26 views

MSMQ - Error while trying to Receive message

I am new to MSMQ and working on the existing code. Here is my code. bool queueReadStatus = true; while (queueReadStatus) { try { Message message = messageQueue.Receive(...
1
vote
0answers
85 views

Messages in MSMQ queue not being read by Rebus

I'm trying to debug an application where it gets into a state where the MSMQ queue is building up but the messages aren't being handled anymore. My understanding of Rebus/MSMQ is very basic (I've ...
0
votes
1answer
31 views

Programatically Added MSMQ Queues Different From Manual Creation

We are in the process of migrating an app from a Server 2008 set of servers to Server 2016, and since this app has ~75 private MSMQ queues, I wrote a very basic C# utility (just a console app) to get ...
1
vote
0answers
13 views

I get “Remote computer is not available” (MessageQueueException) when trying to read queue of remote server

I am trying to reach into and read the private queues of a remote server. I have tried this locally with success: MessageQueue[] QueueList = MessageQueue.GetPrivateQueuesByMachine("."); foreach(...
1
vote
0answers
17 views

MSMQ with Directory Services integration for PKI implementation

currently, we have a situation. We have MSMQ services hosted which uses self-signed SSL certificates for data encryption and mutual authentication of the publisher / MQ. It actually uses Encryt and ...
0
votes
1answer
19 views

Powershell script for server 2008 to get MSMQ security property values

I'm looking to write a PowerShell script to verify the security configuration of MSMQ on some of our servers, e.g. the contents of the Security tab when I run compmgmt.msc, then go to Computer ...
0
votes
0answers
18 views

public queues with powershell desired state configuration

Any idea on how to make the queue as public in powershell desired state configuration? I dont see the property of queuetype under cmsmqqueue resource. Any help would be appreciated.
1
vote
0answers
98 views

Windows Docker Container MSMQ outqueue messages never reaches destination

UPDATE with Steps to solution: I built a dummy console app that basically just reads and writes from MSMQ. The main issue was ensuring authentication is set on the destination server MSMQ queues ...
1
vote
1answer
76 views

Messages disappearing from message queue

In our software we use the Rebus service bus in combination with Microsoft Message Queueing to do various actions. Since some time there are multiple cases where a message is sent to the queue but ...
0
votes
1answer
39 views

Send message to remote MSMQ using Nservicebus

I am able to add messages to local MSMQ using nservicebus by below code var endpointConfiguration = new EndpointConfiguration("Samples.Msmq.Simple"); var transport = endpointConfiguration....
0
votes
1answer
34 views

Can containerized windows console app add message to host MSMQ

Containers (Docker,etc) are awesome and I am excited on the possibilities it has to offer. My application uses the following (all installed on windows host machine) Sql Server MSMQ Multiple Console ...
1
vote
1answer
50 views

MSMQ poison message means what?

I'm pretty new to this queue service and I don't know what really means poisoned message. I read that is a message you cant consume, but It means you can Peek() and see the details but not Receive() ...
0
votes
0answers
19 views

How to move a message from MSMQ DeadLetterQueue to other custom queue

Using c#,and in order to clean my DeadLetterQueue of those poison messages that can't be received, if I don't wanne remove them, how can I move them to a custom NonReceivableQueue? Thanks.
0
votes
0answers
16 views

MSMQ enumerator.RemoveCurrent exits message queue iteration

I'm facing a problem and can't work it arround. Iterating through the messages queue , I wanna resend or delete some of them, but as soon as I try to remove the current message, it removes the ...
0
votes
0answers
21 views

Check MSMQ Qeue has messages

I'm trying to check if a qeue has any messages but I get always same error : private static bool CheckPendingMessages() { bool result= false; try { var ...
-1
votes
1answer
29 views

Handle MSMQ Send() message fails, not to lose message

I've just started to implement MSMQ, and I'm facing a situation that I don't know how to handle. If I send a message to my MSMQ service, but because of whatever Send method throws an error, how can I ...
0
votes
0answers
21 views

I want to use MSMQ Pub/Sub in Java

I got some information from the search, but I wasn't satisfied. We have also confirmed that the use of http://www.codeplex.com/MsmqJava may cause problems. Like a memory leak. I wonder if there is ...
0
votes
1answer
38 views

Does NGiNX Ingress Controller of Azure Kubernetes support multiple protocol

I am looking for a one stop solution to support multiple protocol request to my backend, such as MSMQ, HTTP, MQTT. Can I achieve this using Azure Kubernetes NGiNX ingress controller?
2
votes
1answer
56 views

C# RabbitMQ Design Approach

I am just getting started with RabbitMQ, because on a website I am working on we want to de-couple some of the resource intensive tasks such as sending emails, generating PDF's etc. I have started by ...
3
votes
1answer
75 views

Random Messages Not Being Handled in Rebus

I have an odd issue with my implementation of Rebus which has been working for the past couple of years without any issue, and I am trying to figure out the scope of the problem and where to focus my ...
0
votes
1answer
30 views

Retrieving a Struct from MSMQ and convert it back to struct format in C++

I have pushed a custom struct into MSMQ using MQSendMessage API and also I am successfully able to retrieve the message from the queue using MQReceiveMessage API. But the information is available in ...
0
votes
1answer
47 views

Access internal classes for inherited type

Looking to extend the BeginReceive method, and the event handler for MessageQueue.ReceiveCompleted to pass along by REFERENCE a TCPClient object. As is, I can pass it in as an object, but it will be ...
0
votes
1answer
30 views

MSMQ MessageQueue.BeginReceive(TimeSpan, Object)

I would like to pass a custom parameter to the ReceiveCompleted event handler via the ReceiveCompletedEventArgs object. I don't want a timeout, but it seems as though there is no constructor (other ...
-2
votes
1answer
169 views

Difference Between Remove and Uninstall WindowsFeature [closed]

I am running Windows Server 2016, and added a Windows Feature via the Powershell command: Add-WindowsFeature NET-WCF-MSMQ-Activation45 If I were to remove/uninstall it, which should I be using? ...
1
vote
1answer
46 views

File system based persistence or MSMQ

So in a legacy project i work on the following strategy is used for data(large amounts) persistence.It was working fine upto a point but now looks like it has hit its limits. I am considering a design ...
1
vote
1answer
46 views

WCF, MSMQ and independent transactions on 2 queues

I have built a WCF service that processes an MSMQ, let's call the service QueueService. The Contract looks like this: // Each call to the service will be dispatched separately, not grouped into ...
0
votes
0answers
27 views

How to fix MSMQOutgoingQueueManagement for a C# application

I have two applications, one using Visual Basic and one using C#. Both have an added reference to MSMQ and in both I am creating an instance of MSMQOutgoingQueueManagement, this works fine in the VB ...
0
votes
1answer
167 views

Multicast MSMQ inside Docker Windows Container

We have a legacy windows project, that we would like to containerize. This uses MSMQ multicasting (part of Telerik's obsolete ORM). Inside my Windows Container, If I attempt Enable-...
0
votes
0answers
50 views

Update Permissions on existing MSMQueue via powershell.

I've searched many places and cannot find a way to modify permissions on an MSMQueue that is already existing. Typically permissions are set during the creation of the queue. It did not happen in ...
0
votes
2answers
49 views

Service Fabric - Local Cluster - Queuing

I am in a situation where I can use Service Fabric (locally) but cannot leverage Azure Service Bus (or anything "cloud"). What would be the corollary for queuing/pub-sub? Service Fabric is allowed ...
0
votes
0answers
23 views

MSMQ scheduler triggers on 1 minute

Using the below code created a console application and schedule the task for 1 minute.Its working fine.But now the expectation is whenever the message received from msmq(Private queue), then this ...
1
vote
0answers
33 views

Why would MessageQueue.Send(x) fail silently on a local private queue?

My application uses a local private MessageQueue(@".\private$\queuename") to sequence messages from its multiple threads, and has been doing so successfully for a long time. Recently, an error ...
0
votes
1answer
96 views

How MSMQ works with Hangfire. Can anyone explain the flow?

Can anyone explain how will message be received by MSMQ queue and how hangfire will process that request?
1
vote
0answers
56 views

MSMQ triggers, are they different then using BeginPeek and EndPeek. C#

I'm trying to implement MSMQ triggers. All the article I see for C# contains or describe it using BeginPeek or BeginReceive methods. The following link contains VB code for triggers and rules ...
1
vote
1answer
69 views

GetPrivateQueuesByMachine error when being called

I am trying to simply get a list of all the Private Queues on the Server from my PC. The error I am getting is "Access to Message Queuing system is denied." I have given full access to (Everyone, ...
1
vote
0answers
23 views

How to detect empty msmq queue and close wcf service host after that

I have windows service which periodically create servicehost with msmq binding. I want to process all or defined number o messages from msmq and gracefully close the host. But i cant find simple ...
1
vote
1answer
135 views

XmlMessageFormatter is generating messages with all zeros in the body

Simple implementation; single process writing (although multiple tasks may write asynchronously) single process reading. Most of the time it seems to be working fine, but every once in a while we get ...
0
votes
0answers
41 views

Representing Errors in an AsyncSeq Generator

I've recently been working on a project which interfaces with some MSMQ message queues. The System.Messaging API is quite tragic, especially if you want to work with the queue as something like an ...
0
votes
0answers
91 views

When does MessageQueueTransactionType Single / Automatic work?

I have an app that receives from a transactional MSMQ queue. The Automatic mode worked for a queue on the local machine, but not the Single mode. For a remote queue, it was the other way around. ...
0
votes
1answer
65 views

Is it possible to send messages to msmq from azure web app

I would like to setup an azure web service and an azure vm that is running msmq. Can I send messages to the vm's msmq? I noticed in the documentation for msmq on azure, that sending messages with http ...
0
votes
0answers
41 views

Message Queue stops working, ServiceNotAvailable exception

I am using MSMQ, and during the last days, on my local computer, out of the blue, the queue stopped working multiple times. Reboot did mostly fix the issue, for an hour or so, until it stopped working ...