public class JmsActivationSpec extends Object implements javax.resource.spi.ActivationSpec
Constructor and Description |
---|
JmsActivationSpec() |
Modifier and Type | Method and Description |
---|---|
String |
getAcknowledgeMode() |
int |
getAcknowledgeModeInt() |
String |
getClientId() |
String |
getConnectionFactory() |
String |
getConnectionFactoryLookup()
Standard JMS 2.0 resource adapter property to lookup the connection factory.
|
String |
getDestination() |
String |
getDestinationLookup()
Standard JMS 2.0 resource adapter property to lookup the destination.
|
String |
getDestinationType() |
int |
getForceClearAttempts() |
long |
getForceClearOnShutdownInterval() |
String |
getJndiParameters() |
int |
getMaxMessages() |
int |
getMaxMessagesInt() |
int |
getMaxSession() |
int |
getMaxSessionInt() |
String |
getMessageSelector() |
int |
getMinSession() |
int |
getMinSessionInt() |
String |
getPassword() |
int |
getReconnectAttempts() |
long |
getReconnectInterval() |
long |
getReconnectIntervalLong() |
javax.resource.spi.ResourceAdapter |
getResourceAdapter() |
String |
getSubscriptionDurability() |
String |
getSubscriptionName() |
int |
getTransactionTimeout() |
String |
getUser() |
boolean |
isDurable() |
boolean |
isForceClearOnShutdown() |
void |
setAcknowledgeMode(String acknowledgeMode) |
void |
setClientId(String clientId) |
void |
setConnectionFactory(String connectionFactory) |
void |
setConnectionFactoryLookup(String connectionFactoryLookup)
Standard JMS 2.0 resource adapter property to lookup the connection factory.
|
void |
setDestination(String destination) |
void |
setDestinationLookup(String destinationLookup)
Standard JMS 2.0 resource adapter property to lookup the destination.
|
void |
setDestinationType(String destinationType) |
void |
setForceClearAttempts(int forceClearAttempts) |
void |
setForceClearOnShutdown(boolean forceClear) |
void |
setForceClearOnShutdownInterval(long forceClearOnShutdownInterval) |
void |
setJndiParameters(String jndiParameters) |
void |
setMaxMessages(int maxMessages) |
void |
setMaxSession(int maxSession) |
void |
setMessageSelector(String messageSelector) |
void |
setMinSession(int minSession) |
void |
setPassword(String pass) |
void |
setReconnectAttempts(int reconnectAttempts) |
void |
setReconnectInterval(long reconnectInterval) |
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter ra) |
void |
setSubscriptionDurability(String subscriptionDurability) |
void |
setSubscriptionName(String subscriptionName) |
void |
setTransactionTimeout(int transactionTimeout) |
void |
setUser(String user) |
String |
toString() |
void |
validate() |
public void setForceClearOnShutdown(boolean forceClear)
public boolean isForceClearOnShutdown()
public long getForceClearOnShutdownInterval()
public void setForceClearOnShutdownInterval(long forceClearOnShutdownInterval)
public int getForceClearAttempts()
public void setForceClearAttempts(int forceClearAttempts)
public String getAcknowledgeMode()
public void setAcknowledgeMode(String acknowledgeMode)
acknowledgeMode
- The acknowledgeMode to set.public int getAcknowledgeModeInt()
public String getClientId()
public void setClientId(String clientId)
clientId
- The clientId to set.public String getDestination()
public void setDestination(String destination)
destination
- The destination to set.public String getDestinationLookup()
public void setDestinationLookup(String destinationLookup)
destinationLookup
- The destination to set.public String getDestinationType()
public void setDestinationType(String destinationType)
destinationType
- The destinationType to set.public String getMessageSelector()
public void setMessageSelector(String messageSelector)
messageSelector
- The messageSelector to set.public String getSubscriptionDurability()
public void setSubscriptionDurability(String subscriptionDurability)
subscriptionDurability
- The subscriptionDurability to set.public boolean isDurable()
public String getSubscriptionName()
public void setSubscriptionName(String subscriptionName)
subscriptionName
- The subscriptionName to set.public long getReconnectInterval()
public void setReconnectInterval(long reconnectInterval)
reconnectInterval
- The reconnectInterval to set.public long getReconnectIntervalLong()
public String getUser()
public void setUser(String user)
user
- The user to set.public String getPassword()
public void setPassword(String pass)
pass
- The password to set.public int getMaxMessages()
public void setMaxMessages(int maxMessages)
maxMessages
- The maxMessages to set.public int getMaxMessagesInt()
public int getMinSession()
public void setMinSession(int minSession)
minSession
- The minSession to set.public int getMinSessionInt()
public int getMaxSession()
public void setMaxSession(int maxSession)
maxSession
- The maxSession to set.public int getMaxSessionInt()
public javax.resource.spi.ResourceAdapter getResourceAdapter()
getResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
public void setResourceAdapter(javax.resource.spi.ResourceAdapter ra) throws javax.resource.ResourceException
setResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
javax.resource.ResourceException
public void validate() throws javax.resource.spi.InvalidPropertyException
validate
in interface javax.resource.spi.ActivationSpec
javax.resource.spi.InvalidPropertyException
public int getReconnectAttempts()
public void setReconnectAttempts(int reconnectAttempts)
public int getTransactionTimeout()
public void setTransactionTimeout(int transactionTimeout)
public void setJndiParameters(String jndiParameters)
public String getJndiParameters()
public void setConnectionFactory(String connectionFactory)
public String getConnectionFactory()
public void setConnectionFactoryLookup(String connectionFactoryLookup)
connectionFactoryLookup
- The connection factory to set.public String getConnectionFactoryLookup()
Copyright © 2017 JBoss by Red Hat. All rights reserved.