Camel rule based routing

Apache Camel is used to define the route from the HTTP binding to the BPEL process. This defintion is also deployed as ServiceMix JBI archive. The rule is declared with a domain specific language (here Java).
package net.sourceforge.gaswerk.soa.samples;

import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;

 * A Camel Router
 public class MyRouteBuilder extends RouteBuilder {
  public void configure() throws Exception {
    String fromUri = "jbi:endpoint:";
    String toUri = "jbi:endpoint:" +