4

I have an enterprise application running on JBoss which contains a number of message driven beans. At the moment, each MDB listens for messages from a destination which is defined via annotations on the MDB class.

Is it possible to set the detination that MDBs subcribe to at runtime, rather than configuring this via annotations of a deployment descriptor?

Many thanks.

Dave
  • 73
  • 7

1 Answers1

0

Generally you can't reconfigure existing MDB to listen another queue, but you can try this method to specify system properties instead of real queue names. System properties can be changed in runtime through JMX

Community
  • 1
  • 1
Konstantin V. Salikhov
  • 4,554
  • 2
  • 35
  • 48