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

camel-test - CamelTestSupport should not have any Spring dependency

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.0
    • Component/s: camel-test
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: