Hi No, it's all just metadata.
On Tue, Dec 13, 2022 at 6:55 PM ski n <raymondmees...@gmail.com> wrote: > btw what does group do? I couldn't find anything online or in Camel in > action about it. > > from("direct:input") > .group("mygroup") > to("direct:output") > > Can you use it to manage a group of routes at once? For example, > starting/suspending/stopping a group? Or has it other uses? Is there an > example? > > Raymond > > > > On Tue, Dec 13, 2022 at 6:10 PM ski n <raymondmees...@gmail.com> wrote: > > > Yes, I know. But I don't want to implement this in every > > route/routeTemplate, so that's why I thought I use the API for it (inject > > metadata properties on the start of a route for example). > > > > I have implemented a workaround that uses a map that loaded the metadata > > in memory. This map is separated to the CamelContext and I was worried it > > would take too much resources, but it seems working fine. > > > > Raymond > > > > > > On Tue, Dec 13, 2022 at 5:22 PM Claus Ibsen <claus.ib...@gmail.com> > wrote: > > > >> There are route properties / route groups you can set via the DSL. > >> > >> > >> > >> On Tue, Dec 13, 2022 at 4:24 PM ski n <raymondmees...@gmail.com> wrote: > >> > >> > I have a use case where I like to add properties as metadata to a > >> > route/routetemplate. Properties like: > >> > > >> > - The group a route belongs to > >> > - The author of the route > >> > - The version of the route > >> > - The environment it runs > >> > - etc. > >> > > >> > I know Kamelet have a construct for metadata, but is there also > >> construct > >> > to set and get such properties with Camel? The properties shouldn't be > >> > available directly in the route like Exchange properties. I also try > >> not to > >> > set it through the DSL, but with the API. > >> > > >> > Is there a way to do this? (or have similar result) > >> > > >> > Raymond > >> > > >> > >> > >> -- > >> Claus Ibsen > >> ----------------- > >> @davsclaus > >> Camel in Action 2: https://www.manning.com/ibsen2 > >> > > > -- Claus Ibsen ----------------- @davsclaus Camel in Action 2: https://www.manning.com/ibsen2