Ok thanks. 

I tried and reverted my SB to 2.2.0 which is the same version when running camel 2  and it still doesn’t work. 




/M


På fre, maj 21, 2021 vid 13:19, Claus Ibsen <claus.ib...@gmail.com> skrev:
Hi

Look at the Camel Spring Boo Examples you can find from the camel
website a link to the github repo.
They show how to use SB with Camel 3. That can possible help you to
find the solution.

On Fri, May 21, 2021 at 11:47 AM Mikael Andersson Wigander
<mikael.andersson.wigan...@pm.me.invalid> wrote:
>
> OK, interesting thought.
>
> All my classes are within the same base.
> @Configuration is in Config.class
>
> If this structure no longer works with Spring Boot, what to do then?
> Should I put all my @Configuration in my Main class instead?
>
> /M
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>
> On Friday, May 21st, 2021 at 11:20, Claus Ibsen <claus.ib...@gmail.com> wrote:
>
> > Hi
> >
> > It's a Spring Boot issue with that @Bean is not discovered and registered.
> >
> > Mind about spring boots annotation scanner only checks by default the
> >
> > package from the main class, and its sub packages.
> >
> > So it matter where you put this class.



--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2


Reply via email to