?
Solved

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

Posted on 2010-09-09
6
Medium Priority
?
465 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 
LVL 3

Expert Comment

by:gremwell
ID: 33635725
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
ID: 33659628
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
ID: 33660307
Sorry, can't help you with that.
0
 
LVL 1

Accepted Solution

by:
Zoniac earned 0 total points
ID: 33751191
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
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:
Suggested Courses
Course of the Month14 days, 3 hours left to enroll

801 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