essobedo opened a new pull request #75:
URL: https://github.com/apache/camel-examples/pull/75


   ## Motivation
   
   The current tests don't rely on the appropriate methods like 
`replaceFromWith` to replace a from endpoint or `bindToRegistry` to bind custom 
beans, moreover some tests are still using JUnit 4 components that all 
deprecated. It could be interesting to update them. 
   
   ## Modifications
   
   * Upgrade the remaining test using JUnit 5
   * Bind components inside `bindToRegistry` instead of `createCamelContext` as 
it is more convenient for it
   * Call the method `replaceRouteFromWith` to replace a from endpoint instead 
of advising explicitly the route as it is more convenient for it
   * Remove the test `CafeRouteSpringIntegrationTest` as it is broken and there 
is no assertions inside


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to