: users@camel.apache.org
Subject: Re: Issue with ProducerTemplate (processor not started)
On Fri, Aug 11, 2023 at 5:08 PM Reto Peter wrote:
> Hi Claus
>
> You mean I should just change my executeQuery route this way, from
> dynamic to static?
>
> OLD
> from("direct:
u can also call it
directly from template, and not have that route
result = producer.requestBodyAndHeader("sql:SELECT", "", "CamelSqlQuery",
query);
> -Original Message-
> From: Claus Ibsen
> Sent: Friday, 11 August 2023 22:54
> To: users@camel.apache.org
>
ot;
.to("sql:SELECT")
Correct?
But the bean class does still have the injected producerTemplate. The only
change is the static call to the sql component
-Original Message-
From: Claus Ibsen
Sent: Friday, 11 August 2023 22:54
To: users@camel.apache.org
Subject: Re: Issue with P
oks like this:
> from("direct:executeQuery")
> .routeId("Execute resolvement query")
> .toD("sql:${header.sqlquery}")
> ;
>
> -Original Message-----
> From: Claus Ibsen
> Sent: Friday, 11 August 2023 22:29
> To: users@camel.apache.
;)
.toD("sql:${header.sqlquery}")
;
-Original Message-
From: Claus Ibsen
Sent: Friday, 11 August 2023 22:29
To: users@camel.apache.org
Subject: Re: Issue with ProducerTemplate (processor not started)
What endpoint do you send to with the producer template
On Fri, Aug 11, 2023
What endpoint do you send to with the producer template
On Fri, Aug 11, 2023 at 4:15 PM Reto Peter wrote:
> Hi
>
> I got an issue with the ProducerTemplate used inside a bean
> The Bean class called Resolvement.class injects the ProducerTemplate as
> follows:
>
>
> @EndpointInject
>
> private Pr