How to mock multiple components in camel unit test? -


i'm using cameltestsupport in camel version 2.13.1.

i'd mock out 2 different components:

@override public string ismockendpoints() {     return "(activemq|exec)*"; } 

i can't mock "*" because getting errors activiti framework i'm using, relies on activiti component.

have of found way this?

you can use regular expression, like:

 return "(activemq.*|exec.*)"  

see bottom of page http://camel.apache.org/intercept


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -