In a biological model, a resource might be a food supply; in a network model, a resource could be a router or a finite-bandwidth channel; in our market simulation, a resource is a checkout aisle.
The "content based router" pattern: the EIP Component examines the message content and routes the message onto a different channel, based on data contained in the message.
“基于内容的路由器”模式:EIP组件检查消息内容,并根据消息中包含的数据将消息路由到不同频道。
3
Our network router is programmed as a "repeater" to create another channel on the main network bus.