Hello. The Large Messages documentation states that: > setOutputStream(OutputStream): Set the OutputStream that will receive the > body of a message. This method does not block.
However if I write something like this: InputStream input = new PipedInputStream(1); OutputStream output = new PipedOutputStream(input); msg.setOutputStream(output); // Now imagine I read something from the input and then: msg.waitOutputStreamCompletion(0); …then never make it beyond the msg.setOutputStream(output) line. Is there something I don’t understand about the method being non blocking as opposed to the saveToOutputStream method? Thank you. Jan