Clone Tools
  • last updated 27 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[CAMEL-11807] Upgrade camel-spring-javaconfig to junit5

  1. … 1 more file in changeset.
[CAMEL-11807] Remove deprecated constructs from camelspring-javaconfig

CAMEL-14180: Fix Checkstyle issues

Seems that previous versions of Checkstyle had few issues with checking

import sort/grouping. So I've run impsort Maven plugin:

mvn net.revelc.code:impsort-maven-plugin:sort -Dimpsort.groups=java,javax,org.w3c,org.xml,junit -Dimpsort.removeUnused=true -Dimpsort.staticAfter=true

To sort all the imports according to the Checkstyle rule.

Few remaining issues around indentation and unnecessary parentheses I

fixed manually.

  1. … 2771 more files in changeset.
CAMEL-14180: Fix Checkstyle issues

Seems that previous versions of Checkstyle had few issues with checking

import sort/grouping. So I've run impsort Maven plugin:

mvn net.revelc.code:impsort-maven-plugin:sort -Dimpsort.groups=java,javax,org.w3c,org.xml,junit -Dimpsort.removeUnused=true -Dimpsort.staticAfter=true

To sort all the imports according to the Checkstyle rule.

Few remaining issues around indentation and unnecessary parentheses I

fixed manually.

  1. … 2763 more files in changeset.
tiny cleanups: - remove unused import statements - make use of type inference for generic instance creation - remove obsolete 'public', 'static' and 'final' modifiers in interfaces - change field/method accesses to it's owning supertype - remove obsolete type castings - remove obsolete semicolons

  1. … 346 more files in changeset.
CAMEL-13822: Add Override annotations

    • -0
    • +2
    ./spring/javaconfig/test/MyPostProcessor.java
  1. … 3625 more files in changeset.
Do not use the deprecated uri field in @EndpointInject / @Consume / @Produce

  1. … 493 more files in changeset.
CAMEL-13336: update license headers

    • -1
    • +1
    ./spring/javaconfig/test/MyConfig.java
    • -1
    • +1
    ./spring/javaconfig/test/MyPostProcessor.java
  1. … 17910 more files in changeset.
[CAMEL-13177] Improve build speed - remove empty package-info.java

  1. … 5 more files in changeset.
Fix tests

  1. … 115 more files in changeset.
[CAMEL-10469] Remove @version in java source code

    • -3
    • +0
    ./spring/javaconfig/test/MyConfig.java
    • -2
    • +0
    ./spring/javaconfig/test/MyPostProcessor.java
  1. … 3759 more files in changeset.
CAMEL-11261 Revise Camel context destruction in...

... Spring (Boot) applications

This changes the way `CamelContext` is started/stopped when used with

Spring Framework. It uses `ContextRefreshedEvent` for startup and

`Lifecycle::stop` to stop, the reason why `Lifecycle` can't be used for

startup is that only beans that implement `SmartLifecycle` are started

and `SpringCamelContext` can't implement `SmartLifecycle` because of

overlapping `isAutoStartupMethod` in `RuntimeConfiguration` and

`SmartLifecycle` with different return types -- that cannot be used as

covariant return type as the `SmartLifecycle` signature uses primitive

type.

The order of startup is quite important, as some changes to Camel

context are not properly expressed if made after context startup (for

instance `EndpointStrategy` change), so `SpringCamelContext` has

`LOWEST_PRECEDENCE` and `RoutesCollector`s, `CamelContextFactoryBean`

have +1 precedence over that in order to add routes and setup context

before startup.

Using `ContextRefreshedEvent` is actually better than using

`SmartLifecycle` as `SmartLifecycle` invocation precedes

`ContextRefreshedEvent` emission, so there could be beans in the context

that also start on `ContextRefreshedEvent` and Camel would start before

those.

One side note on using events is that at some point Spring might

default, however unlikely that seems, to using multi-threaded event

listener invocation, so this might complicate things.

  1. … 31 more files in changeset.
