formatAddress---->扩展为下列两个函数,从而支持广播接收 formatReceiverAddress formatSenderAddress
1.消息的队列模式参考4.2.1 允许一个队列有多个接收者。但是一个消息最多只传送给一个接收者。
msgAttachPoint.register ret: true:OPMEX:networktopology:WILLIAM-CHENG/192.168.188.17:29578470 send time: 2012-01-12 01:03:09 000628 receive time: 2012-01-12 02:17:01 000146receivedMsg: OPMEX receivedMsg: version: 12304 receivedMsg: deviceType: 3 receivedMsg: MsgType: 16 send time: 2012-01-12 01:01:44 000019 receive time: 2012-01-12 02:17:01 000245receivedMsg: OPMEX receivedMsg: version: 12303 receivedMsg: deviceType: 3 receivedMsg: MsgType: 16 send time: 2012-01-12 01:54:38 000024 receive time: 2012-01-12 02:17:01 000345receivedMsg: OPMEX receivedMsg: version: 12308 receivedMsg: deviceType: 3 receivedMsg: MsgType: 16 send time: 2012-01-12 01:53:58 000475 receive time: 2012-01-12 02:18:01 000118receivedMsg: OPMEX receivedMsg: version: 12307 receivedMsg: deviceType: 3 receivedMsg: MsgType: 16 send time: 2012-01-12 02:18:51 000752 receive time: 2012-01-12 02:18:51 000754receivedMsg: OPMEX receivedMsg: version: 12309 receivedMsg: deviceType: 3 receivedMsg: MsgType: 16
8.2.1 地址 在内核中,没有topic的概念,只有地址address和queue
加入想在内核实现jms topic的功能,只要将一个地址绑定到多个queue即可。其中的每一个queue就相当于一个订阅subscription.
类似的,一个jms queue则可以通过一个地址和一个queue的绑定来实现
1.消息的队列模式参考4.2.1
允许一个队列有多个接收者。但是一个消息最多只传送给一个接收者。
msgAttachPoint.register ret: true:OPMEX:networktopology:WILLIAM-CHENG/192.168.188.17:29578470
send time: 2012-01-12 01:03:09 000628 receive time: 2012-01-12 02:17:01 000146receivedMsg: OPMEX
receivedMsg: version: 12304
receivedMsg: deviceType: 3
receivedMsg: MsgType: 16
send time: 2012-01-12 01:01:44 000019 receive time: 2012-01-12 02:17:01 000245receivedMsg: OPMEX
receivedMsg: version: 12303
receivedMsg: deviceType: 3
receivedMsg: MsgType: 16
send time: 2012-01-12 01:54:38 000024 receive time: 2012-01-12 02:17:01 000345receivedMsg: OPMEX
receivedMsg: version: 12308
receivedMsg: deviceType: 3
receivedMsg: MsgType: 16
send time: 2012-01-12 01:53:58 000475 receive time: 2012-01-12 02:18:01 000118receivedMsg: OPMEX
receivedMsg: version: 12307
receivedMsg: deviceType: 3
receivedMsg: MsgType: 16
send time: 2012-01-12 02:18:51 000752 receive time: 2012-01-12 02:18:51 000754receivedMsg: OPMEX
receivedMsg: version: 12309
receivedMsg: deviceType: 3
receivedMsg: MsgType: 16
8.2.1 地址
在内核中,没有topic的概念,只有地址address和queue
加入想在内核实现jms topic的功能,只要将一个地址绑定到多个queue即可。其中的每一个queue就相当于一个订阅subscription.
类似的,一个jms queue则可以通过一个地址和一个queue的绑定来实现