1 Reply Latest reply on Sep 8, 2006 7:20 PM by Elias Ross

    Possible to change MDB msg selector at runtime?

    Brian Husted Newbie

      Is it possible to change the message selector for an Message Driven Bean programitically at runtime?

      The use case:

      This is a grid computing farm that hosts many different services. The services are loaded and unloaded based on the demand for a particular service. This is an on demand services model where services consume lots of memory and take serveral minutes to load so they can not all be loaded all the time. A compute farm request will need to execute several services to fulfill the job. A request will encounter the need for a service that is not loaded on the local server but exists on another server. Therefore, as services are loaded on a particular server, I would like to change the MDB message selector to subscribe to those requests needing that particular service.