Class InVMAcceptor

    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Acceptor
        The name of the acceptor used on the configuration. for logging and debug purposes.
      • getClusterConnection

        public ClusterConnection getClusterConnection()
        Returns:
        the cluster connection associated with this Acceptor
      • getConnectionsAllowed

        public long getConnectionsAllowed()
      • getConnectionCount

        public int getConnectionCount()
      • stop

        public void stop()
      • isStarted

        public boolean isStarted()
      • pause

        public void pause()
        Description copied from interface: Acceptor
        Pause the acceptor and stop it from receiving client requests.
      • setNotificationService

        public void setNotificationService​(NotificationService notificationService)
        Description copied from interface: Acceptor
        Set the notification service for this acceptor to use.
        Parameters:
        notificationService - the notification service
      • disconnect

        public void disconnect​(String connectionID)
      • isUnsecurable

        public boolean isUnsecurable()
        we are InVM so allow unsecure connections
        Returns:
        true
      • reload

        public void reload()
        Description copied from interface: Acceptor
        Re-create the acceptor with the existing configuration values. Useful, for example, for reloading key/trust stores on acceptors which support SSL.
      • setDefaultActiveMQPrincipal

        public void setDefaultActiveMQPrincipal​(ActiveMQPrincipal defaultActiveMQPrincipal)
        Description copied from interface: Acceptor
        Set the default security Principal to be used when no user/pass are defined, only for InVM