You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/08/19 09:01:46 UTC

[jira] [Commented] (CAMEL-9081) No Scala equivalent for AdviceWithRouteBuilder (e.g, ScalaAdviceWithRouteBuilder)

    [ https://issues.apache.org/jira/browse/CAMEL-9081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14702613#comment-14702613 ] 

Claus Ibsen commented on CAMEL-9081:
------------------------------------

The advice with is for unit testing, and is not intended as part of the scala-dsl. There is also no advice with for groovy dsl etc.

> No Scala equivalent for AdviceWithRouteBuilder (e.g, ScalaAdviceWithRouteBuilder)
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-9081
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9081
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-scala
>            Reporter: Raphael Parree
>            Priority: Minor
>
> I was thinking of adding an {{AdviceWithRouteBuilder}} implementation for Scala (e.g, ScalaAdviceWithRouteBuilder). As far as i understand the API, the {{weave*}}/{{replace}} etc methods return a single {{ProcessorDefinition}}. The Scala API only has {{org.apache.camel.scala.dsl.DSL}} where each keyword returns the {{DSL}} again. 
> If my assumption is correct than that whole DSL part would need refactoring. Feels quite invasive. 
> Are my assumptions correct? 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)