Class ManagedConnectionFactoryConfig

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Define serialVersionUID for interoperability.
        See Also:
        Constant Field Values
      • collocated

        private boolean collocated
        true for collocated outbound connectivity.
      • hostName

        private String hostName
        Underlying JORAM server host name.
      • serverPort

        private int serverPort
        Underlying JORAM server port number. -1 if collocated
      • userName

        private String userName
        Default user identification.
      • password

        private String password
        Default user password.
      • identityClass

        private String identityClass
        Default identityClass
      • connectingTimer

        private int connectingTimer
        Duration in seconds during which connecting is attempted (connecting might take time if the server is temporarily not reachable); the 0 value is set for connecting only once and aborting if connecting failed.
      • txPendingTimer

        private int txPendingTimer
        Duration in seconds during which a JMS transacted (non XA) session might be pending; above that duration the session is rolled back and closed; the 0 value means "no timer".
      • cnxPendingTimer

        private int cnxPendingTimer
        Period in milliseconds between two ping requests sent by the client connection to the server; if the server does not receive any ping request during more than 2 * cnxPendingTimer, the connection is considered as dead and processed as required.
      • asyncSend

        private boolean asyncSend
        Determines whether the produced messages are asynchronously sent or not (without or with acknowledgement) Default is false (with ack).
      • multiThreadSync

        private boolean multiThreadSync
        Determines whether client threads which are using the same connection are synchronized in order to group together the requests they send. Default is false.
      • multiThreadSyncDelay

        private int multiThreadSyncDelay
        The maximum time the threads hang if 'multiThreadSync' is true. Either they wake up (wait time out) or they are notified (by the first woken up thread).

        Default is 1 ms.

      • outLocalAddress

        private String outLocalAddress
        This is the local IP address on which the TCP connection is activated. The value can either be a machine name, such as "java.sun.com", or a textual representation of its IP address.
      • outLocalPort

        private int outLocalPort
        This is the local IP address port on which the TCP connection is activated
      • inInterceptors

        private String inInterceptors
        Comma separated list of IN interceptors.
      • outInterceptors

        private String outInterceptors
        Comma separated list of OUT interceptors.
    • Constructor Detail

      • ManagedConnectionFactoryConfig

        public ManagedConnectionFactoryConfig()
        Constructs a ManagedConnectionFactoryConfig instance.
    • Method Detail

      • getConnectingTimer

        public Integer getConnectingTimer()
      • setConnectingTimer

        public void setConnectingTimer​(Integer connectingTimer)
      • getTxPendingTimer

        public Integer getTxPendingTimer()
      • setTxPendingTimer

        public void setTxPendingTimer​(Integer txPendingTimer)
      • getCnxPendingTimer

        public Integer getCnxPendingTimer()
      • setCnxPendingTimer

        public void setCnxPendingTimer​(Integer cnxPendingTimer)
      • getAsyncSend

        public Boolean getAsyncSend()
      • setAsyncSend

        public void setAsyncSend​(Boolean asyncSend)
      • isAsyncSend

        public boolean isAsyncSend()
      • getMultiThreadSync

        public Boolean getMultiThreadSync()
      • setMultiThreadSync

        public void setMultiThreadSync​(Boolean multiThreadSync)
      • isMultiThreadSync

        public boolean isMultiThreadSync()
      • getMultiThreadSyncDelay

        public Integer getMultiThreadSyncDelay()
      • setMultiThreadSyncDelay

        public void setMultiThreadSyncDelay​(Integer multiThreadSyncDelay)
      • setParameters

        protected void setParameters​(Object factory)
      • setCollocated

        public void setCollocated​(Boolean collocated)
      • setHostName

        public void setHostName​(String hostName)
      • setServerPort

        public void setServerPort​(Integer serverPort)
      • setUserName

        public void setUserName​(String userName)
      • setPassword

        public void setPassword​(String password)
      • setIdentityClass

        public void setIdentityClass​(String identityClass)
      • isCollocated

        public Boolean isCollocated()
      • getHostName

        public String getHostName()
      • getServerPort

        public Integer getServerPort()
      • getUserName

        public String getUserName()
      • getPassword

        String getPassword()
      • getIdentityClass

        public String getIdentityClass()
      • getOutLocalAddress

        public String getOutLocalAddress()
      • getOutLocalPort

        public Integer getOutLocalPort()
      • setOutLocalAddress

        public void setOutLocalAddress​(String outLocalAddress)
      • setOutLocalPort

        public void setOutLocalPort​(Integer outLocalPort)
      • setOutInterceptors

        public void setOutInterceptors​(String outInterceptors)
      • setInInterceptors

        public void setInInterceptors​(String inInterceptors)
      • getMode

        public String getMode()
        Returns:
        the mode
      • setMode

        public void setMode​(String mode)
        Parameters:
        mode - the mode to set
      • getName

        public String getName()
        Returns:
        the name
      • setName

        public void setName​(String name)
        Parameters:
        name - the name to set
      • setManagedConnectionFactoryConfig

        public void setManagedConnectionFactoryConfig​(Properties props)