Sun Java System Message Queue 4.2 Administration Guide

The Admin Connection Factory

Message Queue also provides, as a convenience, an AdminConnectionFactory class that hides the details of the JMX Service URL and JMX connector stub. The Admin Connection Factory uses the Message Queue Port Mapper service to get the relevant JMX Service URL (regardless of the form being used) and thereby obtain a JMX connector stub. JMX applications that use the Admin Connection Factory only need to know the broker's host and Port Mapper port. The scheme is shown in the following figure.

Figure D–3 Obtaining a Connector Stub from an Admin Connection Factory

Figure showing the use of an Admin Connection
factory to obtain a connector stub.

For programmatic details, see Obtaining a JMX Connector from an Admin Connection Factory in Sun Java System Message Queue 4.2 Developer’s Guide for JMX Clients