This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Networks of Brokers

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
uri="static:(tcp://localhosthost1:61616,tcp://remotehosthost2:61616,tcp://..)"

There are some useful properties you can set on a static network connector for retries:

property

default

description

initialReconnectDelay

1000

time(ms) to wait before attempting a reconnect (if useExponentialBackOff is false)

maxReconnectDelay

30000

time(ms) to wait before attempting to re-connect

useExponentialBackOff

true

increases time between reconnect for every failure in a reconnect sequence

backOffMultiplier

2

multipler used to increase the wait time if using exponential back off

e.g.

Code Block

uri="static:(tcp://host1:61616,tcp://host2:61616)?maxReconnectDelay=5000&useExponentialBackOff=false"

NetworkConnector Properties

...