๐ŸŽ‰ First release HZN Queue Console 1.0 is out. Get 30% off with code FIRSTRELEASE30โ€” limited number of customersSee pricing โ†’
Server Connections

Server Connections

HZN Queue Console lets you connect to multiple brokers simultaneously and switch between them instantly. Each connection is stored locally โ€” credentials are kept in your OS keychain, never in plain text.

Adding a Server

Click Add Server (or the + icon in the server panel) to open the connection dialog.

Required fields

FieldDescription
NameA display label for this connection (e.g. Production RabbitMQ)
HostnameScheme and host โ€” e.g. http://my-broker.internal or https://my-broker.internal. No port, credentials or API path; a base path is allowed for a broker behind a reverse proxy (https://my-broker.internal/rabbitmq).
PortManagement API port (RabbitMQ: 15672, ActiveMQ: 8161). Behind a reverse proxy this is usually 443 or 80.
Broker TypeRabbitMQ, ActiveMQ Classic, or ActiveMQ Artemis
Username / PasswordManagement API credentials

Optional fields

FieldDescription
AMQP portRabbitMQ only, and used by Spy Mode and AsyncAPI recording alone โ€” every other view reads through the management API. Leaving it empty switches those two features off for this server; the console does not fall back to 5672, because plenty of brokers do not expose an AMQP listener to your machine at all. It is a separate listener from the hostnameโ€™s port: Spy Mode dials the host directly and bypasses any reverse proxy. See Brokers published only on 443.
EnvironmentTag the server as PROD, ACC, TEST, DEV, or LOCAL. Color-coded in the UI to prevent mistakes.
GroupFree-text label to group related servers together in the panel

What the dialog checks

The dialog validates the settings as you type and shows the two URLs it will build from them โ€” the management API URL and the Spy Mode target โ€” so a wrong port or a stray path is visible before anything is sent.

  • Red entries block saving: a missing scheme, a port typed into the hostname, an amqp:// URL, credentials in the URL, an API path that the app appends itself, or an AMQP port equal to the management port.
  • Amber entries are saved but flag a likely mistake: the AMQP port used as the management port, a scheme and port that disagree about TLS, guest on a remote RabbitMQ, or a production broker reached over plain http://.
  • Most entries come with a one-click correction.

Brokers published only on 443

Many brokers are reachable from a workstation only as https://myserver/ โ€” a reverse proxy on 443, no port in the URL, and the brokerโ€™s own management port (15672) closed to the outside. Hosted services such as CloudAMQP work this way, and it is the most common reason a connection test times out.

The dialog flags it: entering a DNS hostname with the brokerโ€™s default port produces โ€œA remote broker rarely exposes 15672 โ€” 443 is far more likelyโ€, with a one-click Use https + 443 correction. The rule of thumb: if the management UI opens in a browser as https://myserver/ without a port, the console needs https://myserver and port 443.

Fill the dialog in like this:

FieldValue
Hostnamehttps://myserver (add the base path if there is one, e.g. https://myserver/rabbitmq)
Management port443 โ€” the proxyโ€™s port, not 15672. This is the normal value for a broker behind HTTPS.
AMQP portUsually still 5672 โ€” see below. Leave it empty if the AMQP listener is not reachable from your machine; Spy Mode then stays off and nothing else changes.

The management API works straight away: the app requests https://myserver:443/api/overview through the proxy.

The AMQP port does not follow the hostname. Spy Mode needs a real AMQP connection, so it dials myserver:<AMQP port> directly โ€” the proxy is not involved. Three cases:

  1. AMQP on its own port โ€” the usual case. Enter 5672, or the port your platform team gives you. A management API on 443 does not move the AMQP listener; it stays where the broker put it.
  2. Everything tunnelled through 443. Where only 443 is open outbound, a site may publish AMQP on 443 as well โ€” the proxy tells HTTPS and AMQP apart during the TLS handshake (ALPN/SNI), so one port serves both. Entering 443 here is valid, and the dialog accepts it even when it equals the management port. It only reaches the broker if that front door terminates TLS and forwards plain AMQP: Spy Mode does not negotiate TLS, so an AMQPS endpoint fails the handshake.
  3. AMQPS on 5671. Not supported by Spy Mode for the same reason โ€” ask for the plaintext port.

Everything except Spy Mode and AsyncAPI recording keeps working regardless of what you put here, so a broker whose AMQP port is unreachable is still fully usable for browsing, publishing, search and export. If the port is not reachable from your machine, clear the field: the console then reports Spy Mode as off โ€” in the dialog, in the connection test and on the Spy Mode button โ€” instead of dialling a port that is not there.

