Solved

Quartz Scheduler - Is it possible to configure non-global listeners declaratively?

Posted on 2010-09-09
6
452 Views
Last Modified: 2012-05-10
Is it possible to configure (registering with scheduler) non-global job listeners declaratively in properties file (rather than programmatically) similar to configuring global listeners in Quartz Scheduler?

Check here for:
   1. Programmatically adding a global job listener
   2. Programmatically adding a non-global job listener

Example for configuring a Global JobListener declaratively:
org.quartz.jobListener.NAME.class = com.foo.MyListenerClass
org.quartz.jobListener.NAME.propName = propValue
org.quartz.jobListener.NAME.prop2Name = prop2Value

Open in new window

0
Comment
Question by:Zoniac
  • 2
  • 2
6 Comments
 
LVL 3

Expert Comment

by:gremwell
Comment Utility
You may want to consider this:

... for 2.0 (in the current code trunk) the features are completely removed. All listeners will be registered with the scheduler, and they themselves can filter out (ignore) messages relating to jobs/triggers they don't care about. See existing "FilterAndBroadcastJobListener" and
"FilterAndBroadcastTriggerListener".


http://forums.terracotta.org/forums/posts/list/4016.page;jsessionid=4EFB49A6A9FE4FAF33ABF03F0DE7312C#22061

0
 
LVL 1

Author Comment

by:Zoniac
Comment Utility
Hi gremwell,

Thanks for sharing that link, which is very well informed in advance.

I'm currently using Quartz Scheduler v1.8.3, any idea on whether non-global listeners can be configured declaratively atleast in this current version?
0
 
LVL 3

Expert Comment

by:gremwell
Comment Utility
Sorry, can't help you with that.
0
 
LVL 1

Accepted Solution

by:
Zoniac earned 0 total points
Comment Utility
I've found the solution for my question after posting the same question in Quartz Scheduler forum.

Answer is: No.

http://forums.terracotta.org/forums/posts/list/4188.page

0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now