kvmkreddy / HAMQ

Java/JavaEE development tools/utilities developed with my ideas.
0 stars 0 forks source link

Create a poller service for Connection Manager #1

Open kvmkreddy opened 11 years ago

kvmkreddy commented 11 years ago

Needs to create a poller service which will ping (for configurable amount of time) individual connection managers.

kvmkreddy commented 11 years ago

This poller should be pure java implementation.

Try to use a Composite Runnable(which contains list of runnables). Each runnable is responsible to poll the status of one QM server. And we will have single composite runnable per one/multiple client(s). If multiple clients are using same QM configurations than one composite runnable is sufficient.

Each runnable should know how/where to persist the poll results.

Create a scheduler interface (client can extend/implement their own schedulers) which will call the composite runnable for each schedule period. As of now try to implement Quartz scheduler (should be cluster aware and have HA Singleton capability) and if possible try to create scheduler by using java concurrency implementation.