Claus Ibsen-2 wrote > Hi > > You cannot advice the predicates inside the eips such as the CBR. You > can instead replace the entire CBR with your own which you can provide > in the route builder.
I'm afraid this solution is not acceptable, because in that case i won't be able to add a new processors in my existing route (in part followed by the when clause) without guarantee that my test fail after that. I mean this test won't be a test for existing route. Ok. Another question - can i use spring beans as a predicates? In that case i can mock them just by overriding them in the test spring configuration. Do you have an existing Java DSL examples how to do that? -- View this message in context: http://camel.465427.n5.nabble.com/Mocking-predicate-in-existing-camel-route-tp5752497p5752517.html Sent from the Camel - Users mailing list archive at Nabble.com.