[
https://issues.apache.org/jira/browse/CAMEL-10610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15754104#comment-15754104
]
Claus Ibsen commented on CAMEL-10610:
-------------------------------------
They are there because its a 1:1 with camel-core and the methods are deprecated
there
> Avoid usage of deprecated method in camel-scala
> -----------------------------------------------
>
> Key: CAMEL-10610
> URL: https://issues.apache.org/jira/browse/CAMEL-10610
> Project: Camel
> Issue Type: Improvement
> Components: camel-scala
> Affects Versions: 2.18.1
> Reporter: Aurelien Pupier
> Priority: Minor
>
> {noformat}
> [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
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)