Solved

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

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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
This video teaches viewers about errors in exception handling.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

690 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