Support SFTP Absolute Path for directory

2016-12-22 Thread Goyal, Arpit
Hi All, Camel doesn't support absolute path based on the documentation - Where directoryname represents the underlying directory. The directory name is a relative path. Absolute paths are not supported. Due to which when we send /Home/Inbound/Data.csv as part of the URL, the actual value reach

Re: camel-core not detecting converters on bundle restart in karaf4

2016-12-22 Thread Claus Ibsen
Hi Yeah I think maybe the Activator in camel-core should upon removeBundle (or maybe even in modifiedBundle if refresh only calls that). https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/impl/osgi/Activator.java#L165 There is some logic that registers and scans

Re: camel-core not detecting converters on bundle restart in karaf4

2016-12-22 Thread Claus Ibsen
I logged a ticket https://issues.apache.org/jira/browse/CAMEL-10641 However as this is OSGi then its always tricky On Thu, Dec 22, 2016 at 10:51 AM, Claus Ibsen wrote: > Hi > > Yeah I think maybe the Activator in camel-core should upon > removeBundle (or maybe even in modifiedBundle if refresh o

Re: camel cache configurationFile

2016-12-22 Thread vassilis
Hi, Just solved the same issue without having a dependency on the Karaf installation path: You have to include the ehcache.xml file in your bundle jar file. E.g. you may have it as and point to it: * * In a

Re: camel-core not detecting converters on bundle restart in karaf4

2016-12-22 Thread Claus Ibsen
The unload of type converter was not the right path. Can you put a small example together that demonstrates this problem and put up on github or attach as .zip to the JIRA ticket. And make it so it uses Karaf 4.0.8 and Camel 2.18.1 as we want to use latest release. On Thu, Dec 22, 2016 at 11:33 A

Re: CamelBluePrintTestSupport 2.17.0 getRouteDefinition null pointer exception

2016-12-22 Thread Grzegorz Grzybek
Hello, There were race conditions fixed (see http://ggrzybek.blogspot.com/2015/12/camel-blueprint-test-support.html). What exactly is your NPE? Please increase logging for "org.apache.camel.test.blueprint" and "org.apache.camel.blueprint" loggers to see if all the bundles were included (and maybe

Re: camel-core not detecting converters on bundle restart in karaf4

2016-12-22 Thread yogu13
Sure will have it up in couple of hours :) Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/camel-core-not-detecting-converters-on-bundle-restart-in-karaf4-tp5791503p5791857.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: howto aggregate to csv file

2016-12-22 Thread Thomas Richter
Moin @all, Am 19.12.2016 um 18:23 schrieb Quinn Stevenson: > Have you tried using pollEnrich to pull in the second file? Something like > > from(uri).unmarshal().csv() > .pollEnrich(“uri”, aggregationStrategy) > .marshal().csv() > .to(“final file uri”); I have some points: With a self writt

how to use the asyncDelayed delayer

2016-12-22 Thread Ronny Aerts
Hallo camel users, I have a process where I have to use a retry (when another system is locked) after an amount of time. When the process is waiting (in the delay), other request (coming in from a queue) should continue to be processed. I tried a route with but this does not work as I expected

Camel Non-blocking HTTP based Microservices

2016-12-22 Thread linktech
Looking for Camel capability and examples for REST consumers & producers using non-blocking HTTP Libs to support non-blocking HTTP request/responses. I did see the some support for producer templates but not on consumers or REST DSL. I see where Spring has support for ListenableFuture & DeferredRe

Re: Camel Non-blocking HTTP based Microservices

2016-12-22 Thread Vitalii Tymchyshyn
For custom logic you can return a CompletableFuture from your @Handler or implement AsyncProcessor. As of existing endpoints, many support non-blocking operations in both server and client modes, e.g. netty4-http, servlet, http client, cxf (just from my head, there are more). Best regards, Vitali

Re: Camel Non-blocking HTTP based Microservices

2016-12-22 Thread linktech
I am looking for the same REST HTTP functionality in Camel as outline in this great article on Spring Integration: https://dzone.com/articles/non-blocking-rest-services-with-spring. Need to be able to return the REST response (deferred) to the HTTP stack and release the request thread. When the de

Re: Camel Non-blocking HTTP based Microservices

2016-12-22 Thread Vitalii Tymchyshyn
In camel it works in a bit different way, actually easier than in IoC scenarios. As soon as all endpoints in your route are non-blocking, the whole route should be non-blocking to. Чт, 22 груд. 2016 13:35 користувач linktech пише: > I am looking for the same REST HTTP functionality in Camel as o

Re: Camel Non-blocking HTTP based Microservices

2016-12-22 Thread linktech
It does look like: http://camel.apache.org/asynchronous-processing.html may be what I am looking for. Will any consumer that is non-blocking work or just Jetty? Thanks, -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Non-blocking-HTTP-based-Microservices-tp5791879p5791

logging/incrementing simple counter

2016-12-22 Thread Baltej Singh
Tring to create a simple counter to track some stats, not using the metrics related components. Just need to log execCount and do execCount++ everytime route is entered. What is the syntax for logging results of bean method? i.e. logging result of: Thanks, Baltej ---snippet

Re: Camel Non-blocking HTTP based Microservices

2016-12-22 Thread Vitalii Tymchyshyn
As I've said, camel has tons of non-blocking endpoints. This is the list, but I am not sure if its complete: http://camel.apache.org/asynchronous-routing-engine.html Чт, 22 груд. 2016 14:04 користувач linktech пише: > It does look like: http://camel.apache.org/asynchronous-processing.html > may

RE: Support SFTP Absolute Path for directory

2016-12-22 Thread Goyal, Arpit
Found two of the issues raised earlier, but still it didn't explain the much about what is the security issue and what problem people faced. https://issues.apache.org/jira/browse/CAMEL-8828 https://issues.apache.org/jira/browse/CAMEL-8844 If anyone has, do share the problem faced. As we never

org.apache.camel.ResolveEndpointFailedException

2016-12-22 Thread deepaktaker
Hi All, I have this weird issue where i am trying to execute the spring beans.xml in osgi environment and i get this error org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: sap-successfactors://FO_location?address=https%3A%2F%2Fapi4preview.sapsf.com%2Fsfapi%2Fv1%2Fsoap&b