I am using the Jms Streams to send file to Queue(http://www.activemq.org/JMS+Streams)... It seems that ActiveMQ transfers the stream by splitting it into small messages. For example, if my file size is 32M. then when finishing sending the file, the queue size is 505 (there are 505 message in the queue). My question is if I stop the sending process before the whole file is sent, how to grantee that the consumer can not get the file, or the queue will delete the messages(because it is half-baked). I've tried to stop the sending process when the queue size is 200, then I try to consume the queue and write the stream in a file, the size is 10M.. Thanks.. -- View this message in context: http://www.nabble.com/Hi%2CJames.-Could-you-ask-my-question--I-need-your-help...-tf4255792s2354.html#a12111837 Sent from the ActiveMQ - User mailing list archive at Nabble.com.