Testing the Connection

Click Test Connection before saving. It reports two independent verdicts, because the two ports are two independent listeners:

VerdictWhat was tried
Management APIA live request to the management URL, with these credentials. This is what the whole app runs on.
AMQP portA real AMQP connection to the host and AMQP port, opened exactly the way Spy Mode does, then closed. RabbitMQ only, and skipped entirely when the port is left empty โ€” the test then reports not set, Spy Mode off rather than a failure, because there was nothing to dial.

A failed test names the cause (wrong port, auth failure, DNS, TLS, firewall) and suggests what to change. The AMQP verdict distinguishes not reachable โ€” nothing answered on that port โ€” from refused, where the listener answered but rejected the credentials or the vhost; the second is a permissions problem, not a connectivity one.

A failing โ€” or unset โ€” AMQP port only disables Spy Mode and AsyncAPI recording. Browsing, publishing, search, export and monitoring all run over the management API and are unaffected, so the server is still worth saving. With no AMQP port, the Spy Mode button on a queue says why it cannot start.

Findings appear when you ask for them

The dialog does not flag anything while you type โ€” a half-written hostname is not a mistake yet. Pressing Test connection or Add server / Save changes runs the checks and shows what it found; from then on the list updates live, so corrections are seen to land. Neither button is ever disabled: pressing them is how you ask what is wrong.

Broker Types

RabbitMQ 3.x / 4.x

Connects via the RabbitMQ Management HTTP API. Requires the rabbitmq_management plugin to be enabled:

rabbitmq-plugins enable rabbitmq_management

Default management port: 15672.

ActiveMQ Classic 5.x

Connects via the ActiveMQ Web Console REST API. The Jolokia endpoint must be reachable.

Default management port: 8161.

ActiveMQ Artemis 2.x

Connects via the Artemis Management Console REST API.

Default management port: 8161.

Exporting and Importing Servers

Passwords live in your OS keychain, so copying servers.json to another machine leaves the credentials behind. Export servers is the way to move a set of connections โ€” credentials included โ€” from one installation to another.

Both actions are in the โ‹ฎ menu at the top of the server panel.

Exporting

  1. File name โ€” prefilled with hzn-queue-console-servers-<date>.json. Change it to whatever names the set: brokers-new-laptop, prod-only. The .json suffix is added if you leave it off, and characters a filesystem would refuse are replaced.
  2. Tick the servers to include. Everything is ticked to begin with.
  3. Include passwords โ€” on by default. Turn it off to share connection settings without the credentials; the importing side then keeps whatever passwords it already has.
  4. Encrypt the file with a secret โ€” on by default. The payload is sealed with AES-256-GCM under a key derived from your secret (PBKDF2-HMAC-SHA256, 210,000 iterations). The salt, IV and iteration count travel in the file; the secret does not.
  5. Export writes the file to your downloads.

An unencrypted export that includes passwords contains them in plain text, and the dialog says so in as many words. Treat that file exactly as you would treat the passwords themselves.

There is no recovery path for a lost secret โ€” the file cannot be opened without it.

Importing

  1. Drop the file on the dialog, or browse for it.
  2. If the file is encrypted, enter its secret. A wrong secret and a damaged file are indistinguishable, and both are reported the same way.
  3. Tick the servers to import. Each row says what it will do: New, or Overwrites <name>.
  4. Import applies only the ticked entries.

An imported server replaces the one it matches, credentials included, and that cannot be undone. Matching is by id first, then by name โ€” so a server exported from another machine still lands on the one you recognise here, even though the two installations gave it different ids. A match keeps the existing id, which is what favourites, panel ordering and the active-server selection are stored against; re-importing therefore leaves all three intact.

An entry with no password never clears a stored one: servers that already exist here keep the password they have, and new ones simply arrive without one.

Neither action is available in the live demo.

Switching Between Servers

Click any server in the left panel to make it active. All views (queue list, message browser) update immediately to reflect the selected broker.

Editing and Deleting

Right-click a server in the panel (or click the โ€ฆ menu) to rename, edit credentials, or delete it. Deleting also removes the stored credentials from the OS keychain.

Security

Passwords are never written to disk in plain text. On macOS they go to Keychain, on Windows to the Windows Credential Manager, and on Linux to the secret service (Libsecret / KWallet).