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