Re: PostgreSQL insert with returning clause with Camel sql component

2021-07-14 Thread Gerald Mixa
.to(direct:output); > sql: > INSERT INTO dim_token(token) values(:#new_token) > ON CONFLICT (token) > DO UPDATE SET token=excluded.token returning id, token > > > > > > >> On 2021/07/12 13:31:26, Gerald Mixa wrote: >> Hello, >> Are you sure tha

Re: PostgreSQL insert with returning clause with Camel sql component

2021-07-12 Thread Gerald Mixa
the same application, the JDBC driver will run the insert > correctly and return the values. It is just in the Camel route when nothing > is returned. > >> On 2021/07/12 13:31:26, Gerald Mixa wrote: >> Hello, >> Are you sure that your Jdbc driver does really return a

Re: PostgreSQL insert with returning clause with Camel sql component

2021-07-12 Thread Gerald Mixa
Hello, Are you sure that your Jdbc driver does really return a result after executing this DML statement? Some Jdbc drivers do not return this correctly. Maybe do a little manual test with your Jdbc drivers do not handle this in a correct way! Greetings Gerald Von meinem iPhone gesendet > Am

Camel 3.0-RC1 Means missing

2019-09-22 Thread Gerald Mixa
Hi, i use java 11 and try to manage my camel project via means. The common MBeans endpoints in jvisualvm are missing after upgrading from camel2 to camel 3. Is there anything more to do to activate mbeans again then the common migration changes? Greetings Gerald

Re: Camel Swagger and Cors in StandaloneMode

2016-04-26 Thread Gerald Mixa
I use swagger-ui is: { "error": "no response from server" } if I use the generated curl request i get the expected response. Greetings Gerald Mixa 2016-04-25 19:05 GMT+02:00 Claus Ibsen <claus.ib...@gmail.com>: > Hi > > Yeah you need to enable cors in

Camel Swagger and Cors in StandaloneMode

2016-04-25 Thread Gerald Mixa
and configure a RestSwaggerCorsFilter. This is done via web.xml. But as i am running standalone this filter cannot be configured via web.xml. Is there another way to configure a cors filter which works in standalone mode too? Greetings Gerald Mixa

Re: CAMEL 2.16.2 and Swagger

2016-03-09 Thread Gerald Mixa
Am 08.03.2016 um 07:17 schrieb Claus Ibsen <claus.ib...@gmail.com>: > > Can you upgrade the swagger-java library as there is a bug in it > afaik. There is a newer 1.5.7 release. > >> On Fri, Mar 4, 2016 at 5:40 PM, Gerald Mixa <gerald.m...@gmail.com> wrote: >> Hi,

CAMEL 2.16.2 and Swagger

2016-03-04 Thread Gerald Mixa
Hi, i have just tried out the camel swagger plugin example which is shipped with 2.16. So far it seems to work. But when i go to the use case which is offered by http://localhost/#!/user/get_user_id to retrieve specific info for a user who is ghiven by its id swagger just offers a selection box