Sure, i should have done that :)
http://svn.servicemix.codehaus.org/branches/servicemix-1.1/base/src/test/resources/org/servicemix/jbi/config/example-spring.xml?rev=599&view=auto
Cheers,
Guillaume Nodet
Maxim Surov wrote:
Can you provide an example of its usage?
----- 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