Package org.apache.activemq.ra
Class ActiveMQConnectionRequestInfo
java.lang.Object
org.apache.activemq.ra.ActiveMQConnectionRequestInfo
- All Implemented Interfaces:
jakarta.resource.spi.ConnectionRequestInfo,Serializable,Cloneable
public class ActiveMQConnectionRequestInfo
extends Object
implements jakarta.resource.spi.ConnectionRequestInfo, Serializable, Cloneable
Must override equals and hashCode (JCA spec 16.4)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(org.apache.activemq.ActiveMQConnectionFactory factory, MessageActivationSpec activationSpec) Configures the given connection factorycopy()protected StringdefaultValue(String value, String defaultValue) booleanDeprecated.inthashCode()booleanReturns true if this object will configure an ActiveMQConnectionFactory in any waybooleanbooleanorg.apache.activemq.ActiveMQPrefetchPolicyReturns the prefetch policy; not using bean properties to avoid breaking compatibility with JCA configuration in J2EEorg.apache.activemq.RedeliveryPolicyReturns the redelivery policy; not using bean properties to avoid breaking compatibility with JCA configuration in J2EEvoidvoidsetClientid(String clientid) voidsetDurableTopicPrefetch(Integer durableTopicPrefetch) voidsetInitialRedeliveryDelay(Long value) voidsetKeyStore(String keyStore) voidsetKeyStoreKeyPassword(String keyStoreKeyPassword) voidsetKeyStorePassword(String keyStorePassword) voidsetMaximumRedeliveries(Integer value) voidsetMaximumRedeliveryDelay(Long value) voidsetOptimizeDurableTopicPrefetch(Integer optimizeDurableTopicPrefetch) voidsetPassword(String password) voidsetQueueBrowserPrefetch(Integer queueBrowserPrefetch) voidsetQueuePrefetch(Integer queuePrefetch) voidvoidvoidsetServerUrl(String url) voidsetTopicPrefetch(Integer topicPrefetch) voidsetTrustStore(String trustStore) voidsetTrustStorePassword(String trustStorePassword) voidsetUseInboundSession(Boolean useInboundSession) voidsetUserName(String userid) voidsetUseSessionArgs(Boolean useSessionArgs) toString()
-
Field Details
-
log
protected org.slf4j.Logger log
-
-
Constructor Details
-
ActiveMQConnectionRequestInfo
public ActiveMQConnectionRequestInfo()
-
-
Method Details
-
copy
-
isConnectionFactoryConfigured
public boolean isConnectionFactoryConfigured()Returns true if this object will configure an ActiveMQConnectionFactory in any way -
configure
public void configure(org.apache.activemq.ActiveMQConnectionFactory factory, MessageActivationSpec activationSpec) Configures the given connection factory -
hashCode
public int hashCode() -
equals
-
getServerUrl
- Returns:
- Returns the url.
-
setServerUrl
- Parameters:
url- The url to set.
-
getPassword
- Returns:
- Returns the password.
-
setPassword
- Parameters:
password- The password to set.
-
getUserName
- Returns:
- Returns the userid.
-
setUserName
- Parameters:
userid- The userid to set.
-
getClientid
- Returns:
- Returns the clientid.
-
setClientid
- Parameters:
clientid- The clientid to set.
-
getTrustStore
-
setTrustStore
-
getTrustStorePassword
-
setTrustStorePassword
-
getKeyStore
-
setKeyStore
-
getKeyStorePassword
-
setKeyStorePassword
-
getKeyStoreKeyPassword
-
setKeyStoreKeyPassword
-
toString
-
getUseInboundSession
-
setUseInboundSession
-
isUseInboundSessionEnabled
public boolean isUseInboundSessionEnabled() -
getRedeliveryBackOffMultiplier
-
getInitialRedeliveryDelay
-
getMaximumRedeliveryDelay
-
getMaximumRedeliveries
-
getRedeliveryUseExponentialBackOff
-
setRedeliveryBackOffMultiplier
-
setInitialRedeliveryDelay
-
setMaximumRedeliveryDelay
-
setMaximumRedeliveries
-
setRedeliveryUseExponentialBackOff
-
getDurableTopicPrefetch
-
getOptimizeDurableTopicPrefetch
-
getInputStreamPrefetch
Deprecated. -
getQueueBrowserPrefetch
-
getQueuePrefetch
-
getTopicPrefetch
-
setAllPrefetchValues
-
setDurableTopicPrefetch
-
setOptimizeDurableTopicPrefetch
-
setQueueBrowserPrefetch
-
setQueuePrefetch
-
setTopicPrefetch
-
redeliveryPolicy
public org.apache.activemq.RedeliveryPolicy redeliveryPolicy()Returns the redelivery policy; not using bean properties to avoid breaking compatibility with JCA configuration in J2EE -
prefetchPolicy
public org.apache.activemq.ActiveMQPrefetchPolicy prefetchPolicy()Returns the prefetch policy; not using bean properties to avoid breaking compatibility with JCA configuration in J2EE -
isUseSessionArgs
public boolean isUseSessionArgs() -
getUseSessionArgs
-
setUseSessionArgs
-
defaultValue
-