使用Apache NMS传输大文件

通过Apache NMS(使用ActiveMQ)传输大型文件时,目前被认为是最先进的技术?将整个内容放入StreamMessage?但是,我已经看到这里的命名有点误导,因为文件实际上没有通过JMS流传输,整个内容将驻留在内存(或磁盘?)中,并将立即发送。这里我遇到了一些文件> 100 MB的问题:
Apache.NMS.NMSException : Unable to write data to the transport connection: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full
。 NMS不支持BlobMessage ...我真的看不到选择,只能将文件分成块,在另一侧重新组装,等等。 谢谢, 克里斯蒂安。     
已邀请:
如何使用GZIPInputStream, 例如 : GZIPInputStream inputStream = new GZIPInputStream(new ByteArrayInputStream(gzipped));     

要回复问题请先登录注册