Re: Need original message at the end of the route

2013-06-18 Thread sarfaraj
It works :) exchange.getUnitOfWork().getOriginalInMessage(); Thank you /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/Need-original-message-at-the-end-of-the-route-tp5734290p5734307.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Need original message at the end of the route

2013-06-18 Thread sarfaraj
It is a CXF web service -- View this message in context: http://camel.465427.n5.nabble.com/Need-original-message-at-the-end-of-the-route-tp5734290p5734305.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Need original message at the end of the route

2013-06-18 Thread sarfaraj
Yes Diether, I thought of Original Message before. But didn't get a way to access that. Could someone know how to get it ? /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/Need-original-message-at-the-end-of-the-route-tp5734290p5734301.html Sent from the

Need original message at the end of the route

2013-06-18 Thread sarfaraj
other mechanism to have the same message/object which i received in tag at the end of route ? JFYI: all processor are executed sequentially so multicast also not worked in this case. /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/Need-original-message-at-the-e

Issue in redeliveryPolicy for SFTP component

2013-05-09 Thread sarfaraj
I have used redeliveryPolicy mechanism, in case of error while coping files to SFTP location. for that I have added below line in So ideally redelivery should happen 3 times with delay 10 sec. *But what I observed here it tries 3 times but took more than 10 sec why so ? is it limitation or bug

Re: sftp not throwing exception

2013-05-09 Thread sarfaraj
I upgrade my camel to 2.10.4 and enable the consumer.bridgeErrorHandler=true also made throwExceptionOnConnectFailed=true. Now I can see camel error handler trigger in tag too. But what I see the retry option not worked in this case. *Is it intentional ?* -- View this message in context: ht

Re: Exception handling for camel-ftp

2013-05-06 Thread sarfaraj
to cover all FTP exception? I don't want to miss any, also don't want to retry in case of local file error i.e. file:src/target. /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/Exception-handling-for-camel-ftp-tp5732051p5732070.html Sent from the Cam

Re: Exception handling for camel-ftp

2013-05-06 Thread sarfaraj
Currently i am aware of these two only. I dont know others if any -- View this message in context: http://camel.465427.n5.nabble.com/Exception-handling-for-camel-ftp-tp5732051p5732065.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Exception handling for camel-ftp

2013-05-06 Thread sarfaraj
Yes I want to do in XML only. Adding below two lines will cover these two exception. But I am not sure about other (all) FTP related exception. Basically I need a list, what all exception will occur in case of FTP used. So i can add that exception in org.apache.camel.component.file.GenericFileO

Re: Exception handling for camel-ftp

2013-05-05 Thread sarfaraj
predicate to use in which will make sure that to retry when FTP exception occurred. I tried few things also googled but no luck. /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/Exception-handling-for-camel-ftp-tp5732051p5732056.html Sent from the Camel - Users

Exception handling for camel-ftp

2013-05-05 Thread sarfaraj
tion" exception. So my question is how do i differe both exception ? I want to retry if FTP error occrrued else not. /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/Exception-handling-for-camel-ftp-tp5732051.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Issue in JSON marshalling

2013-05-04 Thread sarfaraj
ot;:1,"name":"abc"}] , we need {"*myData*":{"id":1,"name":"abc"}} /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/Issue-in-JSON-marshalling-tp5731970p5732008.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Issue in JSON marshalling

2013-05-03 Thread sarfaraj
*can we have property like we have "forceTopLevelObject" in xmljson ?* -- View this message in context: http://camel.465427.n5.nabble.com/Issue-in-JSON-marshalling-tp5731970p5731996.html Sent from the Camel - Users mailing list archive at Nabble.com.

Issue in JSON marshalling

2013-05-03 Thread sarfaraj
ant to remove "[]" from JSON output. *Could some one tell me what changes i need to do on JSON data format to achive this?* /Note: i referred http://camel.apache.org/json.html/ /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/Issue-in-JSON-marshalling-tp5731970.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel bundle not always showing started status

