some application are using with the feature installed called MSMQ which allow to the application to communicate with other queues and to send messages with its installed clients .
to avoid from many messages increasing in the outgoing queue it’s recommended to monitor it ! so you’ll know on time 🙂 if your’e having any problem related.
and it can be done simply with powershell script ,which will tell you exactly what’s going on inside your queue you’re managed.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
$OutMSMQReport = @() $outQue = Get-MsmqOutgoingQueue | ?{$_.State -eq "MQ_QUEUE_STATE_CONNECTED"} foreach ($oq in $outQue) { $hostname = $oq.connectionhost $Qname = $oq.DestinationQueueFormatName $MessageCount = $oq.MessageCount $State = $oq | Select -ExpandProperty State $time = get-date -format yyy-MM-dd/HH:mm:ss $row = new-object System.Object $row | Add-Member -type NoteProperty -Name ServerName -Value $hostname $row | Add-Member -type NoteProperty -Name QueueName -Value $Qname $row | Add-Member -type NoteProperty -Name MessageCount -Value $MessageCount $row | Add-Member -type NoteProperty -Name State -Value $State $row | Add-Member -type NoteProperty -Name Time -Value $time.ToString() $OutMSMQReport += $row } $OutMSMQReport |
what about the Private Queues ?
(Visited 1,259 times, 1 visits today)