Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4816

Update deprecated code in activemq-camel tests

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 5.9.1, 5.10.0
    • Test Cases
    • None
    • Patch Available

    Description

      I get the following warnings when running the apache-camel tests

      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/CamelJmsTest.java:[31,35] [deprecation] CamelSpringTestSupport in org.apache.camel.test.junit4 has been deprecated
      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/CamelJmsTest.java:[40,34] [deprecation] CamelSpringTestSupport in org.apache.camel.test.junit4 has been deprecated
      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/TransactedConsumeTest.java:[35,35] [deprecation] CamelSpringTestSupport in org.apache.camel.test.junit4 has been deprecated
      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/TransactedConsumeTest.java:[42,43] [deprecation] CamelSpringTestSupport in org.apache.camel.test.junit4 has been deprecated
      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/CamelDestinationExclusiveConsumerTest.java:[25,47] [deprecation] AbstractJUnit38SpringContextTests in org.springframework.test.context.junit38 has been deprecated
      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/CamelDestinationExclusiveConsumerTest.java:[31,59] [deprecation] AbstractJUnit38SpringContextTests in org.springframework.test.context.junit38 has been deprecated
      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/DlqTest.java:[28,35] [deprecation] CamelSpringTestSupport in org.apache.camel.test.junit4 has been deprecated
      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/DlqTest.java:[35,29] [deprecation] CamelSpringTestSupport in org.apache.camel.test.junit4 has been deprecated
      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/JmsJdbcXALoadTest.java:[23,35] [deprecation] CamelSpringTestSupport in org.apache.camel.test.junit4 has been deprecated
      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/JmsJdbcXALoadTest.java:[40,39] [deprecation] CamelSpringTestSupport in org.apache.camel.test.junit4 has been deprecated
      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/SetHeaderTest.java:[30,47] [deprecation] AbstractJUnit38SpringContextTests in org.springframework.test.context.junit38 has been deprecated
      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/SetHeaderTest.java:[37,35] [deprecation] AbstractJUnit38SpringContextTests in org.springframework.test.context.junit38 has been deprecated
      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/CamelRedeliveryTest.java:[38,47] [deprecation] AbstractJUnit38SpringContextTests in org.springframework.test.context.junit38 has been deprecated
      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/CamelRedeliveryTest.java:[44,41] [deprecation] AbstractJUnit38SpringContextTests in org.springframework.test.context.junit38 has been deprecated
      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/JmsJdbcXATest.java:[34,35] [deprecation] CamelSpringTestSupport in org.apache.camel.test.junit4 has been deprecated
      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/JmsJdbcXATest.java:[47,35] [deprecation] CamelSpringTestSupport in org.apache.camel.test.junit4 has been deprecated
      [WARNING] /Users/kearls/sources/activemq/activemq-camel/src/test/java/org/apache/activemq/camel/component/ActiveMQConfigureTest.java:[86,59] [deprecation] CamelLogger in org.apache.camel.processor has been deprecated

      Attachments

        1. AMQ-4816.patch
          10 kB
          Kevin Anthony Earls

        Activity

          People

            tabish Timothy A. Bish
            kearls Kevin Anthony Earls
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: