org.apache.activemq.ra
Class ActiveMQConnectionRequestInfo
java.lang.Object
org.apache.activemq.ra.ActiveMQConnectionRequestInfo
- All Implemented Interfaces:
- Serializable, Cloneable, javax.resource.spi.ConnectionRequestInfo
public class ActiveMQConnectionRequestInfo
- extends Object
- implements javax.resource.spi.ConnectionRequestInfo, Serializable, Cloneable
- Version:
- $Revision$
Must override equals and hashCode (JCA spec 16.4)
- See Also:
- Serialized Form
ActiveMQConnectionRequestInfo
public ActiveMQConnectionRequestInfo()
copy
public ActiveMQConnectionRequestInfo copy()
isConnectionFactoryConfigured
public boolean isConnectionFactoryConfigured()
- Returns true if this object will configure an ActiveMQConnectionFactory in any way
configure
public void configure(ActiveMQConnectionFactory factory)
- Configures the given connection factory
hashCode
public int hashCode()
- Specified by:
hashCode
in interface javax.resource.spi.ConnectionRequestInfo
- Overrides:
hashCode
in class Object
- See Also:
ConnectionRequestInfo.hashCode()
equals
public boolean equals(Object o)
- Specified by:
equals
in interface javax.resource.spi.ConnectionRequestInfo
- Overrides:
equals
in class Object
- See Also:
ConnectionRequestInfo.equals(java.lang.Object)
getServerUrl
public String getServerUrl()
- Returns:
- Returns the url.
setServerUrl
public void setServerUrl(String url)
- Parameters:
url
- The url to set.
getPassword
public String getPassword()
- Returns:
- Returns the password.
setPassword
public void setPassword(String password)
- Parameters:
password
- The password to set.
getUserName
public String getUserName()
- Returns:
- Returns the userid.
setUserName
public void setUserName(String userid)
- Parameters:
userid
- The userid to set.
getClientid
public String getClientid()
- Returns:
- Returns the clientid.
setClientid
public void setClientid(String clientid)
- Parameters:
clientid
- The clientid to set.
toString
public String toString()
- Overrides:
toString
in class Object
getUseInboundSession
public Boolean getUseInboundSession()
setUseInboundSession
public void setUseInboundSession(Boolean useInboundSession)
isUseInboundSessionEnabled
public boolean isUseInboundSessionEnabled()
getRedeliveryBackOffMultiplier
public Short getRedeliveryBackOffMultiplier()
getInitialRedeliveryDelay
public Long getInitialRedeliveryDelay()
getMaximumRedeliveries
public Integer getMaximumRedeliveries()
getRedeliveryUseExponentialBackOff
public Boolean getRedeliveryUseExponentialBackOff()
setRedeliveryBackOffMultiplier
public void setRedeliveryBackOffMultiplier(Short value)
setInitialRedeliveryDelay
public void setInitialRedeliveryDelay(Long value)
setMaximumRedeliveries
public void setMaximumRedeliveries(Integer value)
setRedeliveryUseExponentialBackOff
public void setRedeliveryUseExponentialBackOff(Boolean value)
getDurableTopicPrefetch
public Integer getDurableTopicPrefetch()
getInputStreamPrefetch
public Integer getInputStreamPrefetch()
getQueueBrowserPrefetch
public Integer getQueueBrowserPrefetch()
getQueuePrefetch
public Integer getQueuePrefetch()
getTopicPrefetch
public Integer getTopicPrefetch()
setAllPrefetchValues
public void setAllPrefetchValues(Integer i)
setDurableTopicPrefetch
public void setDurableTopicPrefetch(Integer durableTopicPrefetch)
setInputStreamPrefetch
public void setInputStreamPrefetch(Integer inputStreamPrefetch)
setQueueBrowserPrefetch
public void setQueueBrowserPrefetch(Integer queueBrowserPrefetch)
setQueuePrefetch
public void setQueuePrefetch(Integer queuePrefetch)
setTopicPrefetch
public void setTopicPrefetch(Integer topicPrefetch)
redeliveryPolicy
public RedeliveryPolicy redeliveryPolicy()
- Returns the redelivery policy; not using bean properties to avoid
breaking compatibility with JCA configuration in J2EE
prefetchPolicy
public ActiveMQPrefetchPolicy prefetchPolicy()
- Returns the prefetch policy; not using bean properties to avoid
breaking compatibility with JCA configuration in J2EE
Copyright © 2011 Apache Software Foundation. All Rights Reserved.