## Configuring FUSE Message Broker

### XML configuration

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 ``InstallDir`/conf` directory.

### Connectors

The `activemq.xml` file allows you to configure transport and network connectors for FUSE Message Broker, as shown below:

Example 2.1. 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 just auto discover the 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.

Figure 2.4. Transport Connectors

A broker uses a network connector to communicate with another broker.

Figure 2.5. Network Connectors

| Note
For more details on transport and network connectors, see the Connectivity Guide guide.