I guess I could load and send the file in chunks, using ByteMessages,
probably in the same manner the ActiveMQ output stream does it. So I will be
using my own streaming solution, instead of an AMQ feature, but will gain
the ablility to defer commiting until I have the whole stream. This will
also allow me to mix Files and other message types in the same transaction.
Hmm... is this my way out of this mess? :-)

BTW, another idea tossed around in our team was to wrap all items in a ZIP
file, and them send it in a single (albeit huge) ByteMessage. Does this
sound like a good idea to you? Are you aware of anyone using ZIP files for
this?

Naaman
-- 
View this message in context: 
http://www.nabble.com/Consuming-a-group-of-messages-in-a-single-transaction-tf1966918.html#a5535999
Sent from the ActiveMQ - User forum at Nabble.com.

Reply via email to