[ 
https://issues.apache.org/activemq/browse/CAMEL-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57513#action_57513
 ] 

Claus Ibsen commented on CAMEL-2460:
------------------------------------

Yeah unit test outputs activity.

But when running the example, using mvn exec:java, nothing happens. 

On the wiki page: http://camel.apache.org/cafe-example.html
you get the impression that something is logged on the console about orders of 
drinks.



> The cafe example - When started it does not output any activity to the 
> console 
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-2460
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2460
>             Project: Apache Camel
>          Issue Type: Task
>          Components: examples
>    Affects Versions: 2.2.0
>            Reporter: Claus Ibsen
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> http://camel.apache.org/cafe-example.html
> The wiki page states that the client will output drinks prepared and whatnot. 
> But this is what I get when running it.
> Wait for 30 sec before shutting down with ctrl + c
> {code}
> [pache.camel.spring.Main.main()] DefaultCamelContext            INFO  Apache 
> Camel 2.2.0-fuse-01-00 (CamelContext:camel) is starting
> [pache.camel.spring.Main.main()] DefaultCamelContext            INFO  JMX 
> enabled. Using DefaultManagedLifecycleStrategy.
> [pache.camel.spring.Main.main()] DefaultCamelContext            INFO  Started 
> 5 routes
> [pache.camel.spring.Main.main()] DefaultCamelContext            INFO  Apache 
> Camel 2.2.0-fuse-01-00 (CamelContext:camel) started
> ^C[                      Thread-2] Main$HangupInterceptor         INFO  
> Received hang up - stopping the main instance.
> [                      Thread-2] MainSupport                    INFO  Apache 
> Camel 2.2.0-fuse-01-00 stopping
> [                      Thread-2] ClassPathXmlApplicationContext INFO  Closing 
> org.springframework.context.support.classpathxmlapplicationcont...@bfc7be: 
> display name 
> [org.springframework.context.support.classpathxmlapplicationcont...@bfc7be]; 
> startup date [Thu Feb 11 08:27:03 CET 2010]; root of context hierarchy
> [                      Thread-2] DefaultListableBeanFactory     INFO  
> Destroying singletons in 
> org.springframework.beans.factory.support.defaultlistablebeanfact...@342fd2: 
> defining beans 
> [aggregatorStrategy,orderSplitter,drinkRouter,waiter,barista,template,consumerTemplate,camel:beanPostProcessor,camel];
>  root of factory hierarchy
> [                      Thread-2] DefaultCamelContext            INFO  Apache 
> Camel 2.2.0-fuse-01-00 (CamelContext:camel) is stopping
> [                      Thread-2] DefaultShutdownStrategy        INFO  
> Starting to graceful shutdown routes (timeout 300 seconds)
> [  Camel thread 6: ShutdownTask] DefaultShutdownStrategy        INFO  Route: 
> route1 shutdown complete.
> [  Camel thread 6: ShutdownTask] DefaultShutdownStrategy        INFO  Route: 
> route2 shutdown complete.
> [  Camel thread 6: ShutdownTask] DefaultShutdownStrategy        INFO  Route: 
> route3 shutdown deferred.
> [  Camel thread 6: ShutdownTask] DefaultShutdownStrategy        INFO  Route: 
> route4 shutdown deferred.
> [  Camel thread 6: ShutdownTask] DefaultShutdownStrategy        INFO  Route: 
> route5 shutdown complete.
> [  Camel thread 6: ShutdownTask] DefaultShutdownStrategy        INFO  Route: 
> route3 shutdown complete.
> [  Camel thread 6: ShutdownTask] DefaultShutdownStrategy        INFO  Route: 
> route4 shutdown complete.
> [                      Thread-2] DefaultShutdownStrategy        INFO  
> Graceful shutdown of routes completed in 0 seconds
> [                      Thread-2] DefaultInflightRepository      INFO  
> Shutting down with no inflight exchanges.
> [                      Thread-2] DefaultCamelContext            INFO  Apache 
> Camel 2.2.0-fuse-01-00 (CamelContext:camel) stopped
> {code}

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

Reply via email to