org.apache.camel.example.reportincident
Class ReportIncidentRoutes

java.lang.Object
  extended by org.apache.camel.builder.BuilderSupport
      extended by org.apache.camel.builder.RouteBuilder
          extended by org.apache.camel.example.reportincident.ReportIncidentRoutes
All Implemented Interfaces:
RoutesBuilder

public class ReportIncidentRoutes
extends RouteBuilder

Our routes that we can build using Camel DSL as we extend the RouteBuilder class.

In the configure method we have all kind of DSL methods we use for expressing our routes.


Constructor Summary
ReportIncidentRoutes()
           
 
Method Summary
 void configure()
           
static void main(String[] args)
           
 void setUsingServletTransport(boolean flag)
           
 
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

ReportIncidentRoutes

public ReportIncidentRoutes()
Method Detail

setUsingServletTransport

public void setUsingServletTransport(boolean flag)

configure

public void configure()
               throws Exception
Specified by:
configure in class RouteBuilder
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.