Re: FTP component doesn't work, silently

2014-09-12 Thread Claus Ibsen
Hi What do you mean? The route will only process files if there is files on the FTP server it can download. Also context.start() is a non blocking method, so you need a way of keeping the JVM running. See more details here http://camel.apache.org/running-camel-standalone-and-have-it-keep-running

Over-riding JSON deserializers/serializers in Camel w/o using annotations

2014-09-12 Thread rickaroni
Hi, JSON libraries like Jackson and XStream provide ways of overriding the serializers/deserializers that get used for various specific object types. [While you can always hand-annotate code (e.g. with @JsonSerializer) to use custom serializers and deserializers, that can be cumbersome and invasi

Re: Why does RouteDefinition have "from" methods?

2014-09-12 Thread Matt Sicker
I think it's the other way around. You can make a bunch of from(foo).to(bar), then do a from(bar) to get the combined channel. On 12 September 2014 10:29, toomanyedwards wrote: > I understand that a route can have multiple inputs that lead to the same > processing something like: >routeBuil

FTP component doesn't work, silently

2014-09-12 Thread JoshWo
I am a newbie to camel. I am trying to download files from a ftp server. It somehow doesn't work without any message (like nothing happened). I am using a mac and I am using 2.12.4 camel. Any help on how to output some debug messages will be appreciated! currently, if I put random url, the code s

Re: [CXF RS] CXF producers using HttpApi and URI substitutions

2014-09-12 Thread Sergey Beryozkin
Hi François On 12/09/14 14:08, flaroche wrote: Hi everyone, I had an error a few days ago, and after investigations, here's what it was : I am calling an endpoint using cxfrs client with the http api. So I have something like that in the DSL : .setHeader(CxfConstants.CAMEL_CXF_RS_USING_H

Re: Why does RouteDefinition have "from" methods?

2014-09-12 Thread toomanyedwards
I understand that a route can have multiple inputs that lead to the same processing something like: routeBuilder.from("direct:foo, direct:bar").to("direct:doSomething"); But in the case I described earlier: myRouteDefinition = routeBuilder.from("direct:foo"); myRouteDefinition.to("dire

Re: Hawt.io Camel plugin - 2 questions

2014-09-12 Thread edmondo1984
Is it possible to add custom classes to the jaxb context? Best Edmondo Il 11/Set/2014 17:19 "Claus Ibsen-2 [via Camel]" < ml-node+s465427n5756351...@n5.nabble.com> ha scritto: > Hi > > Camel has these JMX MBeans that any tooling can use > > http://camel.apache.org/maven/current/camel-core/apidoc

[CXF RS] CXF producers using HttpApi and URI substitutions

2014-09-12 Thread flaroche
Hi everyone, I had an error a few days ago, and after investigations, here's what it was : I am calling an endpoint using cxfrs client with the http api. So I have something like that in the DSL : .setHeader(CxfConstants.CAMEL_CXF_RS_USING_HTTP_API, constant(true)) .setHeader(Exchange.HTTP_

Re: Camel User Interface

2014-09-12 Thread Deven Phillips
Talend Open Studio for Data Mediation also has a graphical Camel Route builder which is free and open source. On Thu, Sep 11, 2014 at 2:25 PM, jgcorne wrote: > Claus, > > Thanks for the feedback! > > Jimmy > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Use

Re: Camel VM Component

2014-09-12 Thread Willem Jiang
What’s the error did you get? When you put the camel-core into the container lib, you don’t suppose to include the camel-core into your war lib. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: will

Camel VM Component

2014-09-12 Thread mgallo83
Hi, I am not able to use the Camel VM Component in Apache Tomcat 7.0.55. I copied the camel-core jar in {tomcat.home}/lib, but it didn't work. I also tried copying slf4j-api and the other camel-core dependencies (jackson-databind, xml-resolver). I am using Camel 2.13.0. -- View this message

ShutdownTask thread does not complete

2014-09-12 Thread Preben.Asmussen
Hi On several components that extends ScheduledBatchPollingConsumer I have seen that the ShutdownTask thread seems not to complete when suspending/resuming a route. The route suspend/resume works as expected but the spawned shutdown thread keeps running in WAITING state. Shutdown trace for a jpa

Issue with special characters in file for Camel HDFS

2014-09-12 Thread Chirag Dewan
Hi All, Recently I faced a problem in HDFS producer with files which have special characters in the name. Apparently,when we create hadoop file system in HdfsInfo.java and pass the hdfsPath(hdfs://ip:port/filename,file name is abc}123.txt) it is unable to create the URI and it throws some excep