This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Quartz on JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Quartz on JBoss" Watch "Quartz on JBoss" New topic

Quartz on JBoss

Jeff Stelling

Joined: Jun 28, 2011
Posts: 3
I want to use a Message Driven Bean fired by the quartz scheduler.

I have used this annotation on the message driven bean.

activationConfig = {
@ActivationConfigProperty( propertyName = "cronTrigger",
propertyValue = "0 30 15 * * ?"

Can I configure this to run from properties set in a config file.

I am using JBoss 5.1.0


Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

Can I configure this to run from properties set in a config file.

What kind of properties? The cron schedule? You can set those activation properties in the ejb-jar.xml. Take a look at the ejb-jar 3.0 xsd which has the details on how to set this. Feel free to ask related questions, if you have any.

[My Blog] [JavaRanch Journal]
Have you checked out Aspose?
subject: Quartz on JBoss
It's not a secret anymore!