This content has been marked as final.
Show 1 reply
-
1. Re: MDB initialization from DB
mnovak Feb 12, 2014 6:25 AM (in response to lang)Only what comes to my mind is to use ejbCreate() or setMessageDrivenContext(...) method which are executed when MDB is deployed. Here you can get Datasource for your DB and get the configuration. If you need to change something in Activation Config properties like destination than I don't a proper way to do it.
Maybe to use stateless session bean with Timer which calls "receiveMethod" every 50ms could work.