All configuration examples in this sections are done with SwiftMQ Explorer. After finishing the configuration, the changes need to be saved to the routerconfig.xml. This can be done by selecting the router node, right click, "Save this Configuration":
After save have a look at <swiftmqinstall>/config/router1/routerconfig.xml to see the XML configuration which is document HERE.
An AMQP listener listens on a specific port and accepts AMQP connections. Per default and also as a result of a configuration upgrade the AMQP Swiftlet defines 2 AMQP listeners:
The default configuration of router2 of the SwiftMQ Router distributions use ports 5772/5771. All listeners handle SASL authentication as well.
SASL is enabled by default. If it will be disabled, the connection must directly start with an AMQP protocol header. A listener is configured by a connection template which is referenced by its name. See next section.
A new listener on a different port can be created by selecting the "Listeners" entity, right click, "Create a new Entity":
Connection templates are pre-configured templates which are referenced from AMQP listeners. They are located under the "Declarations" entity:
Connection template "default" does not need to be created because it refers to a connection template with all default values. The above "ssl" connection template is a default template with a different socket factory (JSSESocketFactory for SSL).
A new connection template can be created by selecting the "Connection Templates" entity, right click, "Create a new Entity":
For a description of all attributes look HERE.