Class ActiveMQActivationSpec

    • Field Detail

      • strConnectorClassName

        public String strConnectorClassName
      • strConnectionParameters

        public String strConnectionParameters
      • allowLocalTransactions

        protected Boolean allowLocalTransactions
    • Constructor Detail

      • ActiveMQActivationSpec

        public ActiveMQActivationSpec()
        Constructor
    • Method Detail

      • getResourceAdapter

        public javax.resource.spi.ResourceAdapter getResourceAdapter()
        Get the resource adapter
        Specified by:
        getResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociation
        Returns:
        The resource adapter
      • isUseJNDI

        public Boolean isUseJNDI()
        Returns:
        the useJNDI
      • setUseJNDI

        public void setUseJNDI​(Boolean value)
        Parameters:
        value - the useJNDI to set
      • getJndiParams

        public String getJndiParams()
        Returns:
        return the jndi params to use
      • setJndiParams

        public void setJndiParams​(String jndiParams)
      • getParsedJndiParams

        public Hashtable<?,​?> getParsedJndiParams()
      • setResourceAdapter

        public void setResourceAdapter​(javax.resource.spi.ResourceAdapter ra)
                                throws javax.resource.ResourceException
        Set the resource adapter
        Specified by:
        setResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociation
        Parameters:
        ra - The resource adapter
        Throws:
        javax.resource.ResourceException - Thrown if incorrect resource adapter
      • getConnectionFactoryLookup

        public String getConnectionFactoryLookup()
        Get the connection factory lookup
        Returns:
        The value
      • setConnectionFactoryLookup

        public void setConnectionFactoryLookup​(String value)
        Set the connection factory lookup
        Parameters:
        value - The value
      • getDestination

        public String getDestination()
        Get the destination
        Returns:
        The value
      • setDestination

        public void setDestination​(String value)
        Set the destination
        Parameters:
        value - The value
      • getDestinationLookup

        public String getDestinationLookup()
        Get the destination lookup
        Returns:
        The value
      • setDestinationLookup

        public void setDestinationLookup​(String value)
        Set the destination
        Parameters:
        value - The value
      • getDestinationType

        public String getDestinationType()
        Get the destination type
        Returns:
        The value
      • setDestinationType

        public void setDestinationType​(String value)
        Set the destination type
        Parameters:
        value - The value
      • getMessageSelector

        public String getMessageSelector()
        Get the message selector
        Returns:
        The value
      • setMessageSelector

        public void setMessageSelector​(String value)
        Set the message selector
        Parameters:
        value - The value
      • getAcknowledgeMode

        public String getAcknowledgeMode()
        Get the acknowledge mode
        Returns:
        The value
      • setQueuePrefix

        public void setQueuePrefix​(String prefix)
      • getQueuePrefix

        public String getQueuePrefix()
      • setTopicPrefix

        public void setTopicPrefix​(String prefix)
      • getTopicPrefix

        public String getTopicPrefix()
      • setAcknowledgeMode

        public void setAcknowledgeMode​(String value)
        Set the acknowledge mode
        Parameters:
        value - The value
      • getAcknowledgeModeInt

        public Integer getAcknowledgeModeInt()
        Returns:
        the acknowledgement mode
      • getSubscriptionDurability

        public String getSubscriptionDurability()
        Get the subscription durability
        Returns:
        The value
      • setSubscriptionDurability

        public void setSubscriptionDurability​(String value)
        Set the subscription durability
        Parameters:
        value - The value
      • isSubscriptionDurable

        public Boolean isSubscriptionDurable()
        Get the status of subscription durability
        Returns:
        The value
      • getSubscriptionName

        public String getSubscriptionName()
        Get the subscription name
        Returns:
        The value
      • setSubscriptionName

        public void setSubscriptionName​(String value)
        Set the subscription name
        Parameters:
        value - The value
      • isShareSubscriptions

        public Boolean isShareSubscriptions()
        Returns:
        the shareDurableSubscriptions
      • setShareSubscriptions

        public void setShareSubscriptions​(Boolean shareSubscriptions)
        Parameters:
        shareSubscriptions - the shareDurableSubscriptions to set
      • getUser

        public String getUser()
        Get the user
        Returns:
        The value
      • setUser

        public void setUser​(String value)
        Set the user
        Parameters:
        value - The value
      • getUserName

        public String getUserName()
        Get the userName
        Returns:
        The value
      • setUserName

        public void setUserName​(String value)
        Set the user
        Parameters:
        value - The value
      • getPassword

        public String getPassword()
        Get the password
        Returns:
        The value
      • getOwnPassword

        public String getOwnPassword()
      • setPassword

        public void setPassword​(String value)
                         throws Exception
        Set the password
        Parameters:
        value - The value
        Throws:
        Exception
      • getMaxSession

        public Integer getMaxSession()
        Get the number of max session
        Returns:
        The value
      • setMaxSession

        public void setMaxSession​(Integer value)
        Set the number of max session
        Parameters:
        value - The value
      • isSingleConnection

        public Boolean isSingleConnection()
        Get the number of max session
        Returns:
        The value
      • setSingleConnection

        public void setSingleConnection​(Boolean value)
        Set the number of max session
        Parameters:
        value - The value
      • getTransactionTimeout

        @Deprecated(forRemoval=true)
        public Integer getTransactionTimeout()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Get the transaction timeout
        Returns:
        The value
      • setTransactionTimeout

        @Deprecated(forRemoval=true)
        public void setTransactionTimeout​(Integer value)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Set the transaction timeout
        Parameters:
        value - The value
      • isUseLocalTx

        public Boolean isUseLocalTx()
      • setUseLocalTx

        public void setUseLocalTx​(Boolean localTx)
      • getRebalanceConnections

        public Boolean getRebalanceConnections()
      • isRebalanceConnections

        public Boolean isRebalanceConnections()
      • setRebalanceConnections

        public void setRebalanceConnections​(Boolean rebalanceConnections)
      • getSetupAttempts

        public Integer getSetupAttempts()
      • setSetupAttempts

        public void setSetupAttempts​(Integer setupAttempts)
      • getSetupInterval

        public Long getSetupInterval()
      • setSetupInterval

        public void setSetupInterval​(Long setupInterval)
      • setClientId

        public void setClientId​(String clientId)
      • validate

        public void validate()
                      throws javax.resource.spi.InvalidPropertyException
        Validate
        Specified by:
        validate in interface javax.resource.spi.ActivationSpec
        Throws:
        javax.resource.spi.InvalidPropertyException - Thrown if a validation exception occurs
      • getConnectorClassName

        public String getConnectorClassName()
      • setConnectorClassName

        public void setConnectorClassName​(String connectorClassName)
      • getConnectionParameters

        public String getConnectionParameters()
        Returns:
        the connectionParameters
      • setConnectionParameters

        public void setConnectionParameters​(String configuration)
      • toString

        public String toString()
        Get a string representation
        Overrides:
        toString in class Object
        Returns:
        The value
      • setUseDLQ

        public void setUseDLQ​(Boolean b)
      • setDLQJNDIName

        public void setDLQJNDIName​(String name)
      • setDLQHandler

        public void setDLQHandler​(String handler)
      • setDLQMaxResent

        public void setDLQMaxResent​(Integer maxResent)
      • setProviderAdapterJNDI

        public void setProviderAdapterJNDI​(String jndi)
      • setKeepAlive

        public void setKeepAlive​(Boolean keepAlive)
        Parameters:
        keepAlive - the keepAlive to set
      • setKeepAliveMillis

        public void setKeepAliveMillis​(Long keepAliveMillis)
        Parameters:
        keepAliveMillis - the keepAliveMillis to set
      • setReconnectInterval

        public void setReconnectInterval​(Long interval)
      • setMinSession

        public void setMinSession​(Integer value)
      • setMaxMessages

        public void setMaxMessages​(Integer value)
      • isAllowLocalTransactions

        public Boolean isAllowLocalTransactions()
      • setAllowLocalTransactions

        public void setAllowLocalTransactions​(Boolean allowLocalTransactions)