On 26 Oct 2005, at 11:27, Maxim Surov wrote:
Can you provide an example of its usage?
http://servicemix.org/Quartz
James
----- Original Message -----
From: "Guillaume Nodet" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, October 26, 2005 11:01 AM
Subject: Re: [servicemix-dev] QuartzComponent?
The destinationService property has to be set on the associated
activationSpec.
If you use a plain spring configuration, the "components" property on
the jbi container
is a list of "org.servicemix.jbi.container.ActivationSpec" objects
that
hold information
about a component.
You can set several parameters and in particular, routing
informations
as the destinationService
property.
Cheers,
Guillaume Nodet
Cheers,
Guillaume Nodet
Maxim Surov wrote:
Hi,
I use Spring notation to describe components and beans.
Ho can I forward <property name="destinationService"> to
QuartzComponent?
<!-- components within the JBI container -->
<bean id="configNotifier"
class="org.servicemix.components.quartz.QuartzComponent">
<property name="triggers">
<map>
<entry>
<key>
<bean class="org.quartz.SimpleTrigger">
<property name="repeatInterval"
value="10000"/>
<property name="repeatCount" value="-1"/>
</bean>
</key>
<bean class="org.quartz.JobDetail">
<property name="name" value="configer
notification"/>
<property name="group" value="ServiceMix"/>
</bean>
</entry>
</map>
</property>
</bean>
Ho can I point destination service in this case?
Regards,
Maxim
James
-------
http://radio.weblogs.com/0112098/