Hi Okay I'll try it
The smx tutorial told me to do it like this http://servicemix.apache.org/34-exchanging-messages-with-other-jbi-services.html 2008/7/29 Gert Vanthienen <[EMAIL PROTECTED]> > 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 >> >> >> >> > > -- Håkon Sagehaug, Software Developer Parallab, Bergen Center for Computational Science (BCCS) UNIFOB AS (University of Bergen Research Company)
