Re: Predicates

2022-10-17 Thread Claus Ibsen
Hi > exchangeProperty("systemConfig.isActive") This is not simple language, but refers to a exchange property key with the given name. You need to use simple as predicate instead of exchangeProperty On Mon, Oct 17, 2022 at 7:38 PM Reto Peter wrote: > Hi > I have a simple question about th

Predicates

2022-10-17 Thread Reto Peter
Hi I have a simple question about the Predicates I got a systemConfig object, which has 2 getters/setters. The systemConfig object is set as an exchange property. When I use a the simple function, that works! from("direct:testPredicates") .to("direct:getSystemConfig") .choice() .when(simple

Re: User defined beans and processor in Kamelets

2022-10-17 Thread Claudio Miranda
On Mon, Oct 17, 2022 at 1:21 AM Bikash Kaushik wrote: > > I want to call/use my custom beans that I created for data processing in > Camel-K (Kamelets). You can use the "bean" in your kamelet as - bean: "org.apache.camel.kamelets.utils.transform.HoistField" Declare the dependency as: dependen

OpenTelemetry creates two spans for the same thing

2022-10-17 Thread POTZKOV Georgi (ICS460-BAI.ext)
Hi, I am using spring boot + camel in the version: 3.14.2 with camel-opentelemetry-starter and programmatic elastic apm-agent-attach: 1.34.1. Configuration through the annotation @CamelOpenTelemetry. Metrics, Transactions and spans all arrive in elastic but they are split in a weird way see: [ci