In this tutorial you will:
Create a new Fuse Message Broker configuration file.
Edit the default configuration for you broker.
Create a new Fuse Message Broker instance using the configuration file.
This tutorial requires that you have Fuse Message Broker installed into a folder that you have read/write access.
To create a new broker instance:
Copy the default Fuse Message Broker configuration file from
toInstallDir/conf/activemq.xml.InstallDir/conf/activemq-tutorial.xmlOpen
in an XML editor.InstallDir/conf/activemq-tutorial.xmlLocate the following line:
<transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
Change the line as follows:
<transportConnector name="openwire" uri="tcp://0.0.0.0:61600"/>
Save the file.
Open a command prompt at
.InstallDirEnter the following command:
- Windows
bin\activemq-admin.bat create --amqconf conf\activemq-tutorial.xml c:\tutorial- *nix
bin/activemq-admin create --amqconf conf/activemq-tutorial.xml ~/tutorial
The activemq-admin create command creates a new instance of Fuse Message Broker in the specified location. To do this it creates a new directory containing the following:
bin—scripts to start the brokertutorial.battutorial
conf—configuration files for the brokeractivemq.xmlbroker.tscredentials.propertiesjetty.xmlbroker.kscamel.xmljetty-realm.propertieslog4j.properties
The --amqconf parameter specifies the
Fuse Message Broker configuration file to use for the new broker instance.







