kevinle92618 wrote: > > Thanks Lou. I was afraid of this. If I understand you correctly, > ActiveMQ does NOT support resume transfer. However, you were able to get > around that problem by implementing the snippet codes you mentioned in > your previous post right? Do you mind posting the codes for the > TransferStatus class as well. Many thanks. >
What I posted is not production code but only a sample that I used to confirm the resume functionality could be implemented. In fact, I did implement this in ServiceMix with apache Camel and I can confirm it works. I cannot say if it is the best way. The TransferStatus class is only a bean I implemented to hold the transfer state. I implemented it as a JMX bean and can then view the status of transfers using JMX. What you need to have in the bean will be dependent on the state you need to maintain for your scenario. At a minimum you will need to keep track of the bytes transferred so you can do the resume. -- View this message in context: http://old.nabble.com/Large-File-Transfer-tp23378044p28844082.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.