Hi

I want to send a message from camel to a jms-provider, but it seems like my
router can't find the jms enpoint, here is my configuration

xbean for jms-provider,
<beans xmlns:jms="http://servicemix.apache.org/jms/1.0";
    xmlns:amq="http://activemq.org/config/1.0";
 xmlns:hsa="http://bccs.uib.no/hakont";>

<jms:provider service="hsa:QueueProvider"
                endpoint="QueueProvider"
                destinationName="myQueue"
                connectionFactory="#connectionFactory" />
<amq:connectionFactory id="connectionFactory"
        brokerURL="tcp://localhost:61616" />
</beans>

and my RouteBuilder.java

from("timer://tutorial?fixedRate=true&period=100000")
        .setBody(constant("<message>Hello world!</message>"))
        .to(
            "jbi:endpoint:http://
http://bccs.uib.no/hakont/QueueProvider/QueueProvider";);


Any hints??

cheers, Håkon


-- 
Håkon Sagehaug, Software Developer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)

Reply via email to