Large Message Streaming Using the Core API

WARNING - TOPIC NOT WRITTEN - TOPIC ID: 668

This topic has not yet been written. The content below is from the topic description.
To set the output stream when receiving a core message: ... ClientMessage msg = consumer.receive(...); // This will block here until the stream was transferred msg.saveOutputStream(someOutputStream); ClientMessage msg2 = consumer.receive(...); // This will not wait the transfer to finish msg.setOutputStream(someOtherOutputStream); ... Set the input stream when sending a core message: ... ClientMessage msg = session.createMessage(); msg.setInputStream(dataInputStream); ...