[jira] [Commented] (CAMEL-13608) camel-spring-boot - Add option to include/exclude routes based on their ids

2019-06-04 Thread Claus Ibsen (JIRA)


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

Claus Ibsen commented on CAMEL-13608:
-

You can also do this with camel-test

> camel-spring-boot - Add option to include/exclude routes based on their ids
> ---
>
> Key: CAMEL-13608
> URL: https://issues.apache.org/jira/browse/CAMEL-13608
> Project: Camel
>  Issue Type: New Feature
>  Components: camel-spring-boot
>Reporter: Claus Ibsen
>Assignee: Claus Ibsen
>Priority: Major
> Fix For: 3.0.0, 3.0.0.M4
>
>
> So you can for example do an unit test where you want to only test a specific 
> route and then filter out everyone else. Currently you can filter on route 
> builder and xml files level, but not on route ids.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-13608) camel-spring-boot - Add option to include/exclude routes based on their ids

2019-06-03 Thread Claus Ibsen (JIRA)


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

Claus Ibsen commented on CAMEL-13608:
-

You can now configure both an include and exclude patterns, that filters by 
route id, and from route input uri, such as

{code}
@SpringBootTest(classes = RouteFilterExcludePatternTest.class,
properties = {"camel.springboot.route-filter-exclude-pattern=foo*,drink*"})

@SpringBootTest(classes = RouteFilterIncludePatternTest.class,
properties = {"camel.springboot.route-filter-include-pattern=bar*"})
{code}

Also you can filter out all routes that start from JMS via

{code}
@SpringBootTest(classes = RouteFilterExcludePatternTest.class,
properties = {"camel.springboot.route-filter-exclude-pattern=jms:*"})
{code}

> camel-spring-boot - Add option to include/exclude routes based on their ids
> ---
>
> Key: CAMEL-13608
> URL: https://issues.apache.org/jira/browse/CAMEL-13608
> Project: Camel
>  Issue Type: New Feature
>  Components: camel-spring-boot
>Reporter: Claus Ibsen
>Priority: Major
> Fix For: 3.0.0
>
>
> So you can for example do an unit test where you want to only test a specific 
> route and then filter out everyone else. Currently you can filter on route 
> builder and xml files level, but not on route ids.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)