Re: doCatch returns null

2012-11-18 Thread Claus Ibsen
Hi In your code there may be a bug in doCatch I am not sure. Though can you try adding a extra step after the process in the doCatch. doCatch(...) .process( ...) .to("log:foo") <-- add extra step .end() Also see this FAQ about using getOut or getIn http://camel.apache.org/using-getin-

Re: doCatch returns null

2012-11-18 Thread Charles Moulliard
Maxence, I suggest that you try first with a simple camel CXF route from("cxf:/myWebService?serviceClass=com.x.MyWebService") .transform(new Output()) .log("Display output : " + new Output()); Remarks : - What do you return from new Output ? - CXF dataformat is by default POJO. That means that n

Re: Consuming mutiple files with current date as filename suffix?

2012-11-18 Thread Claus Ibsen
On Fri, Nov 16, 2012 at 7:44 PM, Vishal Changrani wrote: > Hi, > I want to configure an FTP Consumer to consume multiple files such as > abcd_20121116.zip, xyz_20121116.zip etc. Basically pattern>_.zip. > > I tried giving filename=(abcd|xyz)_${date:now:mmdd}.zip as part of the > URI but thi

Re: Camel/Karaf hangs on org.apache.cxf.cxf-rt-core during Karaf startup

2012-11-18 Thread Martin Stiborský
Hi! yes, it's installed, directly with "feature:install". On Fri, Nov 16, 2012 at 3:20 PM, Willem jiang wrote: > It could be more easy if you can use the feature directly. > Did you tried to install the camel-cxf feature from the karaf? > > > -- > Willem Jiang > > Red Hat, Inc. > FuseSource is n

java mail & camel smtp

2012-11-18 Thread maheshadepu
This is more of java mail question. I am trying to use Camel smtp component. I am getting the following exception com.sun.mail.smtp.SMTPSenderFailedException: 550 5.0.0 Only pre-authorized systems may access this MTA I am passing all the required info. ( smtp server,username,password..etc) Cou

Re: Camel/Karaf hangs on org.apache.cxf.cxf-rt-core during Karaf startup

2012-11-18 Thread Willem jiang
Which version of Karaf and Camel are you using? -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.javaeye.com (http://jn