Re: Exit split on exception but continue route

2021-07-14 Thread Вячеслав Бойко
Hi! Did you try .onException(YourException.class) . handle(true) ? Harsh Karn 14 июля 2021 г. 23:34:11 написал: Hi, Is there any way to stop executing split on exception but continue running the rest of the route after split or the outer route? I tried setting stopOnException() but it sto

Exit split on exception but continue route

2021-07-14 Thread Harsh Karn
Hi, Is there any way to stop executing split on exception but continue running the rest of the route after split or the outer route? I tried setting stopOnException() but it stops the route immediately and nothing can be done following the exception. I tried using aggregationtrategy but I don't

Re: Camel SFTP - authentication with ssh privateKey

2021-07-14 Thread Zoran Regvart
Hi Simon, the integration test[1] we have, loads[2] the privateKey from file[3] and places it in the registry as byte[]. The file is in PKCS#1 PEM format unencrypted. So we know that works, there might be other formats that will work. I suggest trying with a key in PKCS#1 PEM unencrypted format and

Camel SFTP - authentication with ssh privateKey

2021-07-14 Thread Simon Loy
Hi All, Hope you are all well! I’m currently working on an task that involves sending files to a sftp server but instead of using credentials I am required to use an ssh private key for authentication. I have already proven that connection with the private key is successful via command line :

Re: PostgreSQL insert with returning clause with Camel sql component

2021-07-14 Thread Gerald Mixa
Hi, Batching once again brings up a new topic. And not all Jdbc drivers do handle that as expected or in an expected way and also sometimes incorrect. So first of all I would test again if batch insert and returning works with your Jdbc driver as you want it to. Secondly if you batch you collect

Re: PostgreSQL insert with returning clause with Camel sql component

2021-07-14 Thread Zuzana Krenkova
I am still struggling to make it work. The returning clause works fine if used with a single insert but I need to use a batch insert and then it just inserts values and does not return anything. Is there a way how to get around this? the values are taken from the body: [{new_token=5}, {new_token