[jira] [Commented] (CAMEL-14708) Camel 3.0.0 Failed to start route because of Multiple consumers for the same endpoint is not allowed

2020-03-18 Thread Claus Ibsen (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17061721#comment-17061721
 ] 

Claus Ibsen commented on CAMEL-14708:
-

Its when you mix this the camel.main for loading rests DSL xml snippets that 
you get duplicates.

> Camel 3.0.0 Failed to start route because of Multiple consumers for the same 
> endpoint is not allowed
> 
>
> Key: CAMEL-14708
> URL: https://issues.apache.org/jira/browse/CAMEL-14708
> Project: Camel
>  Issue Type: Bug
>  Components: camel-spring-boot-starters
>Affects Versions: 3.0.0, 3.0.1, 3.1.0
>Reporter: Ranabroto Ghosh
>Assignee: Claus Ibsen
>Priority: Minor
> Fix For: 3.2.0
>
> Attachments: image-2020-03-13-10-30-33-659.png, 
> image-2020-03-13-10-32-23-060.png, image-2020-03-13-10-33-04-404.png, 
> image-2020-03-13-10-33-54-335.png, image-2020-03-13-10-34-28-450.png, 
> image-2020-03-13-10-36-35-626.png, spring-camel3-ec2.zip
>
>
> I am creating this issue as suggested by claus from Camel-Users group
> Hi I am having this clueless problem *SAMPLE PROJECT IS ATTACHED IN 
> ATTACHMENT SECTION* 
>  *pom.xml:*
>  
>  org.springframework.boot
>  spring-boot-starter-web
>  
>  
>     org.apache.camel.springboot
>      camel-spring-boot-starter
>     3.0.0
>  
>  
>  org.apache.camel
>  camel-jetty
>  3.0.0
>  
> *REST XML :* 
>  http://camel.apache.org/schema/spring];>
>  
>  
>  
>  
>  
>  
> *CAMEL ROUTE:*
>  
>  
>     
>     
>     
>     
>  200
>  
>   
> *EXCEPTION:*
>  2020-03-12 13:17:12,623 spring-ec2 INFO [main] SpringCamelContext: Route:
>  route1 started and consuming from: jetty:
>  [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
>  2020-03-12 13:17:12,625 spring-ec2 INFO [main] SpringCamelContext: Route:
>  route-test started and consuming from: direct://test
>  2020-03-12 13:17:12,627 spring-ec2 INFO [main] SpringCamelContext: Apache
>  Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutting down
>  2020-03-12 13:17:12,628 spring-ec2 INFO [main] DefaultShutdownStrategy:
>  Starting to graceful shutdown 2 routes (timeout 300 seconds)
>  2020-03-12 13:17:12,634 spring-ec2 INFO [Camel
>  (charge-process-fonix-context) thread #1 - ShutdownTask]
>  DefaultShutdownStrategy: Route: route-test shutdown complete, was consuming
>  from: direct://test
>  2020-03-12 13:17:12,639 spring-ec2 INFO [Camel
>  (charge-process-fonix-context) thread #1 - ShutdownTask] AbstractConnector:
>  Stopped ServerConnector@26275b46{HTTP/1.1,[http/1.1]}
> {0.0.0.0:8081}
> 2020-03-12 13:17:12,642 spring-ec2 INFO [Camel
>  (charge-process-fonix-context) thread #1 - ShutdownTask] ContextHandler:
>  Stopped o.e.j.s.ServletContextHandler@274fdea6\{/,null,UNAVAILABLE}
>  2020-03-12 13:17:12,644 spring-ec2 INFO [Camel
>  (charge-process-fonix-context) thread #1 - ShutdownTask]
>  DefaultShutdownStrategy: Route: route1 shutdown complete, was consuming
>  from: jetty:[http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
>  2020-03-12 13:17:12,644 spring-ec2 INFO [main] DefaultShutdownStrategy:
>  Graceful shutdown of 2 routes completed in 0 seconds
>  2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
>  Camel 3.0.0 (CamelContext: charge-process-fonix-context) uptime 0.484
>  seconds
>  2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
>  Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutdown in
>  0.029 seconds
>  2020-03-12 13:17:12,658 spring-ec2 ERROR [main] SpringCamelContext: Error
>  starting CamelContext (charge-process-fonix-context) due to exception
>  thrown: Failed to start route route2 because of Multiple consumers for the
>  same endpoint is not allowed: jetty:
>  [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> org.apache.camel.FailedToStartRouteException: Failed to start route route2
>  because of Multiple consumers for the same endpoint is not allowed: jetty:
>  [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> *Note:* Problem does not happen using below version 
> 
>  org.apache.camel
>  camel-spring-boot-starter
>  2.25.0
>  
> But Any version from 3.0.0 from throws above exception
> 
>  org.apache.camel.springboot
>  camel-spring-boot-starter
>  3.0.0
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (CAMEL-14708) Camel 3.0.0 Failed to start route because of Multiple consumers for the same endpoint is not allowed

2020-03-18 Thread Claus Ibsen (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17061720#comment-17061720
 ] 

Claus Ibsen commented on CAMEL-14708:
-

Okay so its because you use legacy spring XML files, eg with 
{code}
@ImportResource("classpath:context/*")
{code}

Then you should put the rest inside this file
{code}
http://camel.apache.org/schema/spring;>

















200

  
 
  
{code}



> Camel 3.0.0 Failed to start route because of Multiple consumers for the same 
> endpoint is not allowed
> 
>
> Key: CAMEL-14708
> URL: https://issues.apache.org/jira/browse/CAMEL-14708
> Project: Camel
>  Issue Type: Bug
>  Components: camel-spring-boot-starters
>Affects Versions: 3.0.0, 3.0.1, 3.1.0
>Reporter: Ranabroto Ghosh
>Assignee: Claus Ibsen
>Priority: Minor
> Fix For: 3.2.0
>
> Attachments: image-2020-03-13-10-30-33-659.png, 
> image-2020-03-13-10-32-23-060.png, image-2020-03-13-10-33-04-404.png, 
> image-2020-03-13-10-33-54-335.png, image-2020-03-13-10-34-28-450.png, 
> image-2020-03-13-10-36-35-626.png, spring-camel3-ec2.zip
>
>
> I am creating this issue as suggested by claus from Camel-Users group
> Hi I am having this clueless problem *SAMPLE PROJECT IS ATTACHED IN 
> ATTACHMENT SECTION* 
>  *pom.xml:*
>  
>  org.springframework.boot
>  spring-boot-starter-web
>  
>  
>     org.apache.camel.springboot
>      camel-spring-boot-starter
>     3.0.0
>  
>  
>  org.apache.camel
>  camel-jetty
>  3.0.0
>  
> *REST XML :* 
>  http://camel.apache.org/schema/spring];>
>  
>  
>  
>  
>  
>  
> *CAMEL ROUTE:*
>  
>  
>     
>     
>     
>     
>  200
>  
>   
> *EXCEPTION:*
>  2020-03-12 13:17:12,623 spring-ec2 INFO [main] SpringCamelContext: Route:
>  route1 started and consuming from: jetty:
>  [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
>  2020-03-12 13:17:12,625 spring-ec2 INFO [main] SpringCamelContext: Route:
>  route-test started and consuming from: direct://test
>  2020-03-12 13:17:12,627 spring-ec2 INFO [main] SpringCamelContext: Apache
>  Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutting down
>  2020-03-12 13:17:12,628 spring-ec2 INFO [main] DefaultShutdownStrategy:
>  Starting to graceful shutdown 2 routes (timeout 300 seconds)
>  2020-03-12 13:17:12,634 spring-ec2 INFO [Camel
>  (charge-process-fonix-context) thread #1 - ShutdownTask]
>  DefaultShutdownStrategy: Route: route-test shutdown complete, was consuming
>  from: direct://test
>  2020-03-12 13:17:12,639 spring-ec2 INFO [Camel
>  (charge-process-fonix-context) thread #1 - ShutdownTask] AbstractConnector:
>  Stopped ServerConnector@26275b46{HTTP/1.1,[http/1.1]}
> {0.0.0.0:8081}
> 2020-03-12 13:17:12,642 spring-ec2 INFO [Camel
>  (charge-process-fonix-context) thread #1 - ShutdownTask] ContextHandler:
>  Stopped o.e.j.s.ServletContextHandler@274fdea6\{/,null,UNAVAILABLE}
>  2020-03-12 13:17:12,644 spring-ec2 INFO [Camel
>  (charge-process-fonix-context) thread #1 - ShutdownTask]
>  DefaultShutdownStrategy: Route: route1 shutdown complete, was consuming
>  from: jetty:[http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
>  2020-03-12 13:17:12,644 spring-ec2 INFO [main] DefaultShutdownStrategy:
>  Graceful shutdown of 2 routes completed in 0 seconds
>  2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
>  Camel 3.0.0 (CamelContext: charge-process-fonix-context) uptime 0.484
>  seconds
>  2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
>  Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutdown in
>  0.029 seconds
>  2020-03-12 13:17:12,658 spring-ec2 ERROR [main] SpringCamelContext: Error
>  starting CamelContext (charge-process-fonix-context) due to exception
>  thrown: Failed to start route route2 because of Multiple consumers for the
>  same endpoint is not allowed: jetty:
>  [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> org.apache.camel.FailedToStartRouteException: Failed to start route route2
>  because of Multiple consumers for the same endpoint is not allowed: jetty:
>  [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> *Note:* Problem does not happen using below version 
> 
>  org.apache.camel
>  camel-spring-boot-starter
>  2.25.0
>  
> But Any version from 3.0.0 from throws above exception
> 
>  org.apache.camel.springboot
>  

[jira] [Commented] (CAMEL-14708) Camel 3.0.0 Failed to start route because of Multiple consumers for the same endpoint is not allowed

2020-03-18 Thread Claus Ibsen (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17061707#comment-17061707
 ] 

Claus Ibsen commented on CAMEL-14708:
-

Thanks for the project I can reproduce the error

> Camel 3.0.0 Failed to start route because of Multiple consumers for the same 
> endpoint is not allowed
> 
>
> Key: CAMEL-14708
> URL: https://issues.apache.org/jira/browse/CAMEL-14708
> Project: Camel
>  Issue Type: Bug
>  Components: camel-spring-boot-starters
>Affects Versions: 3.0.0, 3.0.1, 3.1.0
>Reporter: Ranabroto Ghosh
>Priority: Minor
> Attachments: image-2020-03-13-10-30-33-659.png, 
> image-2020-03-13-10-32-23-060.png, image-2020-03-13-10-33-04-404.png, 
> image-2020-03-13-10-33-54-335.png, image-2020-03-13-10-34-28-450.png, 
> image-2020-03-13-10-36-35-626.png, spring-camel3-ec2.zip
>
>
> I am creating this issue as suggested by claus from Camel-Users group
> Hi I am having this clueless problem *SAMPLE PROJECT IS ATTACHED IN 
> ATTACHMENT SECTION* 
>  *pom.xml:*
>  
>  org.springframework.boot
>  spring-boot-starter-web
>  
>  
>     org.apache.camel.springboot
>      camel-spring-boot-starter
>     3.0.0
>  
>  
>  org.apache.camel
>  camel-jetty
>  3.0.0
>  
> *REST XML :* 
>  http://camel.apache.org/schema/spring];>
>  
>  
>  
>  
>  
>  
> *CAMEL ROUTE:*
>  
>  
>     
>     
>     
>     
>  200
>  
>   
> *EXCEPTION:*
>  2020-03-12 13:17:12,623 spring-ec2 INFO [main] SpringCamelContext: Route:
>  route1 started and consuming from: jetty:
>  [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
>  2020-03-12 13:17:12,625 spring-ec2 INFO [main] SpringCamelContext: Route:
>  route-test started and consuming from: direct://test
>  2020-03-12 13:17:12,627 spring-ec2 INFO [main] SpringCamelContext: Apache
>  Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutting down
>  2020-03-12 13:17:12,628 spring-ec2 INFO [main] DefaultShutdownStrategy:
>  Starting to graceful shutdown 2 routes (timeout 300 seconds)
>  2020-03-12 13:17:12,634 spring-ec2 INFO [Camel
>  (charge-process-fonix-context) thread #1 - ShutdownTask]
>  DefaultShutdownStrategy: Route: route-test shutdown complete, was consuming
>  from: direct://test
>  2020-03-12 13:17:12,639 spring-ec2 INFO [Camel
>  (charge-process-fonix-context) thread #1 - ShutdownTask] AbstractConnector:
>  Stopped ServerConnector@26275b46{HTTP/1.1,[http/1.1]}
> {0.0.0.0:8081}
> 2020-03-12 13:17:12,642 spring-ec2 INFO [Camel
>  (charge-process-fonix-context) thread #1 - ShutdownTask] ContextHandler:
>  Stopped o.e.j.s.ServletContextHandler@274fdea6\{/,null,UNAVAILABLE}
>  2020-03-12 13:17:12,644 spring-ec2 INFO [Camel
>  (charge-process-fonix-context) thread #1 - ShutdownTask]
>  DefaultShutdownStrategy: Route: route1 shutdown complete, was consuming
>  from: jetty:[http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
>  2020-03-12 13:17:12,644 spring-ec2 INFO [main] DefaultShutdownStrategy:
>  Graceful shutdown of 2 routes completed in 0 seconds
>  2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
>  Camel 3.0.0 (CamelContext: charge-process-fonix-context) uptime 0.484
>  seconds
>  2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
>  Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutdown in
>  0.029 seconds
>  2020-03-12 13:17:12,658 spring-ec2 ERROR [main] SpringCamelContext: Error
>  starting CamelContext (charge-process-fonix-context) due to exception
>  thrown: Failed to start route route2 because of Multiple consumers for the
>  same endpoint is not allowed: jetty:
>  [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> org.apache.camel.FailedToStartRouteException: Failed to start route route2
>  because of Multiple consumers for the same endpoint is not allowed: jetty:
>  [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> *Note:* Problem does not happen using below version 
> 
>  org.apache.camel
>  camel-spring-boot-starter
>  2.25.0
>  
> But Any version from 3.0.0 from throws above exception
> 
>  org.apache.camel.springboot
>  camel-spring-boot-starter
>  3.0.0
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (CAMEL-14708) Camel 3.0.0 Failed to start route because of Multiple consumers for the same endpoint is not allowed

2020-03-18 Thread Ranabroto Ghosh (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17061602#comment-17061602
 ] 

Ranabroto Ghosh commented on CAMEL-14708:
-

[~davsclaus] I have just attached the .zip file here in the issue. 
[^spring-camel3-ec2.zip] 

> Camel 3.0.0 Failed to start route because of Multiple consumers for the same 
> endpoint is not allowed
> 
>
> Key: CAMEL-14708
> URL: https://issues.apache.org/jira/browse/CAMEL-14708
> Project: Camel
>  Issue Type: Bug
>  Components: camel-spring-boot-starters
>Affects Versions: 3.0.0, 3.0.1, 3.1.0
>Reporter: Ranabroto Ghosh
>Priority: Minor
> Attachments: image-2020-03-13-10-30-33-659.png, 
> image-2020-03-13-10-32-23-060.png, image-2020-03-13-10-33-04-404.png, 
> image-2020-03-13-10-33-54-335.png, image-2020-03-13-10-34-28-450.png, 
> image-2020-03-13-10-36-35-626.png, spring-camel3-ec2.zip
>
>
> I am creating this issue as suggested by claus from Camel-Users group
> Hi I am having this clueless problem
> *pom.xml:*
> 
> org.springframework.boot
> spring-boot-starter-web
> 
> 
>    org.apache.camel.springboot
>     camel-spring-boot-starter
>    3.0.0
> 
> 
> org.apache.camel
> camel-jetty
> 3.0.0
> 
> *REST XML :* 
> http://camel.apache.org/schema/spring];>
> 
> 
> 
> 
> 
> 
> *CAMEL ROUTE:*
> 
> 
>    
>    
>    
>    
> 200
> 
>  
> *EXCEPTION:*
> 2020-03-12 13:17:12,623 spring-ec2 INFO [main] SpringCamelContext: Route:
> route1 started and consuming from: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,625 spring-ec2 INFO [main] SpringCamelContext: Route:
> route-test started and consuming from: direct://test
> 2020-03-12 13:17:12,627 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutting down
> 2020-03-12 13:17:12,628 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Starting to graceful shutdown 2 routes (timeout 300 seconds)
> 2020-03-12 13:17:12,634 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route-test shutdown complete, was consuming
> from: direct://test
> 2020-03-12 13:17:12,639 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] AbstractConnector:
> Stopped ServerConnector@26275b46\{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}
> 2020-03-12 13:17:12,642 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] ContextHandler:
> Stopped o.e.j.s.ServletContextHandler@274fdea6\{/,null,UNAVAILABLE}
> 2020-03-12 13:17:12,644 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route1 shutdown complete, was consuming
> from: jetty:[http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,644 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Graceful shutdown of 2 routes completed in 0 seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) uptime 0.484
> seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutdown in
> 0.029 seconds
> 2020-03-12 13:17:12,658 spring-ec2 ERROR [main] SpringCamelContext: Error
> starting CamelContext (charge-process-fonix-context) due to exception
> thrown: Failed to start route route2 because of Multiple consumers for the
> same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> org.apache.camel.FailedToStartRouteException: Failed to start route route2
> because of Multiple consumers for the same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> *Note:* Problem does not happen using below version 
> 
>  org.apache.camel
>  camel-spring-boot-starter
>  2.25.0
> 
> But Any version from 3.0.0 from throws above exception
> 
>  org.apache.camel.springboot
>  camel-spring-boot-starter
>  3.0.0
> 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (CAMEL-14708) Camel 3.0.0 Failed to start route because of Multiple consumers for the same endpoint is not allowed

2020-03-18 Thread Claus Ibsen (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17061566#comment-17061566
 ] 

Claus Ibsen commented on CAMEL-14708:
-

Put your sample project on github or attach a .zip file with it

> Camel 3.0.0 Failed to start route because of Multiple consumers for the same 
> endpoint is not allowed
> 
>
> Key: CAMEL-14708
> URL: https://issues.apache.org/jira/browse/CAMEL-14708
> Project: Camel
>  Issue Type: Bug
>  Components: camel-spring-boot-starters
>Affects Versions: 3.0.0, 3.0.1, 3.1.0
>Reporter: Ranabroto Ghosh
>Priority: Major
> Attachments: image-2020-03-13-10-30-33-659.png, 
> image-2020-03-13-10-32-23-060.png, image-2020-03-13-10-33-04-404.png, 
> image-2020-03-13-10-33-54-335.png, image-2020-03-13-10-34-28-450.png, 
> image-2020-03-13-10-36-35-626.png
>
>
> I am creating this issue as suggested by claus from Camel-Users group
> Hi I am having this clueless problem
> *pom.xml:*
> 
> org.springframework.boot
> spring-boot-starter-web
> 
> 
>    org.apache.camel.springboot
>     camel-spring-boot-starter
>    3.0.0
> 
> 
> org.apache.camel
> camel-jetty
> 3.0.0
> 
> *REST XML :* 
> http://camel.apache.org/schema/spring];>
> 
> 
> 
> 
> 
> 
> *CAMEL ROUTE:*
> 
> 
>    
>    
>    
>    
> 200
> 
>  
> *EXCEPTION:*
> 2020-03-12 13:17:12,623 spring-ec2 INFO [main] SpringCamelContext: Route:
> route1 started and consuming from: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,625 spring-ec2 INFO [main] SpringCamelContext: Route:
> route-test started and consuming from: direct://test
> 2020-03-12 13:17:12,627 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutting down
> 2020-03-12 13:17:12,628 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Starting to graceful shutdown 2 routes (timeout 300 seconds)
> 2020-03-12 13:17:12,634 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route-test shutdown complete, was consuming
> from: direct://test
> 2020-03-12 13:17:12,639 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] AbstractConnector:
> Stopped ServerConnector@26275b46\{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}
> 2020-03-12 13:17:12,642 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] ContextHandler:
> Stopped o.e.j.s.ServletContextHandler@274fdea6\{/,null,UNAVAILABLE}
> 2020-03-12 13:17:12,644 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route1 shutdown complete, was consuming
> from: jetty:[http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,644 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Graceful shutdown of 2 routes completed in 0 seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) uptime 0.484
> seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutdown in
> 0.029 seconds
> 2020-03-12 13:17:12,658 spring-ec2 ERROR [main] SpringCamelContext: Error
> starting CamelContext (charge-process-fonix-context) due to exception
> thrown: Failed to start route route2 because of Multiple consumers for the
> same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> org.apache.camel.FailedToStartRouteException: Failed to start route route2
> because of Multiple consumers for the same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> *Note:* Problem does not happen using below version 
> 
>  org.apache.camel
>  camel-spring-boot-starter
>  2.25.0
> 
> But Any version from 3.0.0 from throws above exception
> 
>  org.apache.camel.springboot
>  camel-spring-boot-starter
>  3.0.0
> 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (CAMEL-14708) Camel 3.0.0 Failed to start route because of Multiple consumers for the same endpoint is not allowed

2020-03-17 Thread Andrea Cosentino (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17060864#comment-17060864
 ] 

Andrea Cosentino commented on CAMEL-14708:
--

Check what could be the bug if any, or investigate the code and comment here 
with your findings.

> Camel 3.0.0 Failed to start route because of Multiple consumers for the same 
> endpoint is not allowed
> 
>
> Key: CAMEL-14708
> URL: https://issues.apache.org/jira/browse/CAMEL-14708
> Project: Camel
>  Issue Type: Bug
>  Components: camel-spring-boot-starters
>Affects Versions: 3.0.0, 3.0.1, 3.1.0
>Reporter: Ranabroto Ghosh
>Priority: Major
> Attachments: image-2020-03-13-10-30-33-659.png, 
> image-2020-03-13-10-32-23-060.png, image-2020-03-13-10-33-04-404.png, 
> image-2020-03-13-10-33-54-335.png, image-2020-03-13-10-34-28-450.png, 
> image-2020-03-13-10-36-35-626.png
>
>
> I am creating this issue as suggested by claus from Camel-Users group
> Hi I am having this clueless problem
> *pom.xml:*
> 
> org.springframework.boot
> spring-boot-starter-web
> 
> 
>    org.apache.camel.springboot
>     camel-spring-boot-starter
>    3.0.0
> 
> 
> org.apache.camel
> camel-jetty
> 3.0.0
> 
> *REST XML :* 
> http://camel.apache.org/schema/spring];>
> 
> 
> 
> 
> 
> 
> *CAMEL ROUTE:*
> 
> 
>    
>    
>    
>    
> 200
> 
>  
> *EXCEPTION:*
> 2020-03-12 13:17:12,623 spring-ec2 INFO [main] SpringCamelContext: Route:
> route1 started and consuming from: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,625 spring-ec2 INFO [main] SpringCamelContext: Route:
> route-test started and consuming from: direct://test
> 2020-03-12 13:17:12,627 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutting down
> 2020-03-12 13:17:12,628 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Starting to graceful shutdown 2 routes (timeout 300 seconds)
> 2020-03-12 13:17:12,634 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route-test shutdown complete, was consuming
> from: direct://test
> 2020-03-12 13:17:12,639 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] AbstractConnector:
> Stopped ServerConnector@26275b46\{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}
> 2020-03-12 13:17:12,642 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] ContextHandler:
> Stopped o.e.j.s.ServletContextHandler@274fdea6\{/,null,UNAVAILABLE}
> 2020-03-12 13:17:12,644 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route1 shutdown complete, was consuming
> from: jetty:[http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,644 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Graceful shutdown of 2 routes completed in 0 seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) uptime 0.484
> seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutdown in
> 0.029 seconds
> 2020-03-12 13:17:12,658 spring-ec2 ERROR [main] SpringCamelContext: Error
> starting CamelContext (charge-process-fonix-context) due to exception
> thrown: Failed to start route route2 because of Multiple consumers for the
> same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> org.apache.camel.FailedToStartRouteException: Failed to start route route2
> because of Multiple consumers for the same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> *Note:* Problem does not happen using below version 
> 
>  org.apache.camel
>  camel-spring-boot-starter
>  2.25.0
> 
> But Any version from 3.0.0 from throws above exception
> 
>  org.apache.camel.springboot
>  camel-spring-boot-starter
>  3.0.0
> 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (CAMEL-14708) Camel 3.0.0 Failed to start route because of Multiple consumers for the same endpoint is not allowed

2020-03-17 Thread Ranabroto Ghosh (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17060861#comment-17060861
 ] 

Ranabroto Ghosh commented on CAMEL-14708:
-

I would love to, can you guide me please, what needs to be done, i have never 
contributed in camel before. 

> Camel 3.0.0 Failed to start route because of Multiple consumers for the same 
> endpoint is not allowed
> 
>
> Key: CAMEL-14708
> URL: https://issues.apache.org/jira/browse/CAMEL-14708
> Project: Camel
>  Issue Type: Bug
>  Components: camel-spring-boot-starters
>Affects Versions: 3.0.0, 3.0.1, 3.1.0
>Reporter: Ranabroto Ghosh
>Priority: Major
> Attachments: image-2020-03-13-10-30-33-659.png, 
> image-2020-03-13-10-32-23-060.png, image-2020-03-13-10-33-04-404.png, 
> image-2020-03-13-10-33-54-335.png, image-2020-03-13-10-34-28-450.png, 
> image-2020-03-13-10-36-35-626.png
>
>
> I am creating this issue as suggested by claus from Camel-Users group
> Hi I am having this clueless problem
> *pom.xml:*
> 
> org.springframework.boot
> spring-boot-starter-web
> 
> 
>    org.apache.camel.springboot
>     camel-spring-boot-starter
>    3.0.0
> 
> 
> org.apache.camel
> camel-jetty
> 3.0.0
> 
> *REST XML :* 
> http://camel.apache.org/schema/spring];>
> 
> 
> 
> 
> 
> 
> *CAMEL ROUTE:*
> 
> 
>    
>    
>    
>    
> 200
> 
>  
> *EXCEPTION:*
> 2020-03-12 13:17:12,623 spring-ec2 INFO [main] SpringCamelContext: Route:
> route1 started and consuming from: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,625 spring-ec2 INFO [main] SpringCamelContext: Route:
> route-test started and consuming from: direct://test
> 2020-03-12 13:17:12,627 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutting down
> 2020-03-12 13:17:12,628 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Starting to graceful shutdown 2 routes (timeout 300 seconds)
> 2020-03-12 13:17:12,634 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route-test shutdown complete, was consuming
> from: direct://test
> 2020-03-12 13:17:12,639 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] AbstractConnector:
> Stopped ServerConnector@26275b46\{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}
> 2020-03-12 13:17:12,642 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] ContextHandler:
> Stopped o.e.j.s.ServletContextHandler@274fdea6\{/,null,UNAVAILABLE}
> 2020-03-12 13:17:12,644 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route1 shutdown complete, was consuming
> from: jetty:[http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,644 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Graceful shutdown of 2 routes completed in 0 seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) uptime 0.484
> seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutdown in
> 0.029 seconds
> 2020-03-12 13:17:12,658 spring-ec2 ERROR [main] SpringCamelContext: Error
> starting CamelContext (charge-process-fonix-context) due to exception
> thrown: Failed to start route route2 because of Multiple consumers for the
> same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> org.apache.camel.FailedToStartRouteException: Failed to start route route2
> because of Multiple consumers for the same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> *Note:* Problem does not happen using below version 
> 
>  org.apache.camel
>  camel-spring-boot-starter
>  2.25.0
> 
> But Any version from 3.0.0 from throws above exception
> 
>  org.apache.camel.springboot
>  camel-spring-boot-starter
>  3.0.0
> 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (CAMEL-14708) Camel 3.0.0 Failed to start route because of Multiple consumers for the same endpoint is not allowed

2020-03-17 Thread Andrea Cosentino (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17060837#comment-17060837
 ] 

Andrea Cosentino commented on CAMEL-14708:
--

If people have time they will take this up, it's unassigned actually. You can 
help too.

> Camel 3.0.0 Failed to start route because of Multiple consumers for the same 
> endpoint is not allowed
> 
>
> Key: CAMEL-14708
> URL: https://issues.apache.org/jira/browse/CAMEL-14708
> Project: Camel
>  Issue Type: Bug
>  Components: camel-spring-boot-starters
>Affects Versions: 3.0.0, 3.0.1, 3.1.0
>Reporter: Ranabroto Ghosh
>Priority: Major
> Attachments: image-2020-03-13-10-30-33-659.png, 
> image-2020-03-13-10-32-23-060.png, image-2020-03-13-10-33-04-404.png, 
> image-2020-03-13-10-33-54-335.png, image-2020-03-13-10-34-28-450.png, 
> image-2020-03-13-10-36-35-626.png
>
>
> I am creating this issue as suggested by claus from Camel-Users group
> Hi I am having this clueless problem
> *pom.xml:*
> 
> org.springframework.boot
> spring-boot-starter-web
> 
> 
>    org.apache.camel.springboot
>     camel-spring-boot-starter
>    3.0.0
> 
> 
> org.apache.camel
> camel-jetty
> 3.0.0
> 
> *REST XML :* 
> http://camel.apache.org/schema/spring];>
> 
> 
> 
> 
> 
> 
> *CAMEL ROUTE:*
> 
> 
>    
>    
>    
>    
> 200
> 
>  
> *EXCEPTION:*
> 2020-03-12 13:17:12,623 spring-ec2 INFO [main] SpringCamelContext: Route:
> route1 started and consuming from: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,625 spring-ec2 INFO [main] SpringCamelContext: Route:
> route-test started and consuming from: direct://test
> 2020-03-12 13:17:12,627 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutting down
> 2020-03-12 13:17:12,628 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Starting to graceful shutdown 2 routes (timeout 300 seconds)
> 2020-03-12 13:17:12,634 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route-test shutdown complete, was consuming
> from: direct://test
> 2020-03-12 13:17:12,639 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] AbstractConnector:
> Stopped ServerConnector@26275b46\{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}
> 2020-03-12 13:17:12,642 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] ContextHandler:
> Stopped o.e.j.s.ServletContextHandler@274fdea6\{/,null,UNAVAILABLE}
> 2020-03-12 13:17:12,644 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route1 shutdown complete, was consuming
> from: jetty:[http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,644 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Graceful shutdown of 2 routes completed in 0 seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) uptime 0.484
> seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutdown in
> 0.029 seconds
> 2020-03-12 13:17:12,658 spring-ec2 ERROR [main] SpringCamelContext: Error
> starting CamelContext (charge-process-fonix-context) due to exception
> thrown: Failed to start route route2 because of Multiple consumers for the
> same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> org.apache.camel.FailedToStartRouteException: Failed to start route route2
> because of Multiple consumers for the same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> *Note:* Problem does not happen using below version 
> 
>  org.apache.camel
>  camel-spring-boot-starter
>  2.25.0
> 
> But Any version from 3.0.0 from throws above exception
> 
>  org.apache.camel.springboot
>  camel-spring-boot-starter
>  3.0.0
> 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (CAMEL-14708) Camel 3.0.0 Failed to start route because of Multiple consumers for the same endpoint is not allowed

2020-03-17 Thread Ranabroto Ghosh (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17060819#comment-17060819
 ] 

Ranabroto Ghosh commented on CAMEL-14708:
-

[~acosentino] I see, not a problem. Thanks for quick reply. I was wondering do 
you have plan to work on this or somebody else will be assigned to this 
eventually ? :) 

> Camel 3.0.0 Failed to start route because of Multiple consumers for the same 
> endpoint is not allowed
> 
>
> Key: CAMEL-14708
> URL: https://issues.apache.org/jira/browse/CAMEL-14708
> Project: Camel
>  Issue Type: Bug
>  Components: camel-spring-boot-starters
>Affects Versions: 3.0.0, 3.0.1, 3.1.0
>Reporter: Ranabroto Ghosh
>Priority: Major
> Attachments: image-2020-03-13-10-30-33-659.png, 
> image-2020-03-13-10-32-23-060.png, image-2020-03-13-10-33-04-404.png, 
> image-2020-03-13-10-33-54-335.png, image-2020-03-13-10-34-28-450.png, 
> image-2020-03-13-10-36-35-626.png
>
>
> I am creating this issue as suggested by claus from Camel-Users group
> Hi I am having this clueless problem
> *pom.xml:*
> 
> org.springframework.boot
> spring-boot-starter-web
> 
> 
>    org.apache.camel.springboot
>     camel-spring-boot-starter
>    3.0.0
> 
> 
> org.apache.camel
> camel-jetty
> 3.0.0
> 
> *REST XML :* 
> http://camel.apache.org/schema/spring];>
> 
> 
> 
> 
> 
> 
> *CAMEL ROUTE:*
> 
> 
>    
>    
>    
>    
> 200
> 
>  
> *EXCEPTION:*
> 2020-03-12 13:17:12,623 spring-ec2 INFO [main] SpringCamelContext: Route:
> route1 started and consuming from: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,625 spring-ec2 INFO [main] SpringCamelContext: Route:
> route-test started and consuming from: direct://test
> 2020-03-12 13:17:12,627 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutting down
> 2020-03-12 13:17:12,628 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Starting to graceful shutdown 2 routes (timeout 300 seconds)
> 2020-03-12 13:17:12,634 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route-test shutdown complete, was consuming
> from: direct://test
> 2020-03-12 13:17:12,639 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] AbstractConnector:
> Stopped ServerConnector@26275b46\{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}
> 2020-03-12 13:17:12,642 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] ContextHandler:
> Stopped o.e.j.s.ServletContextHandler@274fdea6\{/,null,UNAVAILABLE}
> 2020-03-12 13:17:12,644 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route1 shutdown complete, was consuming
> from: jetty:[http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,644 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Graceful shutdown of 2 routes completed in 0 seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) uptime 0.484
> seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutdown in
> 0.029 seconds
> 2020-03-12 13:17:12,658 spring-ec2 ERROR [main] SpringCamelContext: Error
> starting CamelContext (charge-process-fonix-context) due to exception
> thrown: Failed to start route route2 because of Multiple consumers for the
> same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> org.apache.camel.FailedToStartRouteException: Failed to start route route2
> because of Multiple consumers for the same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> *Note:* Problem does not happen using below version 
> 
>  org.apache.camel
>  camel-spring-boot-starter
>  2.25.0
> 
> But Any version from 3.0.0 from throws above exception
> 
>  org.apache.camel.springboot
>  camel-spring-boot-starter
>  3.0.0
> 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (CAMEL-14708) Camel 3.0.0 Failed to start route because of Multiple consumers for the same endpoint is not allowed

2020-03-17 Thread Andrea Cosentino (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17060818#comment-17060818
 ] 

Andrea Cosentino commented on CAMEL-14708:
--

I didn't have the time to work on this.

> Camel 3.0.0 Failed to start route because of Multiple consumers for the same 
> endpoint is not allowed
> 
>
> Key: CAMEL-14708
> URL: https://issues.apache.org/jira/browse/CAMEL-14708
> Project: Camel
>  Issue Type: Bug
>  Components: camel-spring-boot-starters
>Affects Versions: 3.0.0, 3.0.1, 3.1.0
>Reporter: Ranabroto Ghosh
>Priority: Major
> Attachments: image-2020-03-13-10-30-33-659.png, 
> image-2020-03-13-10-32-23-060.png, image-2020-03-13-10-33-04-404.png, 
> image-2020-03-13-10-33-54-335.png, image-2020-03-13-10-34-28-450.png, 
> image-2020-03-13-10-36-35-626.png
>
>
> I am creating this issue as suggested by claus from Camel-Users group
> Hi I am having this clueless problem
> *pom.xml:*
> 
> org.springframework.boot
> spring-boot-starter-web
> 
> 
>    org.apache.camel.springboot
>     camel-spring-boot-starter
>    3.0.0
> 
> 
> org.apache.camel
> camel-jetty
> 3.0.0
> 
> *REST XML :* 
> http://camel.apache.org/schema/spring];>
> 
> 
> 
> 
> 
> 
> *CAMEL ROUTE:*
> 
> 
>    
>    
>    
>    
> 200
> 
>  
> *EXCEPTION:*
> 2020-03-12 13:17:12,623 spring-ec2 INFO [main] SpringCamelContext: Route:
> route1 started and consuming from: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,625 spring-ec2 INFO [main] SpringCamelContext: Route:
> route-test started and consuming from: direct://test
> 2020-03-12 13:17:12,627 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutting down
> 2020-03-12 13:17:12,628 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Starting to graceful shutdown 2 routes (timeout 300 seconds)
> 2020-03-12 13:17:12,634 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route-test shutdown complete, was consuming
> from: direct://test
> 2020-03-12 13:17:12,639 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] AbstractConnector:
> Stopped ServerConnector@26275b46\{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}
> 2020-03-12 13:17:12,642 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] ContextHandler:
> Stopped o.e.j.s.ServletContextHandler@274fdea6\{/,null,UNAVAILABLE}
> 2020-03-12 13:17:12,644 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route1 shutdown complete, was consuming
> from: jetty:[http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,644 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Graceful shutdown of 2 routes completed in 0 seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) uptime 0.484
> seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutdown in
> 0.029 seconds
> 2020-03-12 13:17:12,658 spring-ec2 ERROR [main] SpringCamelContext: Error
> starting CamelContext (charge-process-fonix-context) due to exception
> thrown: Failed to start route route2 because of Multiple consumers for the
> same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> org.apache.camel.FailedToStartRouteException: Failed to start route route2
> because of Multiple consumers for the same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> *Note:* Problem does not happen using below version 
> 
>  org.apache.camel
>  camel-spring-boot-starter
>  2.25.0
> 
> But Any version from 3.0.0 from throws above exception
> 
>  org.apache.camel.springboot
>  camel-spring-boot-starter
>  3.0.0
> 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (CAMEL-14708) Camel 3.0.0 Failed to start route because of Multiple consumers for the same endpoint is not allowed

2020-03-17 Thread Ranabroto Ghosh (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17060817#comment-17060817
 ] 

Ranabroto Ghosh commented on CAMEL-14708:
-

[~acosentino] is there any update on this issue ?

> Camel 3.0.0 Failed to start route because of Multiple consumers for the same 
> endpoint is not allowed
> 
>
> Key: CAMEL-14708
> URL: https://issues.apache.org/jira/browse/CAMEL-14708
> Project: Camel
>  Issue Type: Bug
>  Components: camel-spring-boot-starters
>Affects Versions: 3.0.0, 3.0.1, 3.1.0
>Reporter: Ranabroto Ghosh
>Priority: Major
> Attachments: image-2020-03-13-10-30-33-659.png, 
> image-2020-03-13-10-32-23-060.png, image-2020-03-13-10-33-04-404.png, 
> image-2020-03-13-10-33-54-335.png, image-2020-03-13-10-34-28-450.png, 
> image-2020-03-13-10-36-35-626.png
>
>
> I am creating this issue as suggested by claus from Camel-Users group
> Hi I am having this clueless problem
> *pom.xml:*
> 
> org.springframework.boot
> spring-boot-starter-web
> 
> 
>    org.apache.camel.springboot
>     camel-spring-boot-starter
>    3.0.0
> 
> 
> org.apache.camel
> camel-jetty
> 3.0.0
> 
> *REST XML :* 
> http://camel.apache.org/schema/spring];>
> 
> 
> 
> 
> 
> 
> *CAMEL ROUTE:*
> 
> 
>    
>    
>    
>    
> 200
> 
>  
> *EXCEPTION:*
> 2020-03-12 13:17:12,623 spring-ec2 INFO [main] SpringCamelContext: Route:
> route1 started and consuming from: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,625 spring-ec2 INFO [main] SpringCamelContext: Route:
> route-test started and consuming from: direct://test
> 2020-03-12 13:17:12,627 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutting down
> 2020-03-12 13:17:12,628 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Starting to graceful shutdown 2 routes (timeout 300 seconds)
> 2020-03-12 13:17:12,634 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route-test shutdown complete, was consuming
> from: direct://test
> 2020-03-12 13:17:12,639 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] AbstractConnector:
> Stopped ServerConnector@26275b46\{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}
> 2020-03-12 13:17:12,642 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] ContextHandler:
> Stopped o.e.j.s.ServletContextHandler@274fdea6\{/,null,UNAVAILABLE}
> 2020-03-12 13:17:12,644 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route1 shutdown complete, was consuming
> from: jetty:[http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,644 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Graceful shutdown of 2 routes completed in 0 seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) uptime 0.484
> seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutdown in
> 0.029 seconds
> 2020-03-12 13:17:12,658 spring-ec2 ERROR [main] SpringCamelContext: Error
> starting CamelContext (charge-process-fonix-context) due to exception
> thrown: Failed to start route route2 because of Multiple consumers for the
> same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> org.apache.camel.FailedToStartRouteException: Failed to start route route2
> because of Multiple consumers for the same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> *Note:* Problem does not happen using below version 
> 
>  org.apache.camel
>  camel-spring-boot-starter
>  2.25.0
> 
> But Any version from 3.0.0 from throws above exception
> 
>  org.apache.camel.springboot
>  camel-spring-boot-starter
>  3.0.0
> 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (CAMEL-14708) Camel 3.0.0 Failed to start route because of Multiple consumers for the same endpoint is not allowed

2020-03-13 Thread Ranabroto Ghosh (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17058610#comment-17058610
 ] 

Ranabroto Ghosh commented on CAMEL-14708:
-

[~acosentino] Thanks for your reply I tried what you have mentioned still no 
hope. Please check the screenshots. 

 

!image-2020-03-13-10-30-33-659.png!

 

!image-2020-03-13-10-32-23-060.png!

!image-2020-03-13-10-34-28-450.png!

 

!image-2020-03-13-10-33-54-335.png!

 

!image-2020-03-13-10-36-35-626.png!

> Camel 3.0.0 Failed to start route because of Multiple consumers for the same 
> endpoint is not allowed
> 
>
> Key: CAMEL-14708
> URL: https://issues.apache.org/jira/browse/CAMEL-14708
> Project: Camel
>  Issue Type: Bug
>  Components: camel-spring-boot-starters
>Affects Versions: 3.0.0, 3.0.1, 3.1.0
>Reporter: Ranabroto Ghosh
>Priority: Major
> Attachments: image-2020-03-13-10-30-33-659.png, 
> image-2020-03-13-10-32-23-060.png, image-2020-03-13-10-33-04-404.png, 
> image-2020-03-13-10-33-54-335.png, image-2020-03-13-10-34-28-450.png, 
> image-2020-03-13-10-36-35-626.png
>
>
> I am creating this issue as suggested by claus from Camel-Users group
> Hi I am having this clueless problem
> *pom.xml:*
> 
> org.springframework.boot
> spring-boot-starter-web
> 
> 
>    org.apache.camel.springboot
>     camel-spring-boot-starter
>    3.0.0
> 
> 
> org.apache.camel
> camel-jetty
> 3.0.0
> 
> *REST XML :* 
> http://camel.apache.org/schema/spring];>
> 
> 
> 
> 
> 
> 
> *CAMEL ROUTE:*
> 
> 
>    
>    
>    
>    
> 200
> 
>  
> *EXCEPTION:*
> 2020-03-12 13:17:12,623 spring-ec2 INFO [main] SpringCamelContext: Route:
> route1 started and consuming from: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,625 spring-ec2 INFO [main] SpringCamelContext: Route:
> route-test started and consuming from: direct://test
> 2020-03-12 13:17:12,627 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutting down
> 2020-03-12 13:17:12,628 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Starting to graceful shutdown 2 routes (timeout 300 seconds)
> 2020-03-12 13:17:12,634 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route-test shutdown complete, was consuming
> from: direct://test
> 2020-03-12 13:17:12,639 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] AbstractConnector:
> Stopped ServerConnector@26275b46\{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}
> 2020-03-12 13:17:12,642 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] ContextHandler:
> Stopped o.e.j.s.ServletContextHandler@274fdea6\{/,null,UNAVAILABLE}
> 2020-03-12 13:17:12,644 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route1 shutdown complete, was consuming
> from: jetty:[http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,644 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Graceful shutdown of 2 routes completed in 0 seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) uptime 0.484
> seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutdown in
> 0.029 seconds
> 2020-03-12 13:17:12,658 spring-ec2 ERROR [main] SpringCamelContext: Error
> starting CamelContext (charge-process-fonix-context) due to exception
> thrown: Failed to start route route2 because of Multiple consumers for the
> same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> org.apache.camel.FailedToStartRouteException: Failed to start route route2
> because of Multiple consumers for the same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> *Note:* Problem does not happen using below version 
> 
>  org.apache.camel
>  camel-spring-boot-starter
>  2.25.0
> 
> But Any version from 3.0.0 from throws above exception
> 
>  org.apache.camel.springboot
>  camel-spring-boot-starter
>  3.0.0
> 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (CAMEL-14708) Camel 3.0.0 Failed to start route because of Multiple consumers for the same endpoint is not allowed

2020-03-12 Thread Andrea Cosentino (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17058122#comment-17058122
 ] 

Andrea Cosentino commented on CAMEL-14708:
--

[~Ranabroto] try to remove the spring-boot-starter-web and set 
main-run-controller to true in the application.properties, also you should use 
camel-jetty-starter and not camel-jetty.

> Camel 3.0.0 Failed to start route because of Multiple consumers for the same 
> endpoint is not allowed
> 
>
> Key: CAMEL-14708
> URL: https://issues.apache.org/jira/browse/CAMEL-14708
> Project: Camel
>  Issue Type: Bug
>  Components: camel-spring-boot-starters
>Affects Versions: 3.0.0, 3.0.1, 3.1.0
>Reporter: Ranabroto Ghosh
>Priority: Major
>
> I am creating this issue as suggested by claus from Camel-Users group
> Hi I am having this clueless problem
> *pom.xml:*
> 
> org.springframework.boot
> spring-boot-starter-web
> 
> 
>    org.apache.camel.springboot
>     camel-spring-boot-starter
>    3.0.0
> 
> 
> org.apache.camel
> camel-jetty
> 3.0.0
> 
> *REST XML :* 
> http://camel.apache.org/schema/spring];>
> 
> 
> 
> 
> 
> 
> *CAMEL ROUTE:*
> 
> 
>    
>    
>    
>    
> 200
> 
>  
> *EXCEPTION:*
> 2020-03-12 13:17:12,623 spring-ec2 INFO [main] SpringCamelContext: Route:
> route1 started and consuming from: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,625 spring-ec2 INFO [main] SpringCamelContext: Route:
> route-test started and consuming from: direct://test
> 2020-03-12 13:17:12,627 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutting down
> 2020-03-12 13:17:12,628 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Starting to graceful shutdown 2 routes (timeout 300 seconds)
> 2020-03-12 13:17:12,634 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route-test shutdown complete, was consuming
> from: direct://test
> 2020-03-12 13:17:12,639 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] AbstractConnector:
> Stopped ServerConnector@26275b46\{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}
> 2020-03-12 13:17:12,642 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] ContextHandler:
> Stopped o.e.j.s.ServletContextHandler@274fdea6\{/,null,UNAVAILABLE}
> 2020-03-12 13:17:12,644 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route1 shutdown complete, was consuming
> from: jetty:[http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,644 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Graceful shutdown of 2 routes completed in 0 seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) uptime 0.484
> seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutdown in
> 0.029 seconds
> 2020-03-12 13:17:12,658 spring-ec2 ERROR [main] SpringCamelContext: Error
> starting CamelContext (charge-process-fonix-context) due to exception
> thrown: Failed to start route route2 because of Multiple consumers for the
> same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> org.apache.camel.FailedToStartRouteException: Failed to start route route2
> because of Multiple consumers for the same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> *Note:* Problem does not happen using below version 
> 
>  org.apache.camel
>  camel-spring-boot-starter
>  2.25.0
> 
> But Any version from 3.0.0 from throws above exception
> 
>  org.apache.camel.springboot
>  camel-spring-boot-starter
>  3.0.0
> 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (CAMEL-14708) Camel 3.0.0 Failed to start route because of Multiple consumers for the same endpoint is not allowed

2020-03-12 Thread Andrea Cosentino (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17058118#comment-17058118
 ] 

Andrea Cosentino commented on CAMEL-14708:
--

Outreachy is related to camel-website, this is not related to the website.

> Camel 3.0.0 Failed to start route because of Multiple consumers for the same 
> endpoint is not allowed
> 
>
> Key: CAMEL-14708
> URL: https://issues.apache.org/jira/browse/CAMEL-14708
> Project: Camel
>  Issue Type: Bug
>  Components: camel-spring-boot-starters
>Affects Versions: 3.0.0, 3.0.1, 3.1.0
>Reporter: Ranabroto Ghosh
>Priority: Major
>
> I am creating this issue as suggested by claus from Camel-Users group
> Hi I am having this clueless problem
> *pom.xml:*
> 
> org.springframework.boot
> spring-boot-starter-web
> 
> 
>    org.apache.camel.springboot
>     camel-spring-boot-starter
>    3.0.0
> 
> 
> org.apache.camel
> camel-jetty
> 3.0.0
> 
> *REST XML :* 
> http://camel.apache.org/schema/spring];>
> 
> 
> 
> 
> 
> 
> *CAMEL ROUTE:*
> 
> 
>    
>    
>    
>    
> 200
> 
>  
> *EXCEPTION:*
> 2020-03-12 13:17:12,623 spring-ec2 INFO [main] SpringCamelContext: Route:
> route1 started and consuming from: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,625 spring-ec2 INFO [main] SpringCamelContext: Route:
> route-test started and consuming from: direct://test
> 2020-03-12 13:17:12,627 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutting down
> 2020-03-12 13:17:12,628 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Starting to graceful shutdown 2 routes (timeout 300 seconds)
> 2020-03-12 13:17:12,634 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route-test shutdown complete, was consuming
> from: direct://test
> 2020-03-12 13:17:12,639 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] AbstractConnector:
> Stopped ServerConnector@26275b46\{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}
> 2020-03-12 13:17:12,642 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] ContextHandler:
> Stopped o.e.j.s.ServletContextHandler@274fdea6\{/,null,UNAVAILABLE}
> 2020-03-12 13:17:12,644 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route1 shutdown complete, was consuming
> from: jetty:[http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,644 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Graceful shutdown of 2 routes completed in 0 seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) uptime 0.484
> seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutdown in
> 0.029 seconds
> 2020-03-12 13:17:12,658 spring-ec2 ERROR [main] SpringCamelContext: Error
> starting CamelContext (charge-process-fonix-context) due to exception
> thrown: Failed to start route route2 because of Multiple consumers for the
> same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> org.apache.camel.FailedToStartRouteException: Failed to start route route2
> because of Multiple consumers for the same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> *Note:* Problem does not happen using below version 
> 
>  org.apache.camel
>  camel-spring-boot-starter
>  2.25.0
> 
> But Any version from 3.0.0 from throws above exception
> 
>  org.apache.camel.springboot
>  camel-spring-boot-starter
>  3.0.0
> 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (CAMEL-14708) Camel 3.0.0 Failed to start route because of Multiple consumers for the same endpoint is not allowed

2020-03-12 Thread Menekam Kenmogne Rudy (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17058097#comment-17058097
 ] 

Menekam Kenmogne Rudy commented on CAMEL-14708:
---

Hello, I am an outreachy applicant, can I work on this issue?

> Camel 3.0.0 Failed to start route because of Multiple consumers for the same 
> endpoint is not allowed
> 
>
> Key: CAMEL-14708
> URL: https://issues.apache.org/jira/browse/CAMEL-14708
> Project: Camel
>  Issue Type: Bug
>  Components: camel-spring-boot-starters
>Affects Versions: 3.0.0, 3.0.1, 3.1.0
>Reporter: Ranabroto Ghosh
>Priority: Major
>
> I am creating this issue as suggested by claus from Camel-Users group
> Hi I am having this clueless problem
> *pom.xml:*
> 
> org.springframework.boot
> spring-boot-starter-web
> 
> 
>    org.apache.camel.springboot
>     camel-spring-boot-starter
>    3.0.0
> 
> 
> org.apache.camel
> camel-jetty
> 3.0.0
> 
> *REST XML :* 
> http://camel.apache.org/schema/spring];>
> 
> 
> 
> 
> 
> 
> *CAMEL ROUTE:*
> 
> 
>    
>    
>    
>    
> 200
> 
>  
> *EXCEPTION:*
> 2020-03-12 13:17:12,623 spring-ec2 INFO [main] SpringCamelContext: Route:
> route1 started and consuming from: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,625 spring-ec2 INFO [main] SpringCamelContext: Route:
> route-test started and consuming from: direct://test
> 2020-03-12 13:17:12,627 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutting down
> 2020-03-12 13:17:12,628 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Starting to graceful shutdown 2 routes (timeout 300 seconds)
> 2020-03-12 13:17:12,634 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route-test shutdown complete, was consuming
> from: direct://test
> 2020-03-12 13:17:12,639 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] AbstractConnector:
> Stopped ServerConnector@26275b46\{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}
> 2020-03-12 13:17:12,642 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask] ContextHandler:
> Stopped o.e.j.s.ServletContextHandler@274fdea6\{/,null,UNAVAILABLE}
> 2020-03-12 13:17:12,644 spring-ec2 INFO [Camel
> (charge-process-fonix-context) thread #1 - ShutdownTask]
> DefaultShutdownStrategy: Route: route1 shutdown complete, was consuming
> from: jetty:[http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> 2020-03-12 13:17:12,644 spring-ec2 INFO [main] DefaultShutdownStrategy:
> Graceful shutdown of 2 routes completed in 0 seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) uptime 0.484
> seconds
> 2020-03-12 13:17:12,656 spring-ec2 INFO [main] SpringCamelContext: Apache
> Camel 3.0.0 (CamelContext: charge-process-fonix-context) is shutdown in
> 0.029 seconds
> 2020-03-12 13:17:12,658 spring-ec2 ERROR [main] SpringCamelContext: Error
> starting CamelContext (charge-process-fonix-context) due to exception
> thrown: Failed to start route route2 because of Multiple consumers for the
> same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> org.apache.camel.FailedToStartRouteException: Failed to start route route2
> because of Multiple consumers for the same endpoint is not allowed: jetty:
> [http://0.0.0.0:8081/api/notification?httpMethodRestrict=POST]
> *Note:* Problem does not happen using below version 
> 
>  org.apache.camel
>  camel-spring-boot-starter
>  2.25.0
> 
> But Any version from 3.0.0 from throws above exception
> 
>  org.apache.camel.springboot
>  camel-spring-boot-starter
>  3.0.0
> 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)