Can you use Java heap analyser to check the unstable service mix states? When you use ActiveMQ to connect two bundles, the message should not be stored into the memory.
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On December 31, 2014 at 10:48:26 PM, Tyler Durvik ([email protected]) wrote: > I have a system composed of 2 OSGi bundles that process incoming data and > insert the data into MongoDB for future processing. Data is received via a > network stream then parsed and sent to an internal ActiveMQ queue for > another bundle to pull the data off of the queue and push to MongoDB. > > I've noticed that ServiceMix can quickly become unstable when MongoDB is > not running (memory fills up). I'm not sure if this is a Camel, ActiveMQ > or MongoDB question, but is there any functionality within ServiceMix or > any of the other related components to prevent ServiceMix from becoming > unstable when the system doesn't know what to do with the data when MongoDB > is down. > > Does anyone have advice or experience with this type of situation. > > Thanks, > Tyler >
