Re: @UriParam at endpoint vs at configuration

2023-05-26 Thread Claus Ibsen
Hi There is no strict rule. Some components have a configuration class that (IMHO is a bit cleaner) as the configuration class is only responsible for the configuration options. But Camel does not enforce any style. And today it would be a lot of work to enforce every component to have a specific

@UriParam at endpoint vs at configuration

2023-05-26 Thread Petr Kuzel
Hi Camel devs, I have crossed over following alternatives while adding a new parameter. A: class Endpoint extends RemoteFileEndpoint @UriParam protected X newParameter; B: class Configuration extends RemoteFileConfiguration @UriParam protected X newParameter; Is there a bes