Class OutChannelExchange

    • Field Detail

      • isShutdown

        protected volatile boolean isShutdown
        是否关闭
    • Constructor Detail

      • OutChannelExchange

        public OutChannelExchange()
    • Method Detail

      • close

        public void close()
                   throws Exception
        Description copied from interface: Closed
        关闭 通常代表着上游处理任务结束
        Specified by:
        close in interface Closed
        Throws:
        Exception
      • setOutChannel

        public void setOutChannel​(OutChannel channel)
        Description copied from interface: Exchange
        设置这个交换机的输出通道
        Specified by:
        setOutChannel in interface Exchange
      • shutdown

        public void shutdown()
        Description copied from interface: Exchange
        关闭
        Specified by:
        shutdown in interface Exchange