RouteBuilderTest has two e7 snippets - how to fix this in wiki?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

RouteBuilderTest has two e7 snippets - how to fix this in wiki?

Claus Ibsen
RouteBuilderTest has two snippets that have the same id:

      interceptor2 = new MyInterceptorProcessor();

        RouteBuilder builder = new RouteBuilder() {
            public void configure() {
                from("seda:a").intercept(interceptor1).intercept(interceptor2).to("seda:d");
            }
        };
        // END SNIPPET: e7


        // START SNIPPET: e7
        RouteBuilder builder = new RouteBuilder() {
            public void configure() {
                from("seda:a").filter(header("foo").isEqualTo(123)).to("seda:b");
                from("seda:a").filter(header("bar").isGreaterThan(45)).to("seda:b");
            }
        };
        // END SNIPPET: e7

So if we can find it in the wiki doc so we know which e7 is the correct one.

Anyone knows how to search for this in the wiki?


Med venlig hilsen

Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk