camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas Stuart (JIRA)" <>
Subject [jira] [Commented] (CAMEL-9161) Camel spring-boot not finding routes.
Date Mon, 02 Nov 2015 17:06:27 GMT


Nicholas Stuart commented on CAMEL-9161:

Would a viable solution be to check the status of the CamelContext instead? Not sure what
the caveats of this approach would be (race conditions, etc), but something like:

if(camelContext.getStatus() != ServiceStatus.Starting && camelContext.getStatus()
!= ServiceStatus.Started)

seems like it might work.

> Camel spring-boot not finding routes.
> -------------------------------------
>                 Key: CAMEL-9161
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring-boot
>    Affects Versions: 2.15.3
>            Reporter: Nicholas Stuart
>            Assignee: Henryk Konsek
> On startup Camel is not registering any routes annotated with @Component. Route is found
and registered in Spring just fine. Switch to version 2.15.2 and it works fine. 
> No errors are thrown, and everything says it's started, but no routes are active or reported
as being found during startup. 
> Application is being run through `mvn spring-boot:run` if that makes a difference.

This message was sent by Atlassian JIRA

View raw message