You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2016/07/28 14:36:30 UTC

camel git commit: Upgrade Spring-boot Configuration for camel-jgroups

Repository: camel
Updated Branches:
  refs/heads/master 4d4980ad9 -> 27313cc40


Upgrade Spring-boot Configuration for camel-jgroups


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/27313cc4
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/27313cc4
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/27313cc4

Branch: refs/heads/master
Commit: 27313cc40d31b277f9a3a4aae59e867f607b1d7a
Parents: 4d4980a
Author: Andrea Cosentino <an...@gmail.com>
Authored: Thu Jul 28 16:35:44 2016 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Thu Jul 28 16:35:44 2016 +0200

----------------------------------------------------------------------
 .../jgroups/springboot/JGroupsComponentAutoConfiguration.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/27313cc4/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
index d44e3b8..218bd76 100644
--- a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
+++ b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
@@ -34,7 +34,7 @@ import org.springframework.context.annotation.Configuration;
 @EnableConfigurationProperties(JGroupsComponentConfiguration.class)
 public class JGroupsComponentAutoConfiguration {
 
-    @Bean(name = "jgroups-component")
+    @Bean
     @ConditionalOnClass(CamelContext.class)
     @ConditionalOnMissingBean(JGroupsComponent.class)
     public JGroupsComponent configureJGroupsComponent(


Re: camel git commit: Upgrade Spring-boot Configuration for camel-jgroups

Posted by Claus Ibsen <cl...@gmail.com>.
This is in fact wrong. You need to rebuild the tooling so you have the
latest apt plugin so it generates the spring boot code with the latest
changes of today.

On Thu, Jul 28, 2016 at 4:36 PM,  <ac...@apache.org> wrote:
> Repository: camel
> Updated Branches:
>   refs/heads/master 4d4980ad9 -> 27313cc40
>
>
> Upgrade Spring-boot Configuration for camel-jgroups
>
>
> Project: http://git-wip-us.apache.org/repos/asf/camel/repo
> Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/27313cc4
> Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/27313cc4
> Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/27313cc4
>
> Branch: refs/heads/master
> Commit: 27313cc40d31b277f9a3a4aae59e867f607b1d7a
> Parents: 4d4980a
> Author: Andrea Cosentino <an...@gmail.com>
> Authored: Thu Jul 28 16:35:44 2016 +0200
> Committer: Andrea Cosentino <an...@gmail.com>
> Committed: Thu Jul 28 16:35:44 2016 +0200
>
> ----------------------------------------------------------------------
>  .../jgroups/springboot/JGroupsComponentAutoConfiguration.java      | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/camel/blob/27313cc4/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
> ----------------------------------------------------------------------
> diff --git a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
> index d44e3b8..218bd76 100644
> --- a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
> +++ b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
> @@ -34,7 +34,7 @@ import org.springframework.context.annotation.Configuration;
>  @EnableConfigurationProperties(JGroupsComponentConfiguration.class)
>  public class JGroupsComponentAutoConfiguration {
>
> -    @Bean(name = "jgroups-component")
> +    @Bean
>      @ConditionalOnClass(CamelContext.class)
>      @ConditionalOnMissingBean(JGroupsComponent.class)
>      public JGroupsComponent configureJGroupsComponent(
>



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2