CAMEL-9650: camel-spring-javaconfig polished example and make it more like spring-boot

  1. … 3 more files in changeset.
CAMEL-9650: camel-spring-javaconfig polished example and make it more like spring-boot

  1. … 8 more files in changeset.
Camel testing Asciidoc documentation

  1. … 8 more files in changeset.
[CAMEL-8969] Add start of camel-coap component

  1. … 9 more files in changeset.
Clean up the code of camel-spring-javaconfig

[Spring-JavaConfig] Added test case verifying that loading raw CamelConfiguration is possible.

[Spring-JavaConfig] Added autowiring support to JavaConfig CamelConfiguration.

    • -0
    • +40
    ./spring/javaconfig/autowire/ModuleConfig.java
  1. … 1 more file in changeset.
fixed CS error

git-svn-id: https://svn.apache.org/repos/asf/camel/trunk@1462077 13f79535-47bb-0310-9956-ffa450edef68

Added tag for wiki doc

git-svn-id: https://svn.apache.org/repos/asf/camel/trunk@1456445 13f79535-47bb-0310-9956-ffa450edef68

Added tag for wiki doc

git-svn-id: https://svn.apache.org/repos/asf/camel/trunk@1456443 13f79535-47bb-0310-9956-ffa450edef68

CAMEL-5672: Avoid using the System.out or System.error PrintStreams for logging.

git-svn-id: https://svn.apache.org/repos/asf/camel/trunk@1392330 13f79535-47bb-0310-9956-ffa450edef68

  1. … 58 more files in changeset.
CAMEL-5494 support for Camel's testing annotations with spring javaconfig out of box

git-svn-id: https://svn.apache.org/repos/asf/camel/trunk@1376847 13f79535-47bb-0310-9956-ffa450edef68

    • -0
    • +82
    ./spring/javaconfig/test/CamelSpringDelegatingTestContextLoaderTest.java
  1. … 2 more files in changeset.
CAMEL-4934: Moved CamelBeanPostProcessor from camel-spring to camel-core, to make it reusable by others. Ensure CamelTestSupport and camel-test-blueprint can run and do Camel @EndpointInjection without Spring JARs on classpath.

git-svn-id: https://svn.apache.org/repos/asf/camel/trunk@1235225 13f79535-47bb-0310-9956-ffa450edef68

    • -0
    • +1
    ./spring/javaconfig/test/MyConfig.java
    • -4
    • +0
    ./spring/javaconfig/test/MyPostProcessor.java
  1. … 23 more files in changeset.
CAMEL-4796. Organize imports. Patch applied with thanks to Babak

git-svn-id: https://svn.apache.org/repos/asf/camel/trunk@1222296 13f79535-47bb-0310-9956-ffa450edef68

  1. … 208 more files in changeset.
CAMEL-4765: Perfer to use API which takes type paramter over explict type casting. We can do this now Spring 3.0+ is min. Thanks to Babak for the patch.

git-svn-id: https://svn.apache.org/repos/asf/camel/trunk@1213169 13f79535-47bb-0310-9956-ffa450edef68

  1. … 145 more files in changeset.
CAMEL-3676: Removing $ in source files.

git-svn-id: https://svn.apache.org/repos/asf/camel/trunk@1071779 13f79535-47bb-0310-9956-ffa450edef68

    • -1
    • +1
    ./spring/javaconfig/test/MyConfig.java
    • -1
    • +1
    ./spring/javaconfig/test/MyPostProcessor.java
  1. … 734 more files in changeset.
Try to fix the MainTest in camel-spring-javaconfig

git-svn-id: https://svn.apache.org/repos/asf/camel/trunk@895569 13f79535-47bb-0310-9956-ffa450edef68

    • -33
    • +0
    ./spring/javaconfig/ContextConfig.java
    • -0
    • +34
    ./spring/javaconfig/config/ContextConfig.java
Try to fix the MainTest test error

git-svn-id: https://svn.apache.org/repos/asf/camel/trunk@895540 13f79535-47bb-0310-9956-ffa450edef68