Cám ơn Anh Minh!

That was exactly my problem. Here's the solution that worked for me (after
lots of trying!):-

        @Override
        public String isMockEndpointsAndSkip() {
                return "direct://(?!closeOpenOrders).*";
        }

which translates to "mock and skip original endpoints for all direct
endpoints whose id starts with closeOpenOrders".

Maybe worth adding an example like this in the Camel docs for others who
face the same issue? It would show what's possible?



--
View this message in context: 
http://camel.465427.n5.nabble.com/isMockEndpointsAndSkip-documentation-unclear-tp5762798p5762832.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to