Red Hat AMQ 6
As of February 2025, Red Hat is no longer supporting Red Hat AMQ 6. If you are using AMQ 6, please upgrade: Migrating to AMQ 7.이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 8. Discovering Brokers
Abstract
- discovery agents—components that advertise the brokers available to other members of a messaging applicaiton
- discovery URI—a URI that looks up all of the discoverable brokers and presents them as a list of actual URIs for use by the client or network connector
8.1. Discovery Agents 링크 복사링크가 클립보드에 복사되었습니다!
Abstract
transportConnector
element as shown in Example 8.1, “Enabling a Discovery Agent on a Broker”.
Example 8.1. Enabling a Discovery Agent on a Broker
<transportConnectors> <transportConnector name="openwire" uri="tcp://localhost:61716" discoveryUri="multicast://default" /> </transportConnectors>
<transportConnectors>
<transportConnector name="openwire"
uri="tcp://localhost:61716"
discoveryUri="multicast://default" />
</transportConnectors>
discoveryUri
attribute on the transportConnector
element is initialized to multicast://default
.
8.1.1. Fuse Fabric Discovery Agent 링크 복사링크가 클립보드에 복사되었습니다!
Abstract
Overview 링크 복사링크가 클립보드에 복사되었습니다!
URI 링크 복사링크가 클립보드에 복사되었습니다!
Example 8.2. Fuse Fabric Discovery Agent URI Format
fabric://GID
fabric://GID
Configuring a broker 링크 복사링크가 클립보드에 복사되었습니다!
Configuring a client 링크 복사링크가 클립보드에 복사되었습니다!
Example 8.3. Client Connection URL using Fuse Fabric Discovery
discovery://(fabric://nwBrokers)
discovery://(fabric://nwBrokers)
nwBrokers
broker group and generate a list of brokers to which it can connect.
8.1.2. Static Discovery Agent 링크 복사링크가 클립보드에 복사되었습니다!
Abstract
Overview 링크 복사링크가 클립보드에 복사되었습니다!
Using the agent 링크 복사링크가 클립보드에 복사되었습니다!
Example 8.4. Static Discovery Agent URI Format
static://(URI1,URI2,URI3,...)
static://(URI1,URI2,URI3,...)
Example 링크 복사링크가 클립보드에 복사되었습니다!
Example 8.5. Discovery URI using the Static Discovery Agent
discovery://(static://(tcp://localhost:61716,tcp://localhost:61816))
discovery://(static://(tcp://localhost:61716,tcp://localhost:61816))
8.1.3. Multicast Discovery Agent 링크 복사링크가 클립보드에 복사되었습니다!
Abstract
Overview 링크 복사링크가 클립보드에 복사되었습니다!
URI 링크 복사링크가 클립보드에 복사되었습니다!
Example 8.6. Multicast Discovery Agent URI Format
multicast://GroupID
multicast://GroupID
Configuring a broker 링크 복사링크가 클립보드에 복사되었습니다!
transportConnector
element's discoveryUri
attribute to a mulitcast discovery agent URI as shown in Example 8.7, “Enabling a Multicast Discovery Agent on a Broker”.
Example 8.7. Enabling a Multicast Discovery Agent on a Broker
<transportConnectors> <transportConnector name="openwire" uri="tcp://localhost:61716" discoveryUri="multicast://default" /> </transportConnectors>
<transportConnectors>
<transportConnector name="openwire"
uri="tcp://localhost:61716"
discoveryUri="multicast://default" />
</transportConnectors>
default
.
Configuring a client 링크 복사링크가 클립보드에 복사되었습니다!
Example 8.8. Client Connection URL using Multicast Discovery
discovery://(multicast://default)
discovery://(multicast://default)
default
multicast group and generate a list of brokers to which it can connect.
8.1.4. Zeroconf Discovery Agent 링크 복사링크가 클립보드에 복사되었습니다!
Abstract
Overview 링크 복사링크가 클립보드에 복사되었습니다!
URI 링크 복사링크가 클립보드에 복사되었습니다!
Example 8.9. Zeroconf Discovery Agent URI Format
zeroconf://GroupID
zeroconf://GroupID
Configuring a broker 링크 복사링크가 클립보드에 복사되었습니다!
transportConnector
element's discoveryUri
attribute to a mulitcast discovery agent URI as shown in Example 8.10, “Enabling a Multicast Discovery Agent on a Broker”.
Example 8.10. Enabling a Multicast Discovery Agent on a Broker
<transportConnectors> <transportConnector name="openwire" uri="tcp://localhost:61716" discoveryUri="multicast://NEGroup" /> </transportConnectors>
<transportConnectors>
<transportConnector name="openwire"
uri="tcp://localhost:61716"
discoveryUri="multicast://NEGroup" />
</transportConnectors>
NEGroup
.
Configuring a client 링크 복사링크가 클립보드에 복사되었습니다!
Example 8.11. Client Connection URL using Zeroconf Discovery
discovery://(zeroconf://NEGroup)
discovery://(zeroconf://NEGroup)
NEGroup
multicast group and generate a list of brokers to which it can connect.