|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hornetq.api.jms.HornetQJMSClient
public class HornetQJMSClient
A utility class for creating HornetQ client-side JMS managed resources.
Method Summary | |
---|---|
static org.hornetq.jms.client.HornetQConnectionFactory |
createConnectionFactoryWithHA(DiscoveryGroupConfiguration groupConfiguration,
JMSFactoryType jmsFactoryType)
Create a HornetQConnectionFactory which will receive cluster topology updates from the cluster as servers leave or join and new backups are appointed or removed. |
static org.hornetq.jms.client.HornetQConnectionFactory |
createConnectionFactoryWithHA(JMSFactoryType jmsFactoryType,
TransportConfiguration... initialServers)
Create a HornetQConnectionFactory which will receive cluster topology updates from the cluster as servers leave or join and new backups are appointed or removed. |
static org.hornetq.jms.client.HornetQConnectionFactory |
createConnectionFactoryWithoutHA(DiscoveryGroupConfiguration groupConfiguration,
JMSFactoryType jmsFactoryType)
Create a HornetQConnectionFactory 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 org.hornetq.jms.client.HornetQConnectionFactory |
createConnectionFactoryWithoutHA(JMSFactoryType jmsFactoryType,
TransportConfiguration... transportConfigurations)
Create a HornetQConnectionFactory which creates session factories using a static list of transportConfigurations, the HornetQConnectionFactory is not updated automatically as the cluster topology changes, and no HA backup information is propagated to the client |
static Queue |
createQueue(String name)
Creates a client-side representation of a JMS Queue. |
static Topic |
createTopic(String name)
Creates a client-side representation of a JMS Topic. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.hornetq.jms.client.HornetQConnectionFactory createConnectionFactoryWithHA(DiscoveryGroupConfiguration groupConfiguration, JMSFactoryType jmsFactoryType)
discoveryAddress
- The UDP group address to listen for updatesdiscoveryPort
- the UDP port to listen for updates
public static org.hornetq.jms.client.HornetQConnectionFactory createConnectionFactoryWithoutHA(DiscoveryGroupConfiguration groupConfiguration, JMSFactoryType jmsFactoryType)
discoveryAddress
- The UDP group address to listen for updatesdiscoveryPort
- the UDP port to listen for updates
public static org.hornetq.jms.client.HornetQConnectionFactory createConnectionFactoryWithHA(JMSFactoryType jmsFactoryType, TransportConfiguration... initialServers)
initialServers
- The initial set of servers used to make a connection to the cluster. Each one is tried in turn until a successful connection is made. Once
a connection is made, the cluster topology is downloaded and the rest of the list is ignored.
public static org.hornetq.jms.client.HornetQConnectionFactory createConnectionFactoryWithoutHA(JMSFactoryType jmsFactoryType, TransportConfiguration... transportConfigurations)
transportConfigurations
-
public static Topic createTopic(String name)
name
- the name of the topic
public static Queue createQueue(String name)
name
- the name of the queue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |