Embedding a broker involves deploying an instance of FUSE Message Broker inside a JVM.
![]() | Note |
|---|---|
You can also simply run a standalone broker by running the activemq script from the |
To run the embedded broker:
In a new command window, change directory to the example directory in the FUSE Message Broker installation directory.
Type the following:
ant embedBroker
The embedBroker Ant target points to the
EmbeddedBroker.java class, which creates a new broker as
shown in Example 3.1.