Hi,

Hi Guillaume,

I am not Guillaume, but I hope I can give you an answer ;)

How can I specify the quartz.properties to be used by servicemix-quartz jbi
compoment in my service unit xbean.xml? I need to use a persistent jobstore
for quartz clustering.
I followed the post for servicemix quartz clustering and the suggestion to
use a ServiceMixJobFactory to pass the QuartzComponent. I have made these
changes in ServiceMix 3.1 for the servicemix-quartz jbi component since that
has configurable endpoints rather than the lightwight quartz
servicemix-component as the discussion in that post was about.
But it appears that the servicemix-quartz is always initialized with the
default quartz.properties

quartz.properties file is read by SchedulerFactory class which is
instantiated during servicemix-quartz initialization. So this is when
the configuration is read, and when you deploy your service unit to
the quartz component it is already too late.

Unfortunately, I don't know how to resolve this problem using endpoints.

Regards,
Piotr

Reply via email to