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

davsclaus pushed a change to branch camel-3.11.x
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from 1e4e327  CAMEL-16767: camel-core - Fix NPE in Loop EIP if it was not 
called before.
     new a010b14  CAMEL-16776: Autowiring components should be deferred till 
later when using main based Camel which allows to read the configuration and 
know if autowiring is enabled or not before using it. The old behavior should 
be to always autowire which is what classic Camel uses.
     new 19559d11 CAMEL-16776: Autowiring components should be done last in the 
lifecycles as the customizer should run before to configure the component 
options, so you can turn this on|off via configuration.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ...Policy.java => AutowiredLifecycleStrategy.java} |  5 +-
 .../camel/impl/engine/AbstractCamelContext.java    |  7 +--
 ...java => DefaultAutowiredLifecycleStrategy.java} | 56 +++++-----------------
 .../MainAutowiredLifecycleStrategy.java}           | 16 +++++--
 .../org/apache/camel/main/BaseMainSupport.java     |  5 ++
 5 files changed, 34 insertions(+), 55 deletions(-)
 copy 
core/camel-api/src/main/java/org/apache/camel/spi/{AuthorizationPolicy.java => 
AutowiredLifecycleStrategy.java} (81%)
 copy 
core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/{AutowiredLifecycleStrategy.java
 => DefaultAutowiredLifecycleStrategy.java} (66%)
 rename 
core/camel-base-engine/src/main/java/org/apache/camel/{impl/engine/AutowiredLifecycleStrategy.java
 => main/MainAutowiredLifecycleStrategy.java} (92%)

Reply via email to