Hi Concurrency should be fine. Is singleton @Startup? Le 7 mars 2015 12:53, "Matej" <[email protected]> a écrit :
> Hi everybody. > > We have an annoying problem on our production system. We have an > Configuration Singleton which reads config things from DB. Then in one MDB > we inject this Singleton to control operation based on configs. Our problem > is that the system is quite heavely loadded and while the system startups > already MDB recievs onMessage events while the Singleton still initliazes. > Which produces some NPEs and system doesn't boot. > > The depneds on annotation seems not to help. We are doing BEAN conncurency > management could this be the issue? And the Singleton has an Postconstruct > annotation. > > Anyone has any pattern or tips how to handle this type of scenario. > > BR > > Matej >
