LibraryToggle FramesPrintFeedback

You can deploy your broker using a blueprint configuration file, where the root element is {}blueprint. The broker element is a child of the blueprint element and the broker's namespace is

For example, the following blueprint configuration instantiates a broker named simple-blueprint, which creates an Openwire connector on the IP port 61001:

<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns=""
    <broker xmlns=""
            <transportConnector name="openwire" uri="tcp://localhost:61001"/>

It is not necessary to specify schema locations in the configuration. But if you are editing the configuration file with an XML editor, you might want to add the schema locations in order to support schema validation and content completion in the editor. For the preceding example, you could specify the schema locations as follows:

<blueprint xmlns=""

Blueprint is a dependency injection framework, defined by the OSGi standard, which is similar to Spring in many respects. For more details about blueprint, see The Blueprint Container.

Comments powered by Disqus
loading table of contents...