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 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()
      Specified by:
      hashCode in interface jakarta.resource.spi.ConnectionRequestInfo
      Overrides:
      hashCode in class Object
      See Also:
      • javax.resource.spi.ConnectionRequestInfo#hashCode()
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface jakarta.resource.spi.ConnectionRequestInfo
      Overrides:
      equals in class Object
      See Also:
      • javax.resource.spi.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.
    • getTrustStore

      public String getTrustStore()
    • setTrustStore

      public void setTrustStore(String trustStore)
    • getTrustStorePassword

      public String getTrustStorePassword()
    • setTrustStorePassword

      public void setTrustStorePassword(String trustStorePassword)
    • getKeyStore

      public String getKeyStore()
    • setKeyStore

      public void setKeyStore(String keyStore)
    • getKeyStorePassword

      public String getKeyStorePassword()
    • setKeyStorePassword

      public void setKeyStorePassword(String keyStorePassword)
    • getKeyStoreKeyPassword

      public String getKeyStoreKeyPassword()
    • setKeyStoreKeyPassword

      public void setKeyStoreKeyPassword(String keyStoreKeyPassword)
    • 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 Double getRedeliveryBackOffMultiplier()
    • getInitialRedeliveryDelay

      public Long getInitialRedeliveryDelay()
    • getMaximumRedeliveryDelay

      public Long getMaximumRedeliveryDelay()
    • getMaximumRedeliveries

      public Integer getMaximumRedeliveries()
    • getRedeliveryUseExponentialBackOff

      public Boolean getRedeliveryUseExponentialBackOff()
    • setRedeliveryBackOffMultiplier

      public void setRedeliveryBackOffMultiplier(Double value)
    • setInitialRedeliveryDelay

      public void setInitialRedeliveryDelay(Long value)
    • setMaximumRedeliveryDelay

      public void setMaximumRedeliveryDelay(Long value)
    • setMaximumRedeliveries

      public void setMaximumRedeliveries(Integer value)
    • setRedeliveryUseExponentialBackOff

      public void setRedeliveryUseExponentialBackOff(Boolean value)
    • getDurableTopicPrefetch

      public Integer getDurableTopicPrefetch()
    • getOptimizeDurableTopicPrefetch

      public Integer getOptimizeDurableTopicPrefetch()
    • getInputStreamPrefetch

      @Deprecated public Integer getInputStreamPrefetch()
      Deprecated.
    • getQueueBrowserPrefetch

      public Integer getQueueBrowserPrefetch()
    • getQueuePrefetch

      public Integer getQueuePrefetch()
    • getTopicPrefetch

      public Integer getTopicPrefetch()
    • setAllPrefetchValues

      public void setAllPrefetchValues(Integer i)
    • setDurableTopicPrefetch

      public void setDurableTopicPrefetch(Integer durableTopicPrefetch)
    • setOptimizeDurableTopicPrefetch

      public void setOptimizeDurableTopicPrefetch(Integer optimizeDurableTopicPrefetch)
    • setQueueBrowserPrefetch

      public void setQueueBrowserPrefetch(Integer queueBrowserPrefetch)
    • setQueuePrefetch

      public void setQueuePrefetch(Integer queuePrefetch)
    • setTopicPrefetch

      public void setTopicPrefetch(Integer topicPrefetch)
    • 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

      public Boolean getUseSessionArgs()
    • setUseSessionArgs

      public void setUseSessionArgs(Boolean useSessionArgs)
    • defaultValue

      protected String defaultValue(String value, String defaultValue)