Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2010-09-09
6
Medium Priority
?
467 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
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 …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

604 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