Red Hat DocumentationFuse Message BrokerToggle FramesPrintFeedback

Starting a Broker on Windows

Overview

On Windows the command to start a Fuse Message Broker broker is simple. It allows you to start a broker instance as a foreground process using the specified configuration.

The Unix start command provides more options. See ????.

Starting a foreground broker

On Windows, the activemq tool to starts an instance of Fuse Message Broker in the foreground. The syntax for the command is shown in Example 14.

Example 14. Syntax for Starting a Broker on Windows

activemq {[xbean:file:confURI [?validate= {[true] | [false]} ] ] | [broker:brokerURI] | [properties:propURI]}


Tip

For a full description of the parameters see ????.

For example, to start a broker using the default broker configuration, enter:

c:\fmq> activemq xbean:file:conf/activemq.xml

You can optionally disable schema validation of the configuration file using the validate flag, as follows:

c:\fmq> activemq xbean:file:conf/activemq.xml?validate=false

Starting a background broker

On Windows the activemq command does not provide a mechanism for launching a broker instance as a background process. To start a broker in the background you can either:

  • install the broker instance as a Windows service. See ????.

  • Use the Windows start command to spawn the broker in a new command window.

Comments powered by Disqus