2013-04-15 Thread sarfaraj
t; Why its behaving like this ? */Note: even if that bundle not showing in started status but still its working (consuming file from FSTP )/* Can someone tell me how to showing that bundle in started status always ? like in first image /Sarfaraj -- View this message in context: http://cam

"Unresolved constraint in bundle activemq-broker.xml" Error in fresh 4.5.1 servicemix

2013-04-15 Thread sarfaraj
ll:3.2.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:291)[7:org.apache.felix.fileinstall:3.2.4] >>>>>>>>>>>>>>>>>>>>>> /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/Unresolved-constraint-in-bundle-activemq-broker-xml-Error-in-fresh-4-5-1-servicemix-tp5730909.html Sent from the Camel - Users mailing list archive at Nabble.com.

issue while using useOriginalMessage="true" in file component

2013-04-08 Thread sarfaraj
.AxisFault true /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/issue-while-using-useOriginalMessage-true-in-file-component-tp5730479.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Delete files in SFTP, only when route completed successfully

2013-04-06 Thread sarfaraj
I handled the exception that's why it gets deleted ? -- View this message in context: http://camel.465427.n5.nabble.com/Delete-files-in-SFTP-only-when-route-completed-successfully-tp5730295p5730445.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Failed to load type converters because of: Cannot find any type converter classes from the following packages: [org.apache.activemq.camel.converter]

2013-04-04 Thread sarfaraj
After restarting servicemix again i see the same above error. I don't know what happening exactly. Sometime i get that error sometime i am not. Any one had the same experience ? -- View this message in context: http://camel.465427.n5.nabble.com/Failed-to-load-type-converters-because-of-Cannot

Re: Failed to load type converters because of: Cannot find any type converter classes from the following packages: [org.apache.activemq.camel.converter]

2013-04-03 Thread sarfaraj
I am able to resolved this. It's due to my application error. -- View this message in context: http://camel.465427.n5.nabble.com/Failed-to-load-type-converters-because-of-Cannot-find-any-type-converter-classes-from-the-following--tp5730293p5730309.html Sent from the Camel - Users mailing list

Re: Delete files in SFTP, only when route completed successfully

2013-04-03 Thread sarfaraj
Or do I need to remove "delete=true" from SFTP consumer and explicitly delete when route completed successfully ? There is no other way to do so ? -- View this message in context: http://camel.465427.n5.nabble.com/Delete-files-in-SFTP-only-when-route-completed-successfully-tp5730295p5730308.ht

Delete files in SFTP, only when route completed successfully

2013-04-03 Thread sarfaraj
Hi, I have a route with SFTP consumer. I added delete=true in SFTP component. What happen now, if we got exception in route still its deleting the file. I want to delete only when it success not in Exception case.. Any idea please ? /Sarfaraj -- View this message in context: http://camel

Failed to load type converters because of: Cannot find any type converter classes from the following packages: [org.apache.activemq.camel.converter]

2013-04-03 Thread sarfaraj
Hi, I got following error I am usning servicemix 4.4.2 V, which has camel 2.8.5. Could someone tell me what is wrong with my app ? >> 19:14:36,454 | ERROR | ExtenderThread-4 | ContextLoaderListener| 76 - org.springframework.osgi.extender - 1.2.1 | Application co

Re: How to consume old file first in SFTP ?

2013-04-03 Thread sarfaraj
Ok, If I use "sortBy=reverse:file:modified" then it will take old file first then latest ...right ? -- View this message in context: http://camel.465427.n5.nabble.com/How-to-consume-old-file-first-in-SFTP-tp5730253p5730267.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to consume old file first in SFTP ?

2013-04-03 Thread sarfaraj
But looks like "sortBy=file:modified" consumed the old file first and ""sortBy=reverse:file:modified" consumed the latest first. I got confused now :) I need to use *"sortBy=file:modified"* to consumed old file right ? Please confirm ? -- View this message in context: http://camel.465427.n5.

How to consume old file first in SFTP ?

2013-04-02 Thread sarfaraj
d file first in SFTP consumer ? Here is my from tag ftp://root@IP_X://tmp?password=&sortBy=reverse:file:modifed&noop=true"; /> /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/How-to-consume-old-file-first-in-SFTP-tp5730253.html Sent from th

Re: How to gave version to camel context file ?

2013-03-22 Thread sarfaraj
Worked, Thank you very much *Christian* -- View this message in context: http://camel.465427.n5.nabble.com/How-to-gave-version-to-camel-context-file-tp5729650p5729685.html Sent from the Camel - Users mailing list archive at Nabble.com.

How to gave version to camel context file ?

2013-03-21 Thread sarfaraj
Hi I have camel context file with some route logic. I have deployed that on servicemix but I see it has 0.0.0 version by default. (see below) Can I add version (like 1.0.0) to that camel context file ? I have only camel file no

Re: How to escape commas(,) in CSV file

2013-03-20 Thread sarfaraj
Worked :) Thanks *Henryk Konsek* -- View this message in context: http://camel.465427.n5.nabble.com/How-to-escape-commas-in-CSV-file-tp5729241p5729584.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to escape commas(,) in CSV file

2013-03-20 Thread sarfaraj
In our input csv I am getting the data with double quotes (" "). like below "ID","NAME","ADDR" "1","Sarfaraj Sayyad","Pune,India" but camel csv component created without double quotes. (1,Sarfaraj Sayyad,Pune,India ) How

Re: sftp not throwing exception

2013-03-20 Thread sarfaraj
I just reversed the **and ** still don't see any exception ftp://root@10.0.0.1//temp?password=test123&throwExceptionOnConnectFailed=true&noop=true"/> -- View this message in context: http://camel.465427.n5.nabble.com/sftp-not-throwing-exception-tp5729470p5729481.html Sent from the Camel - U

sftp not throwing exception

2013-03-19 Thread sarfaraj
Hi, I am using the sftp component(2.8.5). When I passed wrong credential or invalid IP, it doesn't throws any exception. That is why I could not recognized is connection established or not. Could someone tell me how to throw exception in such case. FYI: the route is http://camel.apache.org/sche

How to escape commas(,) in CSV file

2013-03-15 Thread sarfaraj
Hi, I have csv file with following data "ID","NAME","ADDR" "1","Sarfaraj Sayyad","Pune,India" I am using camel csv component here and generate the resultant csv's But what happened it created four columns 1,Sarfaraj Sayyad,Pune,

How to consume csv files only in file componant

2013-03-12 Thread sarfaraj
files. But the issue is other extension files also got deleted because of delete=true in from tag. In short i dont want to touch other than csv files in from componant Is it possible ? How ? /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/How-to-consume-csv-fil

How to pass decrypted value in from tag

2013-03-01 Thread sarfaraj
r.password}}&localWorkDirectory=/tmp";> Could someone tell me how to do that ? /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/How-to-pass-decrypted-value-in-from-tag-tp5728363.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: OSGI axis 1.4 jar ?

2013-02-26 Thread sarfaraj
Bouncer, need some time to understand :) -- View this message in context: http://camel.465427.n5.nabble.com/OSGI-axis-1-4-jar-tp5728065p5728162.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: OSGI axis 1.4 jar ?

2013-02-26 Thread sarfaraj
Is there any axis_all osgi jar ? which i can use as is. /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/OSGI-axis-1-4-jar-tp5728065p5728156.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: OSGI axis 1.4 jar ?

2013-02-26 Thread sarfaraj
Yes I am doing the same. Used a Java Bean to integrate with Axis from regular Java code But I got java.lang.NoClassDefFoundError: Could not initialize class org.apache.axis.client.AxisClient Even if I deployed axis.osgi-1.4.jar on servicemix. Also I don't see any reference issue on Apache Karaf We

Re: OSGI axis 1.4 jar ?

2013-02-25 Thread sarfaraj
I am using camel 2.8.5 I believe its supported to axis 1.4. is it ? /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/OSGI-axis-1-4-jar-tp5728065p5728139.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: OSGI axis 1.4 jar ?

2013-02-25 Thread sarfaraj
I am using wsdl2java plugin (below) to generate the web service client. And used java code(in one of the processor i.e. prepareBulkGetRequest) to get the result. plugin>> org.codehaus.mojo axistools-maven-plugin

Re: OSGI axis 1.4 jar ?

2013-02-25 Thread sarfaraj
FYI: The project running on camel local context. ( means using mvn camel:run command) But not able to run on servicemix 4.4.2. So i dont think its related to CustomerServiceSoapServiceLocator. /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/OSGI-axis-1-4-jar

Re: OSGI axis 1.4 jar ?

2013-02-24 Thread sarfaraj
Yes, I can see org.apache.axis.client.Service class in axis bundle and also I have imported org.apache.axis.client package. -- View this message in context: http://camel.465427.n5.nabble.com/OSGI-axis-1-4-jar-tp5728065p5728082.html Sent from the Camel - Users mailing list archive at Nabble.co

Re: OSGI axis 1.4 jar ?

2013-02-24 Thread sarfaraj
Those errors got resolved. But getting new following errors ng.NoClassDefFoundError: Could not initialize class org.apache.axis.client.AxisClient at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapable BeanFactory.java:965)

OSGI axis 1.4 jar ?

2013-02-24 Thread sarfaraj
by Boot Delegation sun.awt.image.codec -- Cannot be resolved and overwritten by Boot Delegation sun.security.provider -- Cannot be resolved and overwritten by Boot Delegation How do I get this resolved ? /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/OSGI-axis-1-4

Re: How to create csv with UTF-8 encoding using the Spring/XML DSL

2013-02-14 Thread sarfaraj
Looks like it's available in Camel 2.9.3. What about 2.8.5 ? do we have any other way to achieve the same in 2.8.5 ? -- View this message in context: http://camel.465427.n5.nabble.com/How-to-create-csv-with-UTF-8-encoding-using-the-Spring-XML-DSL-tp5727566p5727586.html Sent from the Camel - U

Re: How to consume axis web service with user authentication in camel route

2013-02-07 Thread sarfaraj
Let me describe my problem once again. I got a data from file. That data I parsed & create the object. I need to pass that object as an input to axis web service which is running remotely and get result back in my camel route. My camel route may look like below. * <-- Parse & create object -->

How to consume axis web service with user authentication in camel route

2013-02-06 Thread sarfaraj
We have axis web service with user authentication. Could some one tell me how to consume that web service in camel route ? and How to authenticate using camel route ? Any example would greatly help me. /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/How-to

Re: convertBodyTo(org.w3c.dom.Document.class) fails

2012-09-13 Thread sarfaraj
You meant to say there is nothing similar to fragment=true in camel convertToBody ? We cant remove xml declaration ? Strange :( /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/convertBodyTo-org-w3c-dom-Document-class-fails-tp5029460p5719341.html Sent from the

Re: convertBodyTo(org.w3c.dom.Document.class) fails

2012-09-13 Thread sarfaraj
that in convertBodyTo ? /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/convertBodyTo-org-w3c-dom-Document-class-fails-tp5029460p5719334.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel SSH Issue - Password in plain text.

2012-08-28 Thread sarfaraj
Thanks, I will try this -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SSH-Issue-Password-in-plain-text-tp5718183p5718205.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel SSH Issue - Password in plain text.

2012-08-28 Thread sarfaraj
how can above code translate/convert in camel context (XML format) I used ssh within camel context like ** /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SSH-Issue-Password-in-plain-text-tp5718183p5718192.html Sent from the Camel - Users mailing list

Camel SSH Issue - Password in plain text.

2012-08-28 Thread sarfaraj
. Any examples/links ? /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SSH-Issue-Password-in-plain-text-tp5718183.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: redeliveryPolicy -: How can we retry from start of the route in case of exception occurred inbetween of route?

2012-08-23 Thread sarfaraj
Hey man it works :) . This is what I exactly wanted. Finally I got it. Many thanks appreciated /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/redeliveryPolicy-How-can-we-retry-from-start-of-the-route-in-case-of-exception-occurred-inbetween-of

Re: redeliveryPolicy -: How can we retry from start of the route in case of exception occurred inbetween of route?

2012-08-22 Thread sarfaraj
true /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/redeliveryPolicy-How-can-we-retry-from-start-of-the-route-in-case-of-exception-occurred-inbetween-of-tp5717848p5717912.html Sent from the Camel - Users mailing list archive at Nabble.com.

redeliveryPolicy -: How can we retry from start of the route in case of exception occurred inbetween of route?

2012-08-22 Thread sarfaraj
g for processor 2 only. how do we configure to retry from processor 1 ? Any suggestion/thoughts ? /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/redeliveryPolicy-How-can-we-retry-from-start-of-the-route-in-case-of-exception-occurred-inbetween-of-tp5717848.html Sent fro

Re: Need help on setHeader

2012-08-01 Thread sarfaraj
. Can someone help? /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/Need-help-on-setHeader-tp5716637p5716658.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ssh - return code and stderror

2012-08-01 Thread sarfaraj
I see case in resolved state. When do we expect camel 2.11.0 ? -- View this message in context: http://camel.465427.n5.nabble.com/ssh-return-code-and-stderror-tp5715872p5716650.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Using camel-example-cxf in servicemix

2012-07-12 Thread sarfaraj
I am also facing the same issue. Could some one tell us what changes we need to do in pom.xml ? here is the pom.xml >> http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven

ssh - return code and stderror

2012-07-11 Thread sarfaraj
? Thanks in advance, /Sarfaraj -- View this message in context: http://camel.465427.n5.nabble.com/ssh-return-code-and-stderror-tp5715872.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel 2.9.1 DeadLetterChannel infinite loop

2012-07-03 Thread sarfaraj
Could you please paste the code here? what you did to resolved? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-9-1-DeadLetterChannel-infinite-loop-tp5714961p5715399.html Sent from the Camel - Users mailing list archive at Nabble.com.