LibraryToggle FramesPrintFeedback

Static Discovery Agent

Overview

The static discovery agent does not truly discover the available brokers. It uses an explicit list of broker URLs to specify the available brokers. Brokers are not involved with the static discovery agent. The client only knows about the brokers that are hard coded into the agent's URI.

Using the agent

The static discovery agent is a client-side only agent. It does not require any configuration on the brokers that will be discovered.

To use the agent, you simply configure the client to connect to a broker using a discovery protocol that uses a static agent URI.

The static discovery agent URI conforms to the syntax in Example 14.

Example 14. Static Discovery Agent URI Format

static://(URI1,URI2,URI3,...)

Example

Example 15 shows a discovery URI that configures a client to use the static discovery agent to connect to one member of a broker pair.

Example 15. Discovery URI using the Static Discovery Agent

discovery://(static://(tcp://localhost:61716,tcp://localhost:61816))

Comments powered by Disqus