camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-1389) be able to render a single route definition or collection of routes in other languages (e.g. Java, Scala, Groovy, Ruby etc)
Date Sat, 21 Nov 2009 12:15:52 GMT

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

Claus Ibsen updated CAMEL-1389:
-------------------------------

      Priority: Minor  (was: Major)
    Issue Type: New Feature  (was: Improvement)

> 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: Future
>
>
> 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.


Mime
View raw message