This is a short message about ActiveMQ, I'm dumping it here in case someone is struggling with similar problem.
Maybe you haven't noticed but if you try to use ActiveMQ to send a big message (really big like > 10MB) over a WAN it will probably fail. It will not fail if you have a really, really fast connection that can send your message in less than 30 seconds. But do you have it? I don't :-(
You don't believe me? Just try! I had a 100% success rate repeating this problem. I thought it's not possible to solve this until I dug in into documentation and luckily I spotted (and tested) one stupid configuration option - wireFormat.maxInactivityDuration (here's documentation).
It seems that when your application is sending a big message to a broker it thinks that nothing happens and closes connection after specified time. Bug? I think so.
I already issued a bug report.
1 comments:
Hi Pawel,
this bug just got fixed. It will be available in ActiveMQ 5.3. I hope you'll enjoy it :)
Regards
Dejan
Post a Comment