Solved

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

Posted on 2010-09-09
6
463 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Oracle SQL syntax check  without executing 6 107
ejb entity bean example issue 2 27
Crystal Reports Licensing Questions 4 63
passing enum to a method 4 35
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 last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
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:

733 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