This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

[MDB] stop / start  RSS feed

 
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!