FileDocCategorySizeDatePackage
JMSAvailabilityConfig.javaAPI DocGlassfish v2 API4140Fri May 04 22:30:34 BST 2007com.sun.appserv.management.config

JMSAvailabilityConfig

public interface JMSAvailabilityConfig implements ConfigElement, PropertiesAccess
Represents the <jms-availability> element.
since
AppServer 9.0
see
AvailabilityServiceConfig

Fields Summary
public static final String
J2EE_TYPE
The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}.
Constructors Summary
Methods Summary
public booleangetAvailabilityEnabled()
This boolean flag controls whether the MQ cluster associated with the application server cluster is HA enabled or not. If this attribute is "false", then the MQ cluster pointed to by the jms-service element is considered non-HA. JMS Messages are not persisted to a highly available store. If this attribute is "true" the MQ cluster pointed to by the jms-service element is a HA cluster and the MQ cluster uses the database pointed to by mq-store-pool-name to save persistent JMS messages and other broker cluster configuration information. Individual applications will not be able to control or override MQ cluster availability levels. They inherit the availability attribute defined in this element. If this attribute is missing, availability is turned off by default [i.e. the MQ cluster associated with the AS cluster would behave as a non-HA cluster]

public java.lang.StringgetMQStorePoolName()
This is the jndi-name for the JDBC Connection Pool used by the MQ broker cluster for use in saving persistent JMS messages and other broker cluster configuration information. It will default to value of store-pool-name under availability-service (ultimately "jdbc/hastore").

public voidsetAvailabilityEnabled(boolean value)

see
#getAvailabilityEnabled

public voidsetMQStorePoolName(java.lang.String name)

see
#getMQStorePoolName