On Tue, 6 Jul 2010 14:07:56 +0200, Charles Moulliard
<[email protected]>
wrote:
> How have you configured the jms component of camel (<camel:to
> uri="jms:output" />) ?
> 

Yes, but I thought I should better leave it off in order to reduce the
noise.
Here is the whole application context :

<beans xmlns="http://www.springframework.org/schema/beans";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:camel="http://camel.apache.org/schema/spring";
    xsi:schemaLocation="
       http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
       http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd";>

    <bean id="uploadBean"
class="be.ucm.career.quarterly.upload.UploadBean" />

    <bean name="jms" class="org.apache.camel.component.jms.JmsComponent">
        <property name="connectionFactory">
            <bean class="org.apache.activemq.ActiveMQConnectionFactory">
                <property name="brokerURL" value="vm://localhost" />
            </bean>
        </property>
    </bean>

    <camel:camelContext xmlns="http://camel.apache.org/schema/spring";>
        <camel:package>be.ucm.career</camel:package>
        <camel:route>
            <camel:from uri="file:src/data?noop=true&amp;delay=30000" />
            <camel:bean ref="uploadBean"/>
            <camel:to uri="jms:output" />
        </camel:route>
    </camel:camelContext>

</beans>

Regards.
-- 
Bruno Dusausoy
YP5 Software
--
Pensez environnement : limitez l'impression de ce mail.
Please don't print this e-mail unless you really need to.

Reply via email to