public class JmsActivationSpec extends Object implements ActivationSpec
Constructor and Description |
---|
JmsActivationSpec() |
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 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 ResourceAdapter getResourceAdapter()
ResourceAdapterAssociation
ResourceAdapter
object.getResourceAdapter
in interface ResourceAdapterAssociation
ResourceAdapter
object.public void setResourceAdapter(ResourceAdapter ra) throws ResourceException
ResourceAdapterAssociation
ResourceAdapter
object.
Note, this method must be called exactly once. That is, the
association must not change during the lifetime of this object.setResourceAdapter
in interface ResourceAdapterAssociation
ra
- ResourceAdapter
object to be associated with.ResourceException
- generic exception.ResourceAdapterInternalException
- resource adapter related error condition.IllegalStateException
- indicates that this object is in an
illegal state for the method invocation. For example, this occurs when
this method is called more than once on the same object.public void validate() throws InvalidPropertyException
ActivationSpec
validate
in interface ActivationSpec
InvalidPropertyException
- indicates invalid configuration property settings.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()
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.