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

[jira] Resolved: (CAMEL-1389) be able to render a single route definition or collection of routes in other languages (e.g. Java, Scala, Groovy, Ruby etc)

     [ https://issues.apache.org/activemq/browse/CAMEL-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-1389.
--------------------------------

    Fix Version/s: 2.5.0
                       (was: Future)
       Resolution: Won't Fix

Lets keep the camel-web simple and have the XML render only

> be able to render a single route definition or collection of routes in other languages (e.g. Java, Scala, Groovy, Ruby etc)
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1389
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1389
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: James Strachan
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> We could do with an interface to be able to turn a RouteType or RoutesType into a textual representation.
> Maybe something like
> {code}
> public interface TextRenderer {
>   void renderRoute(Appendable buffer, RouteType route);
>   void renderRoutes(Appendable buffer, RoutesType route);
> }
> {code}
> The XML one is quite simple - we'd just use JAXB.
> For other languages (Java / Scala / Groovy / Ruby) we'd need some kind of visitor pattern for navigating the Routes/Route tree to turn each node into some neat language expression; so folks could extend some visitor thingy and include the specific Scala (say) code

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.