[camel] branch master updated (0f30734 -> 3c61c56)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[camel] branch master updated (0f30734 -> 3c61c56)

lburgazzoli-2
This is an automated email from the ASF dual-hosted git repository.

lburgazzoli pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from 0f30734  Sync Properties
     add 3c61c56  Add a way to easily call a bean method when a camel lifecycle event happen

No new revisions were added by this update.

Summary of changes:
 ...sCamelContext.java => OnCamelContextEvent.java} | 16 ++---
 .../OnCamelContextInitialized.java}                | 12 ++--
 .../OnCamelContextStart.java}                      | 12 ++--
 .../OnCamelContextStop.java}                       | 12 ++--
 .../camel/impl/engine/AbstractCamelContext.java    | 44 ++++++++++++
 .../org/apache/camel/builder/RouteBuilder.java     |  6 ++
 .../camel/impl/LifecycleStrategyDiscoveryTest.java | 81 ++++++++++++++++++++++
 .../org/apache/camel/main/ContextEventsTest.java   | 63 +++++++++++++++++
 .../camel/support/LifecycleStrategySupport.java    | 68 ++++++++++++++++++
 9 files changed, 287 insertions(+), 27 deletions(-)
 copy core/camel-api/src/main/java/org/apache/camel/spi/{HasCamelContext.java => OnCamelContextEvent.java} (77%)
 copy core/camel-api/src/main/java/org/apache/camel/{cloud/ServiceFactory.java => spi/OnCamelContextInitialized.java} (79%)
 copy core/camel-api/src/main/java/org/apache/camel/{cloud/ServiceFactory.java => spi/OnCamelContextStart.java} (80%)
 copy core/camel-api/src/main/java/org/apache/camel/{cloud/ServiceFactory.java => spi/OnCamelContextStop.java} (81%)
 create mode 100644 core/camel-core/src/test/java/org/apache/camel/impl/LifecycleStrategyDiscoveryTest.java
 create mode 100644 core/camel-main/src/test/java/org/apache/camel/main/ContextEventsTest.java