ServiceMessageBrokerFactory

      
      interface ServiceMessageBrokerFactory {
  createMessageBroker(channel: string, runInZone: boolean = true): ServiceMessageBroker
}
    

方法

Initializes the given channel and attaches a new ServiceMessageBrokerto it.

createMessageBroker(channel: string, runInZone: boolean = true): ServiceMessageBroker
      
      createMessageBroker(channel: string, runInZone: boolean = true): ServiceMessageBroker
    
参数
channel string
runInZone boolean

可选. 默认值是 true.

返回值

ServiceMessageBroker