FUSE Message Broker is configured using XBean XML. XBean is an extension of the Spring Framework that has allowed the developers of Apache ActiveMQ to develop a syntax that is less verbose and yet more expressive than basic Spring configuration.
Configuration is stored in the activemq.xml
file in the
directory.
InstallDir
/conf
The activemq.xml
file allows you to configure transport and
network connectors for FUSE Message Broker, as shown below:
Example 2.3. Defining Transport and Network Connectors
<transportConnectors> <transportConnector name="openwire" uri="tcp://localhost:61616" discoveryUri="multicast://default"/> <transportConnector name="ssl" uri="ssl://localhost:61617"/> <transportConnector name="stomp" uri="stomp://localhost:61613"/> <transportConnector name="xmpp" uri="xmpp://localhost:61222"/> </transportConnectors> <networkConnectors> <!-- by default auto discover other brokers <networkConnector name="default-nc" uri="multicast://default"/>--> <!-- <networkConnector name="host1 and host2" uri="static://(tcp://host1:61616,tcp://host2:61616)"/> --> </networkConnectors>
Transport connectors are used for communication between clients and brokers.
A broker uses a network connector to communicate with another broker.
![]() | Note |
---|---|
For more details on transport and network connectors, see the Connectivity Guide guide. |