sftp without passward, unable to connect

2013-10-30 Thread kalber
I try to download files via sftp from a server. This works fine from command line , here the command sftp dat2...@tim.mbus:sasa/ftp/orario*.* /tmp Trying to use ftp camels ftp component, a connection is not established. What must i configure to connect with the server via sftp ? Below the log

Re: Performance degradation on consumer side when switching Camel from 2.11.0 to 2.12.1v

2013-10-30 Thread marioradev
Thanks for the prompt reply. I am going to attach a project that could reproduce the degradation. Will need some time to do such project and isolate it from our current scenario. Regards, Mario. -- View this message in context:

Waiting for a bean to finish before continuing route

2013-10-30 Thread geoffreydv
Hello, I was wondering if something I have in mind is possible using Camel. Our projects needs a route to listen for jms messages, then persist something to the database in a custom bean using another route and only continue the first route once the item has been successfully persisted. I was

Reusing definition of Data Formats

2013-10-30 Thread Cristiano Costantini
Hi All, I'm using happily the routeContext / elements to define routes once and then use them multiple times. Well, I actually need to basically use the routes twice: - in the tests, with local endpoints and mocks - in production, inside karaf, where here are osgi service references I don't

RE: sftp without passward, unable to connect

2013-10-30 Thread Siano, Stephan
Hi, If you are doing command line sftp without a password that usually means that you are using a private key to authenticate to the server. There are parameters for this private key (and the passphrase) in Camel's sftp component (see the documentation for details). If you are using the sftp

Apache Camel and Synchronized methods in processor

2013-10-30 Thread M314
In my routing messages pass myBean twice. Once I have: ... //some code .process(myBean) ... //some code .method(myBean, myMethod) ... //some code This bean have to be synchronized. I whould like just to add key word: 'synchronized' to methods: 'myMethod' and 'process', but those mehods are

Camel-HTTP4:2.11.2:ContentType does not returns multipart/form-data;boundary=---------------------------j2radvtrk

2013-10-30 Thread Amit
I found the issue in camel-http4 component. The HttpProducer.createRequestEntity method has been changed to parse the contentType. The ContentType.parse method returns multipart/form-data instead of multipart/form-data;boundary=---j2radvtrk. If you change

Re: Reusing definition of Data Formats

2013-10-30 Thread Claus Ibsen
Yeah there is a ticket about allow to configure other stuff than routes in routeContext so someday in Camel we will support this more easily. On Wed, Oct 30, 2013 at 11:54 AM, Cristiano Costantini cristiano.costant...@gmail.com wrote: Hi All, I'm using happily the routeContext / elements to

How to stop URLDecoding on *path* of URI (*NOT* query parameters)?

2013-10-30 Thread pmcb55
Hi, Using Camel 2.11.0, we have an unusual requirement of needing to invoke this type of URI: *http://www.example.com/service/hello%3Fworld/* Note the '%3F' in the *path* of the URI, which is the encoding for '?'. This is very different than handling query parameters, for which we

Re: Reusing definition of Data Formats

2013-10-30 Thread Cristiano Costantini
Thank you! I will search the ticket on JIRA and follow the evolution from there. bye, Cristiano 2013/10/30 Claus Ibsen claus.ib...@gmail.com Yeah there is a ticket about allow to configure other stuff than routes in routeContext so someday in Camel we will support this more easily. On

Re: Apache Camel and Synchronized methods in processor

2013-10-30 Thread Christian Posta
if you have multiple threads running the route (maybe show the full route, and explain how it gets invoked) and you're sharing state in your beans, then you'll probably want some kind of locking/mutex. adding a synchronized keyword to the java method could help. maybe you could explain a little

RE: sftp without passward, unable to connect

2013-10-30 Thread kalber
Hi, yes i'm using private key to authenticate to the server. I add how you suggest the uri options from ftps component as follow : 1. ftpClient.keyStore.file=/home/kalber/xx/id_rsa 2. ftpClient.keyStore.password=password ( only to avoid null pointer, no password need ) After this i get a

Re: Waiting for a bean to finish before continuing route

2013-10-30 Thread Christian Posta
Well using queues is typically used for asynchronous (or non-blocking) conversations. The route doing the persistence would have to publish an event that signifies persistence has completed ... and your first route block until you've received that (a sort of request-reply of sorts). On Wed, Oct

createRegistry() No longer Called in CamelTestSupport, Docs Wrong

2013-10-30 Thread kraythe .
In reading this url http://camel.apache.org/camel-test.html it says that we should override createRegistry() in order to bind additional objects into the registry in a test. unfortunately this doesn't work as the old startup has been changed in favor of the option to initialize per class or per

Re: cxf proxy

2013-10-30 Thread Aki Yoshida
you need to create a response soap message and set to it to the camel message body. Basically, this is the reverse operation of what you are doing in your processor that reads the soap message from the camel's message body. 2013/10/24 cbuxbaum cbuxb...@tradestonesoftware.com: Hi all, I have

Re: Timeouts in CXFRS

2013-10-30 Thread Nils Andermo
Yes, the timeout configuration works when I add the endpoint configuration to the config file cxf:rsClient id=rsKeysBatch address=http://${keysRestServer}/licensekey/batch; / and change my route to .to(cxfrs://bean://rsKeysBatch) -- View this message in context:

Re: createRegistry() No longer Called in CamelTestSupport, Docs Wrong

2013-10-30 Thread Claus Ibsen
Hi What Camel version do you use from - to in the upgrade. What test case do you use. Can you post some code. createRegistry is called in the Java CamelTestSupport class which works fine. On Wed, Oct 30, 2013 at 5:29 PM, kraythe . kray...@gmail.com wrote: In reading this url

Re: Waiting for a bean to finish before continuing route

2013-10-30 Thread geoffreydv
The reason I created the persistence route is that there will be other routes calling this one that do not have to perform any actions afterwards. Do you have any example on what you mean with publishing an event to signal the persisting is completed? -- View this message in context:

Re: Camel-HTTP4:2.11.2:ContentType does not returns multipart/form-data;boundary=---------------------------j2radvtrk

2013-10-30 Thread Claus Ibsen
Hi Can you log a JIRA ticket? Also if you have a fix then you are welcome to provide a patch. http://camel.apache.org/support On Wed, Oct 30, 2013 at 3:09 PM, Amit amitpatel2...@gmail.com wrote: I found the issue in camel-http4 component. The HttpProducer.createRequestEntity method has been

Component Resolution, Camel/SMX Race Condition?

2013-10-30 Thread Calvert, Zach (Zach)** CTR **
This is somewhat of a cross post between here and the ApacheServiceMix mailing list, but I'm thinking I should have fired this email to camel in the first place. I apologize for the cross post in advance. I'm making use of the cxfbean component in Apache ServiceMix 4.5.3. I have reviewed the

Re: Including newlines towards stream/file endpoint

2013-10-30 Thread Henryk Konsek
Hi Robert, How would one add a newline for each message being sent through this route? Keep in mind that newlines are automatically appended to the string messages. Appropriate excerpt from our documentation [1]: // Send String payload to the standard output. // Message will be followed by the

Re: Component Resolution, Camel/SMX Race Condition?

2013-10-30 Thread Willem jiang
As the cxfbeanReference wasn’t used by Camel as an OSGi service, so you setting cannot block the loading of the CamelContext. How about adding the Required-Bundle of camel-cxf in your application bundle? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: