rn new StubWebServicesFacadeImpl();
> }
> ...
>
> And so on...
>
>
> Thanks,
> Valdis
>
> -Original Message-
> From: Damien Nicolas [mailto:dmn.nico...@gmail.com]
> Sent: 02 October 2018 15:47
> To: users@camel.apache.org
> Sub
]
Sent: 02 October 2018 15:47
To: users@camel.apache.org
Subject: Re: Integration tests with Spring annotations
My @Autowired are in my "RouteBuilder.class". Plus, I'm using JpaRepository
(WorkflowRepository is this implementing it).
I declared my service " WorkflowService&q
he best or the most correct way of doing
> things it's been working very reliably so far for us.
>
> Regards,
> Valdis
>
> -Original Message-
> From: Damien Nicolas [mailto:dmn.nico...@gmail.com]
> Sent: 01 October 2018 10:20
> To: users@camel.apache.org
> Subject: Re
[mailto:dmn.nico...@gmail.com]
Sent: 01 October 2018 10:20
To: users@camel.apache.org
Subject: Re: Integration tests with Spring annotations
Thanks for you reply!
Here its a sample of my test configuration:
https://scanmail.trustwave.com/?c=6600=zvKx2wzOXtG5KKdFoKiUVWe72PAV8oVAvVCznBIPMw=33
Thanks for you reply!
Here its a sample of my test configuration: https://pastebin.com/7C82BLGT
but I always get the exception:
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException:
No qualifying bean of type
'com.camel.database.repositories.WorkflowRepository' available:
Hi Damien,
We use Spring annotations in our integrations quite a lot and it's working
rather well for us. In order to invoke the RouteBuilder instance we just
provide a class name for it in the ApplicationContext of the test
createApplicationContext method and then use a test configuration