Wouldn't it make sense to check that in the getMockEndpoint method and perhaps throw an assertion failure with a good message if the mock does exist?
-- View this message in context: http://camel.465427.n5.nabble.com/Is-there-a-Method-to-Determine-if-Mock-Endpoints-are-Real-tp5739601p5739920.html Sent from the Camel - Users mailing list archive at Nabble.com.