public class ActiveMQActivationSpec extends ConnectionFactoryProperties implements javax.resource.spi.ActivationSpec, Serializable
Modifier and Type | Field and Description |
---|---|
String |
strConnectionParameters |
String |
strConnectorClassName |
Constructor and Description |
---|
ActiveMQActivationSpec()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAcknowledgeMode()
Get the acknowledge mode
|
int |
getAcknowledgeModeInt() |
String |
getConnectionFactoryLookup()
Get the connection factory lookup
|
String |
getConnectionParameters() |
String |
getConnectorClassName() |
String |
getDestination()
Get the destination
|
String |
getDestinationLookup()
Get the destination lookup
|
String |
getDestinationType()
Get the destination type
|
String |
getJndiParams() |
Integer |
getMaxSession()
Get the number of max session
|
String |
getMessageSelector()
Get the message selector
|
String |
getOwnPassword() |
Hashtable<?,?> |
getParsedJndiParams() |
String |
getPassword()
Get the password
|
javax.resource.spi.ResourceAdapter |
getResourceAdapter()
Get the resource adapter
|
int |
getSetupAttempts() |
long |
getSetupInterval() |
String |
getSubscriptionDurability()
Get the subscription durability
|
String |
getSubscriptionName()
Get the subscription name
|
Integer |
getTransactionTimeout()
Get the transaction timeout
|
String |
getUser()
Get the user
|
int |
hashCode() |
boolean |
isRebalanceConnections() |
boolean |
isShareSubscriptions() |
boolean |
isSubscriptionDurable()
Get the status of subscription durability
|
boolean |
isUseJNDI() |
Boolean |
isUseLocalTx() |
void |
setAcknowledgeMode(String value)
Set the acknowledge mode
|
void |
setClientId(String clientId) |
void |
setConnectionFactoryLookup(String value)
Set the connection factory lookup
|
void |
setConnectionParameters(String configuration) |
void |
setConnectorClassName(String connectorClassName) |
void |
setDestination(String value)
Set the destination
|
void |
setDestinationLookup(String value)
Set the destination
|
void |
setDestinationType(String value)
Set the destination type
|
void |
setDLQHandler(String handler) |
void |
setDLQJNDIName(String name) |
void |
setDLQMaxResent(int maxResent) |
void |
setJndiParams(String jndiParams) |
void |
setKeepAlive(boolean keepAlive) |
void |
setKeepAliveMillis(long keepAliveMillis) |
void |
setMaxMessages(Integer value) |
void |
setMaxSession(Integer value)
Set the number of max session
|
void |
setMessageSelector(String value)
Set the message selector
|
void |
setMinSession(Integer value) |
void |
setPassword(String value)
Set the password
|
void |
setProviderAdapterJNDI(String jndi) |
void |
setRebalanceConnections(boolean rebalanceConnections) |
void |
setReconnectInterval(long interval) |
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
Set the resource adapter
|
void |
setSetupAttempts(int setupAttempts) |
void |
setSetupInterval(long setupInterval) |
void |
setShareSubscriptions(boolean shareSubscriptions) |
void |
setSubscriptionDurability(String value)
Set the subscription durability
|
void |
setSubscriptionName(String value)
Set the subscription name
|
void |
setTransactionTimeout(Integer value)
Set the transaction timeout
|
void |
setUseDLQ(boolean b) |
void |
setUseJNDI(boolean value) |
void |
setUseLocalTx(Boolean localTx) |
void |
setUser(String value)
Set the user
|
String |
toString()
Get a string representation
|
void |
validate()
Validate
|
getCallFailoverTimeout, getCallTimeout, getClientFailureCheckPeriod, getClientID, getConfirmationWindowSize, getConnectionLoadBalancingPolicyClassName, getConnectionTTL, getConsumerMaxRate, getConsumerWindowSize, getDeserializationBlackList, getDeserializationWhiteList, getDiscoveryAddress, getDiscoveryInitialWaitTimeout, getDiscoveryLocalBindAddress, getDiscoveryPort, getDiscoveryRefreshTimeout, getDupsOKBatchSize, getGroupID, getInitialConnectAttempts, getInitialMessagePacketSize, getJgroupsChannelName, getJgroupsFile, getMaxRetryInterval, getMinLargeMessageSize, getParsedConnectionParameters, getParsedConnectorClassNames, getProducerMaxRate, getProducerWindowSize, getProtocolManagerFactoryStr, getReconnectAttempts, getRetryInterval, getRetryIntervalMultiplier, getScheduledThreadPoolMaxSize, getThreadPoolMaxSize, getTransactionBatchSize, isAutoGroup, isBlockOnAcknowledge, isBlockOnDurableSend, isBlockOnNonDurableSend, isCacheLargeMessagesClient, isCompressLargeMessage, isFailoverOnInitialConnection, isHA, isHasBeenUpdated, isPreAcknowledge, isUseGlobalPools, setAutoGroup, setBlockOnAcknowledge, setBlockOnDurableSend, setBlockOnNonDurableSend, setCacheLargeMessagesClient, setCallFailoverTimeout, setCallTimeout, setClientFailureCheckPeriod, setClientID, setCompressLargeMessage, setConfirmationWindowSize, setConnectionLoadBalancingPolicyClassName, setConnectionTTL, setConsumerMaxRate, setConsumerWindowSize, setDeserializationBlackList, setDeserializationWhiteList, setDiscoveryAddress, setDiscoveryInitialWaitTimeout, setDiscoveryLocalBindAddress, setDiscoveryPort, setDiscoveryRefreshTimeout, setDupsOKBatchSize, setFailoverOnInitialConnection, setGroupID, setHA, setInitialConnectAttempts, setInitialMessagePacketSize, setJgroupsChannelName, setJgroupsFile, setMaxRetryInterval, setMinLargeMessageSize, setParsedConnectionParameters, setParsedConnectorClassNames, setPreAcknowledge, setProducerMaxRate, setProducerWindowSize, setProtocolManagerFactoryStr, setReconnectAttempts, setRetryInterval, setRetryIntervalMultiplier, setScheduledThreadPoolMaxSize, setThreadPoolMaxSize, setTransactionBatchSize, setUseGlobalPools
public String strConnectorClassName
public String strConnectionParameters
public javax.resource.spi.ResourceAdapter getResourceAdapter()
getResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
public boolean isUseJNDI()
public void setUseJNDI(boolean value)
value
- the useJNDI to setpublic String getJndiParams()
public void setJndiParams(String jndiParams)
public Hashtable<?,?> getParsedJndiParams()
public void setResourceAdapter(javax.resource.spi.ResourceAdapter ra) throws javax.resource.ResourceException
setResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
ra
- The resource adapterjavax.resource.ResourceException
- Thrown if incorrect resource adapterpublic String getConnectionFactoryLookup()
public void setConnectionFactoryLookup(String value)
value
- The valuepublic String getDestination()
public void setDestination(String value)
value
- The valuepublic String getDestinationLookup()
public void setDestinationLookup(String value)
value
- The valuepublic String getDestinationType()
public void setDestinationType(String value)
value
- The valuepublic String getMessageSelector()
public void setMessageSelector(String value)
value
- The valuepublic String getAcknowledgeMode()
public void setAcknowledgeMode(String value)
value
- The valuepublic int getAcknowledgeModeInt()
public String getSubscriptionDurability()
public void setSubscriptionDurability(String value)
value
- The valuepublic boolean isSubscriptionDurable()
public String getSubscriptionName()
public void setSubscriptionName(String value)
value
- The valuepublic boolean isShareSubscriptions()
public void setShareSubscriptions(boolean shareSubscriptions)
shareSubscriptions
- the shareDurableSubscriptions to setpublic String getUser()
public void setUser(String value)
value
- The valuepublic String getPassword()
public String getOwnPassword()
public void setPassword(String value) throws Exception
value
- The valueException
public Integer getMaxSession()
public void setMaxSession(Integer value)
value
- The valuepublic Integer getTransactionTimeout()
public void setTransactionTimeout(Integer value)
value
- The valuepublic Boolean isUseLocalTx()
public void setUseLocalTx(Boolean localTx)
public boolean isRebalanceConnections()
public void setRebalanceConnections(boolean rebalanceConnections)
public int getSetupAttempts()
public void setSetupAttempts(int setupAttempts)
public long getSetupInterval()
public void setSetupInterval(long setupInterval)
public void setClientId(String clientId)
public void validate() throws javax.resource.spi.InvalidPropertyException
validate
in interface javax.resource.spi.ActivationSpec
javax.resource.spi.InvalidPropertyException
- Thrown if a validation exception occurspublic String getConnectorClassName()
public void setConnectorClassName(String connectorClassName)
public String getConnectionParameters()
public void setConnectionParameters(String configuration)
public String toString()
public void setUseDLQ(boolean b)
public void setDLQJNDIName(String name)
public void setDLQHandler(String handler)
public void setDLQMaxResent(int maxResent)
public void setProviderAdapterJNDI(String jndi)
public void setKeepAlive(boolean keepAlive)
keepAlive
- the keepAlive to setpublic void setKeepAliveMillis(long keepAliveMillis)
keepAliveMillis
- the keepAliveMillis to setpublic void setReconnectInterval(long interval)
public void setMinSession(Integer value)
public void setMaxMessages(Integer value)
public boolean equals(Object o)
equals
in class ConnectionFactoryProperties
public int hashCode()
hashCode
in class ConnectionFactoryProperties
Copyright © 2016 The Apache Software Foundation. All rights reserved.