LibraryToggle FramesPrintFeedback

To test the route:

  1. Open the Eclipse project created in Creating the Fuse IDE project.

  2. Select simple-route/src/main/resources/META-INF/spring/camelContext.xml in the Project Explorer.

  3. From the context menu, select Run As|Local Camel Context.

    The Console panel will open and messages reflecting the progress of the project execution will appear. When a message similar to the following

    4 [main] INFO org.apache.camel.impl.MainSupport - Apache Camel 2.7.1-fuse-00-27 starting
    45 [main] INFO - Refreshing startup date [Tue Apr 05 07:26:18 EDT 2011]; root of context hierarchy
    114 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/workspace/demo/src/main/resources/META-INF/spring/camel-context.xml]
    398 [main] INFO org.apache.camel.spring.handler.CamelNamespaceHandler - OSGi environment not detected.
    951 [main] INFO - Pre-instantiating singletons in defining beans [template,consumerTemplate,camel-1:beanPostProcessor,camel-1]; root of factory hierarchy
    1153 [main] INFO org.apache.camel.spring.SpringCamelContext - Apache Camel 2.7.1-fuse-00-27 (CamelContext: camel-1) is starting
    1153 [main] INFO org.apache.camel.spring.SpringCamelContext - JMX enabled. Using ManagedManagementStrategy.
    1584 [main] INFO org.apache.camel.impl.converter.AnnotationTypeConverterLoader - Found 3 packages with 13 @Converter classes to load
    1616 [main] INFO org.apache.camel.impl.converter.DefaultTypeConverter - Loaded 147 type converters in 0.292 seconds
    1836 [main] INFO org.apache.camel.component.file.FileEndpoint - Endpoint is configured with noop=true so forcing endpoint to be idempotent as well
    1836 [main] INFO org.apache.camel.component.file.FileEndpoint - Using default memory based idempotent repository with cache max size: 1000
    1935 [main] INFO org.apache.camel.spring.SpringCamelContext - Route: route1 started and consuming from: Endpoint[file://src/data?noop=true]
    1940 [main] INFO org.apache.camel.spring.SpringCamelContext - Total 1 routes, of which 1 is started.
    1940 [main] INFO org.apache.camel.spring.SpringCamelContext - Apache Camel 2.7.1-fuse-00-27 (CamelContext: camel-1) started in 0.787 seconds

    appears the route has been executed successfully.

  4. To shutdown the route click the red square on the top of the Console panel.

Comments powered by Disqus