Announcement Announcement Module
Collapse
No announcement yet.
spring bean reinitilization Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring bean reinitilization

    Hi,

    After the bean has been initialized in the container and ready to use, is it possible to access it in program and then set its properties by calling the set method on the that property ? Will I be able to make modified bean sit [initialized-ready to use] in the container ?

    What I am trying to achieve is -

    In the bean DefaultMessageListenerContainer for my mdp, I am trying to set the messageSelector property to the value which is available at runtime. After I set the messageSelector, I want to restart both DefaultMessageListenerContainer bean and listener-mdp to start listening for the selected messages.

    Thanks for the help in advance
Working...
X