camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xueqiang Mi (JIRA)" <>
Subject [jira] Updated: (CAMEL-1655) Groovy Route Editor for WebConsole
Date Thu, 11 Jun 2009 08:25:35 GMT


Xueqiang Mi updated CAMEL-1655:

    Attachment: camel-web-20090611.patch

Camel-web Groovy and Ruby rotue editing support patch.Now camel-web module allow user to editing
routes by using Groovy and Ruby language. These function are supported by camel-groovy and
camel-ruby modules.Two examples of editing a route are as follows:
1. Editing a rotue in Groovy.
package org.apache.camel.web.groovy.example

import org.apache.camel.language.groovy.GroovyRouteBuilder;

class GroovyRoutes extends GroovyRouteBuilder {

  void configure() {


2. Editing a route in Ruby.
require 'camel'

include_class "org.apache.camel.ruby.RubyCamel"

class RubyRoutes < Camel::RubyRouteBuilder

  def configure 
    from "direct:a"
    to "mock:results"




There may be some exceptions when typing in error format route configuration. I will fix them

> Groovy Route Editor for WebConsole
> ----------------------------------
>                 Key: CAMEL-1655
>                 URL:
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-web
>            Reporter: Jonathan Anstey
>            Assignee: Xueqiang Mi
>         Attachments: camel-web-20090611.patch
> Our Google Summer of Code student Xueqiang Mi will be attaching code updates to this
JIRA for review. See for more info
on the project.

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

View raw message