activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cristisor <>
Subject Re: Some problem of BlobMessage
Date Thu, 05 Sep 2013 06:20:43 GMT
To delete the file uploaded on the FTP server you can set the following on
the blob message consumer:
BlobTransferPolicy btp = new BlobTransferPolicy();
BlobDownloadStrategy strategy = new FTPBlobDownloadStrategy(btp);

This works for sure on a queue but on a topic you might have to test if the
first consumer which receives the file doesn't also delete it, and the next
consumers fail when trying to download it. Maybe ActiveMQ deletes the file
only after all the subscribers have received it, but I don't know for sure.


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message