camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-2460) The cafe example - When started it does not output any activity to the console
Date Thu, 11 Feb 2010 08:00:33 GMT

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

Willem Jiang commented on CAMEL-2460:
-------------------------------------

Hi Clause,
I just ran the unit tests and mvn exec:java in the cafe example directory on the apache camel
trunk, fuse trunk and 2.2.0-fuse-01-00 kit
Everything looks good.
Here is my system environment:
{code}
Apache Maven 2.2.0 (r788681; 2009-06-26 21:04:01+0800)
Java version: 1.5.0_22
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.6.2" arch: "i386" Family: "unix"
{code}

Can you just run mvn clean install in the cafe example directory to see if the unit tests
are working?



> 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.ClassPathXmlApplicationContext@bfc7be:
display name [org.springframework.context.support.ClassPathXmlApplicationContext@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.DefaultListableBeanFactory@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.


Mime
View raw message