Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

[MDB] stop / start

 
John Smith
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I nedd some help to solve my problem...

How can I stop / sart dynamiquely an MDB ?

Thanks a lot for your help.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in the programm code ? You have no chance, cause the MDB is triggered by the Container as a JMS Listener.
in the config it depends on the app server you use. With WAS for example you can start/stop the Listener ports to which the MDB is bound to.

Olli
 
Praveena Venigalla
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot start/stop the MDB from the program.
As Olli told for WAS we can start/stop the listener ports to which the MDB bean is configured to.

praveena
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!