12.3 ActiveMQ streams
博客已搬家, 更好阅读体验, 猛戳 http://www.jack-yin.com/coding/translation/activemq-in-action/1754.html
12.3 使用ActiveMQ 流
ActiveMQ streams are an advanced feature that allows you to use an ActiveMQ client as
a Java IOStream. ActiveMQ will break an OutputStream into distinct chunks of data
and send each chunk through ActiveMQ as a JMS message. A corresponding ActiveMQ
JMS InputStream should be used on the consumer side to reassemble the data
chunks.
ActiveMQ流是一个高级特性,允许你在ActiveMQ客户端使用Java 的IOStream.ActiveMQ会将
一个OutputStream拆分成不同的数据块,然后将每一个数据库当成JMS消息并发送.在消息消费者
端需要使用一个相对应的ActiveMQ JMS InputStream来重新组装收到的数据块.
.................................