camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoran Regvart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11814) camel-spring-boot - Recent change in startup behaviour can cause camel-test-spring problems
Date Mon, 25 Sep 2017 11:04:00 GMT

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

Zoran Regvart commented on CAMEL-11814:
---------------------------------------

I have found that if the {{NO_START}} flag in {{SpringCamelContext}} is not thread-local,
but global the tests pass, I'll run all tests to see if this breaks anything but it seems
to be a solution.

> camel-spring-boot - Recent change in startup behaviour can cause camel-test-spring problems
> -------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-11814
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11814
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring, camel-spring-boot
>    Affects Versions: 2.20.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.20.0
>
>
> Creating this ticket up front as I was testing CiA2 source code with 2.20.0-SNAPSHOT
and have issues with a camel spring boot app, that caused the test method to be executed without
CamelContext been started prior - this works fine on 2.19.x and older versions.
> Its very likely the new startup/shutdown change in camel-spring / camel-spring-boot that
is causing a regression problem. A bit weird our own set of unit tests at Apache Camel hasn't
triggered this.
> Doing some more testing on CiA2 before posting more information here.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message