Starting a keel/avalon component/model automatically
maxxam-cuDQgYkrLFxfAa1EqD/[email protected] Thu, 15 Jul 2004 23:54:38 +0200 (SAST)
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have an application which receives JMS messages (from an external system) which in turn needs to call a keel model/s. I have a class that implements the JMS queue receive and I need this class to start up automatically after the server is started. At present I am starting it by manually opening a jsp page that calls a keel model which in turn instantiates my object. I have tried implementing the Startable interface hoping that Avalon/keel will start my component for me - I really don't have a good idea at all about how this Avalon stuff works! No luck so far. I guess that it is possible to start components automatically as the quartz scheduler somehow starts up but I can't figure out how it manages to do this. Can anyone help please. Max