QueueProxy for MSMQ

QueueProxy is a small piece of software that can be run on destination machine. QueueExplorer communicates with QueueProxy remotely instead of using standard MSMQ connection, which is often hard to set up because of permission/firewall issues.

Also, when QueueExplorer connects to QueueProxy, there are no remote Limitations.

You can run QueueProxy only when needed, or constantly as a service. The user account under which QueueProxy runs must have correct MSMQ access rights.

Download

You can download QueueProxy from Cogin web site:

https://www.cogin.com/QueueExplorer/QueueProxy.php

QueueProxy port

QueueProxy listens on TCP port 39010 by default. Use -port to choose another port, and enter the same port in the QueueExplorer connection settings. Allow the selected port through the firewall to receive connections from QueueExplorer. Install.bat also adds a firewall rule.

Run QueueProxy on demand

Double-click QueueProxy.exe to run with the default port and no access key. To run it once with a custom port and access key, use a command prompt:

QueueProxy.exe run -port:39011 -accessKey:my-access-key

Keep the console open while using QueueProxy, and press Ctrl+C to stop it. In QueueExplorer, enter port 39011 and the same access key.

Run QueueProxy as a service

To run QueueProxy as a Windows service, install it first from command line, then start it:

QueueProxy.exe install
QueueProxy.exe start

To install with a custom port and access key, use:

QueueProxy.exe install --sudo -port:39011 -accessKey:my-access-key
QueueProxy.exe start

The port and access key supplied during installation are retained for subsequent service starts. In QueueExplorer, enter the matching port and access key. --sudo requests administrator privileges for installation.

Or run Install.bat to install using the default settings and add a firewall rule.

QueueProxy parameters

These connection options apply when running QueueProxy on demand or installing it as a service:

-port:<number>

TCP listening port. The default is 39010; valid values are 1–65535. Configure QueueExplorer to use the same port.

-accessKey:<key>

Access key that QueueExplorer must provide to connect. The default is no access key, so access-key authentication is disabled when this option is omitted. Keys are case-sensitive; empty keys and keys containing any whitespace are rejected. Use colon syntax without quotes, for example -accessKey:my-access-key. Leave the Access key field empty in QueueExplorer when the server has no key configured.

For example:

QueueProxy.exe run -port:39011 -accessKey:my-access-key
QueueProxy.exe install --sudo -port:39011 -accessKey:my-access-key

Windows service commands and options

The remaining commands and options manage the Windows service and its execution account. The service-account password is not the QueueProxy access key. -username and -password specify the Windows account under which the service runs; QueueExplorer uses -accessKey to authenticate its connection independently of that account.

QueueProxy.exe [verb] [-option:value] [-switch]

install Installs the service

-username

The username to run the service

-password

The Windows service-account password (not the access key)

-instance

An instance name if registering the service multiple times

--autostart

The service should start automatically (default)

--disabled

The service should be set to disabled

--manual

The service should be started manually

--delayed

The service should start automatically (delayed)

--localsystem

Run the service with the local system account

--localservice

Run the service with the local service account

--networkservice

Run the service with the network service permission

--interactive

The service will prompt the user at installation for the service credentials

--sudo

Prompts for UAC if running on Vista/W7/2008

-servicename

The name that the service should use when installing

start Starts the service if it is not already running

-instance

The instance to start

stop Stops the service if it is running

-instance

The instance to stop

uninstall Uninstalls the service

-instance

An instance name if registering the service multiple times

--sudo

Prompts for UAC if running on Vista/W7/2008