camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-7485) AdviceWithRouteBuilder.weaveById() creates duplicated endpoint
Date Wed, 23 Jul 2014 08:45:39 GMT

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

Claus Ibsen commented on CAMEL-7485:
------------------------------------

Do you mind testing with 2.13.2 and/or 2.14-SNAPSHOT as we have had some fixes in advice-with
recently.

> AdviceWithRouteBuilder.weaveById() creates duplicated endpoint
> --------------------------------------------------------------
>
>                 Key: CAMEL-7485
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7485
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.12.3, 2.13.0
>            Reporter: João Rodrigues
>             Fix For: 2.14.0
>
>
> AdviceWithRouteBuilder.weaveById() and weaveByToString() creates duplicated endpoint
if there's a "choice" in camel route. Tested with java 1.7.0_55.
> Test case to demonstrate this issue:
> - git clone https://github.com/joaocenoura/sandbox.git
> - mvn clean package -f sandbox/camel-weaving/pom.xml
> Test logs shows the duplicated endpoint insertion.
> Excerpt of GoodRouteTest logs:
> 23:44:45,644 INFO AdviceWith (checkpoint) : [To[mock:checkpoint]] --> before [pipeline
-> [[To[mock:checkpoint.before]]]]
> 23:44:45,644 INFO AdviceWith (checkpoint) : [To[mock:checkpoint]] --> after [pipeline
-> [[To[mock:checkpoint.after]]]]
> Excerpt of BadRouteTest logs:
> 23:44:45,740 INFO AdviceWith (checkpoint) : [To[mock:checkpoint]] --> before [pipeline
-> [[To[mock:checkpoint.before]]]]
> 23:44:45,740 INFO AdviceWith (checkpoint) : [To[mock:checkpoint]] --> before [pipeline
-> [[To[mock:checkpoint.before]]]]
> 23:44:45,740 INFO AdviceWith (checkpoint) : [To[mock:checkpoint]] --> after [pipeline
-> [[To[mock:checkpoint.after]]]]
> 23:44:45,740 INFO AdviceWith (checkpoint) : [To[mock:checkpoint]] --> after [pipeline
-> [[To[mock:checkpoint.after]]]]



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message