Håkon,

The snippet you posted has an http:// too many.  It should be 
jbi:endpoint:http://bccs.uib.no/hakont/QueueProvider/QueueProvider with only 
one http://

Gert




Håkon Sagehaug wrote:
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



Reply via email to