public class ActiveMQActivationSpec extends ConnectionFactoryProperties implements javax.resource.spi.ActivationSpec, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
allowLocalTransactions |
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
|
Integer |
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
|
String |
getQueuePrefix() |
javax.resource.spi.ResourceAdapter |
getResourceAdapter()
Get the resource adapter
|
Integer |
getSetupAttempts() |
Long |
getSetupInterval() |
String |
getSubscriptionDurability()
Get the subscription durability
|
String |
getSubscriptionName()
Get the subscription name
|
String |
getTopicPrefix() |
Integer |
getTransactionTimeout()
Get the transaction timeout
|
String |
getUser()
Get the user
|
int |
hashCode() |
Boolean |
isAllowLocalTransactions() |
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 |
setAllowLocalTransactions(Boolean allowLocalTransactions) |
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(Integer 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 |
setQueuePrefix(String prefix) |
void |
setRebalanceConnections(Boolean rebalanceConnections) |
void |
setReconnectInterval(Long interval) |
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
Set the resource adapter
|
void |
setSetupAttempts(Integer 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 |
setTopicPrefix(String prefix) |
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, isCacheDestinations, isCacheLargeMessagesClient, isCompressLargeMessage, isEnable1xPrefixes, isEnableSharedClientID, isFailoverOnInitialConnection, isHA, isHasBeenUpdated, isPreAcknowledge, isUseGlobalPools, setAutoGroup, setBlockOnAcknowledge, setBlockOnDurableSend, setBlockOnNonDurableSend, setCacheDestinations, setCacheLargeMessagesClient, setCallFailoverTimeout, setCallTimeout, setClientFailureCheckPeriod, setClientID, setCompressLargeMessage, setConfirmationWindowSize, setConnectionLoadBalancingPolicyClassName, setConnectionTTL, setConsumerMaxRate, setConsumerWindowSize, setDeserializationBlackList, setDeserializationWhiteList, setDiscoveryAddress, setDiscoveryInitialWaitTimeout, setDiscoveryLocalBindAddress, setDiscoveryPort, setDiscoveryRefreshTimeout, setDupsOKBatchSize, setEnable1xPrefixes, setEnableSharedClientID, setFailoverOnInitialConnection, setGroupID, setHA, setInitialConnectAttempts, setInitialMessagePacketSize, setJgroupsChannelName, setJgroupsFile, setMaxRetryInterval, setMinLargeMessageSize, setParsedConnectionParameters, setParsedConnectorClassNames, setPreAcknowledge, setProducerMaxRate, setProducerWindowSize, setProtocolManagerFactoryStr, setReconnectAttempts, setRetryInterval, setRetryIntervalMultiplier, setScheduledThreadPoolMaxSize, setThreadPoolMaxSize, setTransactionBatchSize, setUseGlobalPoolspublic String strConnectorClassName
public String strConnectionParameters
protected Boolean allowLocalTransactions
public javax.resource.spi.ResourceAdapter getResourceAdapter()
getResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociationpublic 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.ResourceAdapterAssociationra - 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 setQueuePrefix(String prefix)
public String getQueuePrefix()
public void setTopicPrefix(String prefix)
public String getTopicPrefix()
public void setAcknowledgeMode(String value)
value - The valuepublic Integer 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 valueExceptionpublic 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 Integer getSetupAttempts()
public void setSetupAttempts(Integer 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.ActivationSpecjavax.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(Integer 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 isAllowLocalTransactions()
public void setAllowLocalTransactions(Boolean allowLocalTransactions)
public boolean equals(Object o)
equals in class ConnectionFactoryPropertiespublic int hashCode()
hashCode in class ConnectionFactoryPropertiesCopyright © 2019 The Apache Software Foundation. All Rights Reserved.