TestBoost commented on PR #12386:
URL: https://github.com/apache/camel/pull/12386#issuecomment-1857601821

   Thank you so much!
   
   I tried to extend `org.apache.camel.spring.SpringTestSupport` instead but I 
found `getMandatoryBean(Class<T> type, String name)` actually calls 
`applicationContext.getBean(name, type)`. My original goal was to create 
`ClassPathXmlApplicationContext` only once like 
`isCreateCamelContextPerClass()` in the `CamelSpringTestSupport` class. 
`CamelSpringTestSupport` extends `CamelTestSupport` and it tries to check if 
the context should be only created once.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to