RE: Camel not able to delete files Outside .camel

2017-04-18 Thread Siano, Stephan
Hi, Caused by: java.io.FileNotFoundException: E:\XXX\\XX\-01-XXX.zip (Access is denied) This looks as if the process running your camel route does not have access to the directory containing the file (it would need execution rights on the directory). Best regards Stephan -Orig

RE: Camel Route - File name

2017-04-18 Thread Siano, Stephan
Hi, see http://camel.apache.org/file2.html you should especially have a look into the fileName option which will likely do what you want. Best regards Stephan -Original Message- From: KhajaNawas14 [mailto:khaja.na...@me.com] Sent: Dienstag, 18. April 2017 06:14 To: users@camel.apache

Re: How to dynamically inject hystrix properties?

2017-04-18 Thread Claus Ibsen
Maybe create 3 different routes where each hystrix is using A, B or C keys and then call the appropiate route. On Mon, Apr 17, 2017 at 12:46 AM, Priyanka Gopinath wrote: > I have this special usecase where I want to change the threadpool size and > thread pool key based upon the endpoint that is

Camel-SQL more than one IN clauses in SQL throws Exception

2017-04-18 Thread akpcnu
I am using CAMEL 2.17.3 and having two IN clauses in SQL query causes below exception: org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; Number of parameters mismatch. Expected: 4, was: 8; nested

Re: Camel-SQL more than one IN clauses in SQL throws Exception

2017-04-18 Thread Claus Ibsen
Try newer Camel version On Tue, Apr 18, 2017 at 3:47 PM, akpcnu wrote: > I am using CAMEL 2.17.3 and having two IN clauses in SQL query causes below > exception: > > org.springframework.jdbc.UncategorizedSQLException: > PreparedStatementCallback; uncategorized SQLException for SQL []; SQL state >

Active MQ; Put Soap Request in Active MQ and get back SOAP response

2017-04-18 Thread Ancil hameed
I working on JBoss Fuse, I want to put my SOAP request in Active MQ Queue. After putting SOAP request in Queue I want a response sent back to my SOAP request. Sample Code snippet: Below is my camel context, i have replace < > with ( ) (cxf:cxfEndpointaddress="http://localhost:8181/cxf/hello";

Re: How to use request reply in JMS

2017-04-18 Thread Andathodan Tiringoli, Ancil Hameed
Hi Claus Ibsen, can you please help on below I working on JBoss Fuse, I want to put my SOAP request in Active MQ Queue. After putting SOAP request in Queue I want a response sent back to my SOAP request. Sample Code snippet: Below is my camel context http://localhost:8181/cxf/hello"; id="SOAPInpu

Re: Camel-SQL more than one IN clauses in SQL throws Exception

2017-04-18 Thread akpcnu
Thanks Clause, It worked on 2.18.3 -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SQL-more-than-one-IN-clauses-in-SQL-throws-Exception-tp5797818p5797826.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to dynamically inject hystrix properties?

2017-04-18 Thread Priyanka Gopinath
Thank you for the response. I was able to inject values dynamically after creating a new hystrix route per endpoint. On Tue, Apr 18, 2017 at 3:44 AM, Claus Ibsen wrote: > Maybe create 3 different routes where each hystrix is using A, B or C > keys and then call the appropiate route. > > On Mon,

Parsing issue with unmarshal and bindy.csv with double quotes and commas in a single field

2017-04-18 Thread sadiq
I'm experiencing a parsing issue using Bindy to unmarshal a CSV file into a List of POJOs (my POJO class is annotated with @CsvRecord). The CSV file contains the following: partNumber,longDescription,status 123,"1970-84 Windshield Washer Jar, Multi Application",Available 234,"1967-75 6 Cyl/ Small