Re: Apache Camel connect but does not download files from external FTP

2016-05-25 Thread souciance
Can you download the file manually via FTP from the ec2 machine? Just so you verify that it actually works from that particular host. On Wed, May 25, 2016 at 3:18 AM, GuilhermeRN [via Camel] < ml-node+s465427n5783051...@n5.nabble.com> wrote: > Hi! > > I'm running a standalone camel route. > When

Re: Apache Camel connect but does not download files from external FTP

2016-05-25 Thread Claus Ibsen
Yeah And also mind about passive and active mode http://stackoverflow.com/questions/1699145/what-is-the-difference-between-active-and-passive-ftp On Wed, May 25, 2016 at 9:00 AM, souciance wrote: > Can you download the file manually via FTP from the ec2 machine? Just so > you verify that it actu

Re: Camel netty detect client disconnect

2016-05-25 Thread souciance
Just in case anyone else runs into this, I had to reuse a lot of the code found here: https://github.com/apache/camel/blob/master/components/camel-netty/src/main/java/org/apache/camel/component/netty/handlers/ServerChannelHandler.java You can then generate a unique client id like this: uniqueClie

Re: Routing question

2016-05-25 Thread miri eyni
i didn't try it. where can i store the responses values? i need call to different APIs to get metadata before i call to target request ? thanks -- View this message in context: http://camel.465427.n5.nabble.com/Routing-question-tp5782945p5783058.html Sent from the Camel - Users mailing l

Re: Error in Karaf: Unknown protocol: mvn

2016-05-25 Thread alexey-s
In the file camel-core-2.17.1.jar, internal file META-INF/MANIFEST.MF have row Ignore-Package: com.googlecode.concurrentlinkedhashmap but this package use in class org.apache.camel.util.LRUCache. It's errror for OSGi. Add this package to parameter Import-Package, or change usage classes Concurr

Re: move alternate files to different folder

2016-05-25 Thread pp
Thanks for the info. -- View this message in context: http://camel.465427.n5.nabble.com/move-alternate-files-to-different-folder-tp5782984p5783074.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Routing question

2016-05-25 Thread arno noordover
I would take a look at http://camel.apache.org/content-enricher.html If you don't want to use a AggregrationStrategy you could do the following in a route: 1. call the first endpoint; 2. move the payload to a header (setHeader); 3. call second endpoint; 4. move the payload to another header; 5. ca

Re: Camel DSL & WMQ ... Not Working as expected

2016-05-25 Thread N.S.KARTHIK
Hi Thx for the suggestion Used the following main.enableHangupSupport(); //main.start(); main.run(); This actually helped me in getting the values...thx to u. Question : If i need to have a Clean Shutdown ...How to handle the same ? with regards Karthik -- View this message in contex

Re: Apache Camel connect but does not download files from external FTP

2016-05-25 Thread GuilhermeRN
I succeded yesterday to make it work. The problem was the passive mode Claus quoted. Actually, I had tried it before but camel was complaining about the sintax of it and I moved on to try other things. In the FAQ : http://camel.apache.org/why-does-ftp-component-not-download-any-files.html the param

process failed

2016-05-25 Thread miri eyni
hi i am try in process method call to another API for get metadata that should be part of the request for the target endpoint public void process(Exchange exchange) throws Exception { ProducerTemplate template = exchange.getContext().createProducerTemplate();

Returning response from external webservice using dynamicRouter

2016-05-25 Thread maskellp
Hi, I am new to Camel so please allow for Newbie issues. I have a Camel Route in java as follows : public void configure() throws Exception { from("servlet:routeTest") .to("log:input") .to("activemq:queue:inbox"); from("activemq:queue:inbox")

Schematron files accessed over http

2016-05-25 Thread jamesburn
Hi I'm trying to implement a camel route TO a schematron file which I have hosted on our (local) http server. I've got the line: http://oup.com/Ref/Schematron/BasicSchematron.sch"/> however, I get error: Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: sch

Re: File component: Dynamically decide whether a file should be deleted or not

2016-05-25 Thread jmsst
Claus Ibsen-2 wrote > What should happen if you do not want to delete the file? Should it > stay in the directory or be moved? It should stay in the directory. I've done it now the following way: If I want to not delete the file, I throw an exception and catch the exception with onException(FileS

i'm so excited

2016-05-25 Thread sanjai
Hello! Just take a look at the info I just found, I'm so excited, check it out at Very truly yours, san...@sanjai.org -- View this message in context: http://camel.465427.n5.nabble.com/i-m-so-excited-tp5783087.html Sent from the Camel - Use

Re: CXF jaxrs custome exception mapper with camel

2016-05-25 Thread arno noordover
Changes of jira-issue are available in https://fisheye6.atlassian.com/changelog/camel-git?cs=94c01b98dfd0b4140a7ff51c47222b1f728ce45e These changes are also available in your version. The unittest call toResponse in CustomExceptionMapper. Can you compare your solution with the unittest provided in

Re: Camel DSL & WMQ ... Not Working as expected

2016-05-25 Thread yogu13
This should help u..http://camel.apache.org/graceful-shutdown.html Regards, -Yogesh On Wed, May 25, 2016 at 4:49 PM, N.S.KARTHIK [via Camel] < ml-node+s465427n5783070...@n5.nabble.com> wrote: > Hi > > Thx for the suggestion > > Used the following > > main.enableHangupSupport(); > //main.start()