Camel rest route w Spring ControllerAdvice?

2021-03-02 Thread Stephen Bassett
I have a Spring app. I created an ExceptionHandler class and annotated it with @ControllerAdvice. Exceptions thrown from my app are handled there. However, an exception thrown from within a Camel route that is a @RestController and has a restI() route will not be handled in my ExceptionHandler clas

Re: Rép. : Re: Can I call a PostgreSQL function from Camel-sql

2021-03-02 Thread SRIKANT MVS
Thanks for the information, I will try this approach. -Regards Srikant Mantha On Tue, 2 Mar, 2021, 14:16 Daniel Langevin, wrote: > Hi, > > > Here a sample using SqlStoredComponent with Postgresql, hope it's help > > > > > > > > > > value="org.postgresql.ssl.NonV

Re: Issue with Exception Handling in Iota route

2021-03-02 Thread Claus Ibsen
Hi Niels Thanks for bringing this to us. Can you maybe pin point to where inside camel-iata you see this exception and its own error handling? Would like to see more what would be the reason for this, instead of just letting the exception being thrown to let Camels error handling deal with it righ

RE: routes testing

2021-03-02 Thread Grigorii.Ivanov
It turns out that the "camel.springboot.xml-routes" property works for tests as well but it gets applied only when I don't use @ContextConfiguration This results in having the default camel context during the tests, so some additional things like adding some components should be done by hand Is t

Rép. : Re: Can I call a PostgreSQL function from Camel-sql

2021-03-02 Thread Daniel Langevin
Hi, Here a sample using SqlStoredComponent with Postgresql, hope it's help http://camel.apache.org/schema/blueprint"; trace="false" > ... ... ... ... ... ... .. Daniel Langevin >>> De :Babak Vahdat À : Date : 2021-03-02 05

Re: Can I call a PostgreSQL function from Camel-sql

2021-03-02 Thread Babak Vahdat
Hi There’s documentation about the IN, OUT and INOUT parameters for that: https://camel.apache.org/components/latest/sql-stored-component.html#_in_parameters Babak > On 1 Mar 2021, at 23:49, SRIKANT MVS wro

Re: How to Add SOAP header to XML Web service

2021-03-02 Thread Babak Vahdat
Hi There’s an example from the Camel distribution which you may look into: https://github.com/apache/camel-examples/tree/master/examples/cxf-proxy Babak > On 2 Mar 2021, at 08:22, Ahmad Abushosheh | ICSFS > wrote: >

How to Add SOAP header to XML Web service

2021-03-02 Thread Ahmad Abushosheh | ICSFS
Hi, I have a soap xml web service deployed on my environment and i want to use camel to intercept the requests made to this web service and add a soap header. is that possible in camel? Thanks Ahmad Abu Shosheh | Senior Technical Consultant [cid:image002.png@01D70F45.E6236B80]