Load route from XML Exception

2013-03-31 Thread liuxu
Hello, camel 2.10.3 JDK 1.6 Help to tell me what causes the exception? Thank you very much! public static void main(String[] args) throws Exception { ModelCamelContext ctx = new DefaultCamelContext(); RoutesDefinition rd = ctx.loadRoutesDefinition(TestFile.class.getResourceAsS

RE: How can I deal with & character in password when sending an email

2013-03-31 Thread liugang
Does this work on 2.10.4, or only works from 2.11.0? Thanks. GangLiu -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Friday, March 29, 2013 4:18 PM To: users@camel.apache.org Subject: Re: How can I deal with & character in password when sending an email Hi See

Re: Need help with cxfrs component, actually RESTful service consumption, in general

2013-03-31 Thread Raul Kripalani
Hi guys, Take a look at the new Simple binding style for CXFRS consumers, which greatly simplifies consuming REST requests: https://cwiki.apache.org/confluence/display/CAMEL/CXFRS#CXFRS-ConsumingaRESTRequestSimpleBindingStyle . Fresh out of the oven. Regards, *Raúl Kripalani* Enterprise Archite

Camel CXF RS: New Simple binding style for JAX-RS

2013-03-31 Thread Raul Kripalani
Hi users, As you may know, Camel has supported JAX-RS under the camel-cxfrs component for a long time now. However, the support has been rather low-level, requiring the user to manually process the MessageContentsList object coming into the route. Thus tightly coupling the route logic with the me

It is possible with Camel to use dynamic consumer? **after context start**

2013-03-31 Thread Chris Wolf
Claus, You addressed the issue of "dynamic URIs for Consumers" back in July-2009: http://camel.465427.n5.nabble.com/Dynamic-consumers-with-Camel-td476433.html However, all those use-cases, except for maybe #4, web console, which I can't run all are about calculating the URI *before* the context

Re: Camel routing issue

2013-03-31 Thread Chris Wolf
Here you go: .choice().when(header("Type").isNotNull()) .recipientList(simple("activemq.Inbound.${header.Type}")) .endChoice() Sorry for hijacking your thread, but I also was not getting "recipientList" to implement dynamic destinations. I ge

Re: Camel routing issue

2013-03-31 Thread prabumc...@gmail.com
Thanks for your faq url,but I did not understand anything from that faq. as I told already .to("activemq.Inbound."+ header(" Type") Please kindly provide with example. Thanks Prabu.n On Mar 31, 2013 11:22 PM, "Chris Wolf [via Camel]" < ml-node+s465427n5730134...@n5.nabble.com> wrote: > Ok, I'm

Re: Camel routing issue

2013-03-31 Thread Chris Wolf
Ok, I'm starting to get it - a little bit. As for my concrete example, so far, I have: from("direct:start") .beanRef("config") .convertBodyTo(Document.class) .recipientList().xquery( "concat('ftp://'" +

Re: Camel routing issue

2013-03-31 Thread Chris Wolf
Hi Claus, I hate to ask this - but I still don't get it. I thought "recipientList" was for sending to multiple, runtime-defined recipients. I don't see how this answers the question of sending to one, single recipient, whose URI is dynamically constructed - and in my use-case the dynamic setting