2 Replies Latest reply on Apr 8, 2008 10:58 PM by Duncan Stockdill

    Configuration for stateless components

    Duncan Stockdill Newbie

      I have a stateless session bean which uses an EJB timer to poll a queue.  There are some parameters associated with this polling which I would like to move to a configuration file - ideally components.xml.

      Chapter 4 of the seam reference covers configuration of seam components.  However, I suspect given my component is stateless, the setter method approach to configuration will fail - or perhaps seam has some magic here?.  I did a quick test which seemed to confirm this doesn't work.  Is there another way to achieve this easily for stateless components in Seam?