Example for using JUnit 4 with Fuse 7 deployed on Spring Boot 2

Solution Verified - Updated -

Issue

  • We are looking for JUnit examples to use in our Fuse 7 project
  • We tried to add the examples shown in the Camel Springboot 3 documentation
  • However, we are getting runtime errors like:
java.lang.NoSuchMethodError: org.apache.camel.impl.DefaultCamelContext.setDisableJmx(Z)V

Environment

  • Fuse 7.11 BOM
  • Camel Spring Boot 2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content