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

Avoid usage of deprecated method in camel-scala

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • 2.18.1
    • None
    • camel-scala
    • None
    • Unknown

    Description

      [WARNING] C:\git\camel\components\camel-scala\src\main\scala\org\apache\camel\scala\dsl\SAbstractDefinition.scala:82: warning: method inOnly in class ProcessorDefinition is deprecated: see corresponding Javadoc for more information.
      [WARNING]   def inOnly = wrap(target.inOnly)
      [WARNING]                            ^
      [WARNING] C:\git\camel\components\camel-scala\src\main\scala\org\apache\camel\scala\dsl\SAbstractDefinition.scala:84: warning: method inOut in class ProcessorDefinition is deprecated: see corresponding Javadoc for more information.
      [WARNING]   def inOut = wrap(target.inOut)
      [WARNING]                           ^
      [WARNING] C:\git\camel\components\camel-scala\src\main\scala\org\apache\camel\scala\dsl\SAbstractDefinition.scala:131: warning: method routingSlip in class ProcessorDefinition is deprecated: see corresponding Javadoc for more information.
      [WARNING]   def routingSlip(header: String) = wrap(target.routingSlip(header))
      [WARNING]                                                 ^
      [WARNING] C:\git\camel\components\camel-scala\src\main\scala\org\apache\camel\scala\dsl\SAbstractDefinition.scala:133: warning: method routingSlip in class ProcessorDefinition is deprecated: see corresponding Javadoc for more information.
      [WARNING]   def routingSlip(header: String, separator: String) = wrap(target.routingSlip(header, separator))
      [WARNING]                                                                    ^
      [WARNING] C:\git\camel\components\camel-scala\src\main\scala\org\apache\camel\scala\dsl\SAggregateDefinition.scala:56: warning: method groupExchanges in class AggregateDefinition is deprecated: see corresponding Javadoc for more information.
      [WARNING]   def groupExchanges = wrap(target.groupExchanges)
      [WARNING]                                    ^
      [WARNING] C:\git\camel\components\camel-scala\src\main\scala\org\apache\camel\scala\RichMessage.scala:42: warning: method createExchangeId in trait Message is deprecated: see corresponding Javadoc for more information.
      [WARNING]   def createExchangeId = message.createExchangeId
      [WARNING]                                  ^
      [WARNING] warning: there were 18 feature warnings; re-run with -feature for details
      [WARNING] 7 warnings found
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            aurelien.pupier Aurelien Pupier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: