You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/10/02 15:17:00 UTC

[jira] [Resolved] (CAMEL-15621) Support partial route containing only the "from" for RouteBuilderParser.parseRouteBuilderTree

     [ https://issues.apache.org/jira/browse/CAMEL-15621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-15621.
---------------------------------
    Resolution: Fixed

> Support partial route containing only the "from" for RouteBuilderParser.parseRouteBuilderTree
> ---------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-15621
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15621
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 3.5.0
>            Reporter: Aurélien Pupier
>            Priority: Minor
>             Fix For: 3.6.0
>
>
> currently, if I have
> {noformat}
> public class PartialRoute extends RouteBuilder {
>     public void configure() {
>         from("file:src/data?noop=true");
>     }
> }
> {noformat}
> the org.apache.camel.parser.RouteBuilderParser.parseRouteBuilderTree(JavaClassSource, String, String, boolean) method is returning an empty list.
> i'm expecting that i tis returning a list of one element with the "from"



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