Camel
  1. Camel
  2. CAMEL-4933

camel-test - CamelTestSupport should not have any Spring dependency

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor 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.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development