org.apache.servicemix.examples.camel
Class MyRouteBuilder

java.lang.Object
  extended by org.apache.camel.builder.BuilderSupport
      extended by org.apache.camel.builder.RouteBuilder
          extended by org.apache.servicemix.examples.camel.MyRouteBuilder
All Implemented Interfaces:
org.apache.camel.RoutesBuilder

public class MyRouteBuilder
extends org.apache.camel.builder.RouteBuilder

A simple example router to show how to define the route with Java DSL

Version:
$Revision: 12140 $

Constructor Summary
MyRouteBuilder()
           
 
Method Summary
 void configure()
           
static void main(java.lang.String[] args)
          Allow this route to be run as an application
 
Methods inherited from class org.apache.camel.builder.RouteBuilder
addRoutes, addRoutesToCamelContext, checkInitialized, configureRoute, configureRoutes, createContainer, errorHandler, from, from, from, from, fromF, getContext, getRouteCollection, includeRoutes, intercept, interceptFrom, interceptFrom, interceptSendToEndpoint, onCompletion, onException, onException, populateRoutes, setErrorHandlerBuilder, setRouteCollection, toString
 
Methods inherited from class org.apache.camel.builder.BuilderSupport
bean, bean, bean, bean, body, body, constant, createErrorHandlerBuilder, deadLetterChannel, deadLetterChannel, defaultErrorHandler, endpoint, endpoint, endpoints, endpoints, exceptionMessage, faultBody, faultBodyAs, getErrorHandlerBuilder, header, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, noErrorHandler, outBody, outBody, property, regexReplaceAll, regexReplaceAll, sendTo, setContext, systemProperty, systemProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MyRouteBuilder

public MyRouteBuilder()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Allow this route to be run as an application

Parameters:
args -
Throws:
java.lang.Exception

configure

public void configure()
Specified by:
configure in class org.apache.camel.builder.RouteBuilder


Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.