Package | Description |
---|---|
org.hornetq.api.core.client |
Core Client Messaging API.
|
org.hornetq.core.client.impl |
Modifier and Type | Method and Description |
---|---|
DiscoveryGroupConfiguration |
ServerLocator.getDiscoveryGroupConfiguration()
The discovery group configuration
|
Modifier and Type | Method and Description |
---|---|
static ServerLocator |
HornetQClient.createServerLocator(boolean ha,
DiscoveryGroupConfiguration groupConfiguration)
Create a ServerLocator which creates session factories from a set of live servers, no HA
backup information is propagated to the client The UDP address and port are used to listen for
live servers in the cluster
|
static ServerLocator |
HornetQClient.createServerLocatorWithHA(DiscoveryGroupConfiguration groupConfiguration)
Create a ServerLocator which will receive cluster topology updates from the cluster as servers
leave or join and new backups are appointed or removed.
|
static ServerLocator |
HornetQClient.createServerLocatorWithoutHA(DiscoveryGroupConfiguration groupConfiguration)
Create a ServerLocator which creates session factories from a set of live servers, no HA
backup information is propagated to the client
|
Modifier and Type | Method and Description |
---|---|
DiscoveryGroupConfiguration |
ServerLocatorImpl.getDiscoveryGroupConfiguration() |
Constructor and Description |
---|
ServerLocatorImpl(boolean useHA,
DiscoveryGroupConfiguration groupConfiguration)
Create a ServerLocatorImpl using UDP discovery to lookup cluster
|
ServerLocatorImpl(Topology topology,
boolean useHA,
DiscoveryGroupConfiguration groupConfiguration)
Create a ServerLocatorImpl using UDP discovery to lookup cluster
|
Copyright © 2015 JBoss, a division of Red Hat. All Rights Reserved.