Re: sftp without passward, unable to connect

2013-10-31 Thread kalber
Thanks, now i understood. I must use sftp and setting privateKeyFile (there is no automatism find that the key file, as from commandline) It works fine. Thanks for your time and explanations. Karlheinz - kh -- View this message in context: http://camel.465427.n5.nabble.com/sftp-wit

RE: sftp without passward, unable to connect

2013-10-31 Thread kalber
Hi, now i understood. Using sftp ( not ftps what i did ) i can i use my private ssh key file. Setting up privateKeyFile works fine. thanks for our time and explanations. kh - kh -- View this message in context: http://camel.465427.n5.nabble.com/sftp-without-passward-unable-to-connect

Camel-FTP - retrieving the files tranferred and updating DB

2013-10-31 Thread BAnanth
Hi, I have the following requirement a. I have to transfer a file between two FTP servers. The URI's are dynamically created. (This has been done) b. Upon the successful transfer, I need to update the database with all the files that have been succesfully transferred. b.1 The DB table has the

Re: IgnoreMissingLocation does not ignore env and sys variables in property component

2013-10-31 Thread Claus Ibsen
IgnoreMissingLocation is for ignoring a location of the properties if it cannot be found, such as a file not found etc. It is not for ignoring missing keys. What you are looking for is something like a ignoreUnresolvablePlaceholders=true to ignore unresolved keys. Spring has such an option, we c

Re: Camel-FTP - retrieving the files tranferred and updating DB

2013-10-31 Thread contactreji
Hi Bhavani You can retrieve the file name using camel simple expression ${file:name} if the file is in the body part of the exchange. Reference: jboss-fuse-6.0.0.redhat-024\examples\cbr\src\main\resources\OSGI-INF\blueprint\cbr.xml Reji -- View this message in context: http://camel.465427.

Re: IgnoreMissingLocation does not ignore env and sys variables in property component

2013-10-31 Thread Sébastien BROUSSE
Thx, I will do so. 2013/10/31 Claus Ibsen : > IgnoreMissingLocation is for ignoring a location of the properties if > it cannot be found, such as a file not found etc. > > It is not for ignoring missing keys. > > What you are looking for is something like a > ignoreUnresolvablePlaceholders=true to

Accord Odette FTP Camel Component

2013-10-31 Thread Laurentiu Trica
Hello, I need to use the Accord Odette FTP Camel Component to connect to an OFTP2 endpoint. Can you please help me use this component in conjunction with servicemix-4.5.0.fuse-70-084? Where should I add the dependencies I found on the above page? http://accord.ow2.org/odetteftp/camel.html Thank y

Re: Accord Odette FTP Camel Component

2013-10-31 Thread Claus Ibsen
The Odette FTP component is not an official component from Apache Camel (ASF). So we cannot help you how to use that component, as its 3rd party. I suggest to get in touch with the creators of this component. As you want to use it in Apache ServiceMix then its OSGi based. And hence you should ask

Namespace list - blueprint - xpath

2013-10-31 Thread Nurali Techie
Hi Friends, I want to execute xpath in my code.  It means; I have xpath expression, I have exchange object with In Message. Using 'XPathExpression' and 'XPathBuilder' classes; I succeed to do so.  Below is the code snippet.         XPathExpression xpathExprObj = new XPathExpression("/userResp

Re: Apache Camel and Synchronized methods in processor

2013-10-31 Thread M314
In general my routing is quite complicated. Do it realy matter how exacly it looks like? Numbers of used threads areset by property one 'concurrentConsumers' for JmsConfiguration. MyBean distribute jobs between chlid applications (balance load of child applications) - with dynamic routing. After

RE: Component Resolution, Camel/SMX Race Condition?

2013-10-31 Thread Calvert, Zach (Zach)** CTR **
Hi Willem, Thank you for the help, unfortunately it did not solve the problem. I have confirmed I have my MANIFEST.MF updated to include: " Import-Package: javax.ws.rs,javax.ws.rs.core,javax.xml.bind,javax.xml.bi nd.annotation,org.apache.camel.component.cxf.cxfbean,org.apache.commons .httpclien

Re: Apache Camel and Synchronized methods in processor

2013-10-31 Thread Christian Posta
If multiple threads are accessing your beans, then yes, your beans have to be thread-safe. On Thu, Oct 31, 2013 at 7:00 AM, M314 wrote: > In general my routing is quite complicated. Do it realy matter how exacly it > looks like? > > Numbers of used threads areset by property one 'concurrentConsum

Re: Namespace list - blueprint - xpath

2013-10-31 Thread Aki Yoshida
for the first part of the question, maybe you forgot the set the namespace context (the prefix->nsuri map) in the expression? setNamespaces(Map namespaces) for the second part, you probably need to parse the file that will scan all the namespaces declared and you will see them in the correspondin

RE: Component Resolution, Camel/SMX Race Condition?

2013-10-31 Thread Calvert, Zach (Zach)** CTR **
I created https://issues.apache.org/jira/browse/CAMEL-6920 documenting the steps to reproduce this issue, as well as my attempts to work around the race condition. Thanks, Zach Calvert -Original Message- From: Calvert, Zach (Zach)** CTR ** [mailto:zcalv...@motive.com] Sent: Thursday

How can I avoid setting namespace prefixes in xpath expressions in camel?

2013-10-31 Thread toomanyedwards
Hi all, I am using xpath to set camel header values. Given a document that looks something like this: http://mydomain.com";> some text I can do something like this fine: .setHeader(MY_HEADER_NAME). .xpath("/nsprefix:book/nsprefix:chapter/text()",String.class, new Namespaces("nspref

Re: How can I avoid setting namespace prefixes in xpath expressions in camel?

2013-10-31 Thread alapaka
you can set the namespace prefixes at route level and just use the prefix anywhere in that route. off the top of my head I don't know the java DSL for it, but in xml you do: http://mydomain.com";> ... /nsprefix:book/nsprefix:chapter ... and of course you can specify multiple namespac

Re: How can I avoid setting namespace prefixes in xpath expressions in camel?

2013-10-31 Thread alapaka
well eddie - in this case RTFM! here is what you are looking for in the Java DSL: http://camel.apache.org/xpath.html -- View this message in context: http://camel.465427.n5.nabble.com/How-can-I-avoid-setting-namespace-prefixes-in-xpath-expressions-in-camel-tp5742461p5742468.html Sent from the

JAX-RS and Camel - Except 1st QueryParameter all others are null

2013-10-31 Thread arunodhaya80
Hi, I am referring to the following link (specially the Simple Binding style) http://camel.apache.org/cxfrs.html What I am trying to do is basic - pass three query parameters and receive them in the REST implementation class. For some reason, the second and the subsequent Query Parameters are jus