camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From João Rodrigues (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CAMEL-7485) AdviceWithRouteBuilder.weaveById() creates duplicated endpoint
Date Fri, 06 Jun 2014 14:19:02 GMT

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

João Rodrigues commented on CAMEL-7485:
---------------------------------------

Related discussion at users list: http://camel.465427.n5.nabble.com/AdviceWithRouteBuilder-weaveById-creates-duplicated-endpoint-td5751888.html

> 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
>
> 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