Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4933

camel-test - CamelTestSupport should not have any Spring dependency

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.10.0
    • camel-test
    • None
    • Unknown

    Description

      The CamelTestSupport has dependency on Spring JARs. It should not. People should use the CamelSpringTestSupport if they use Spring for unit testing.

      However Spring has a bean post processor logic that will IoC beans with members that has been annotated with @EndpointInject, @Produce, @Consume etc.
      This is no longer supported, when using CamelTestSupport as that requires Spring JAR at runtime.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: