I get the following error in the testMockAllEndpoints test, but the other two work fine:
java.lang.AssertionError: mock://seda:result Received message count. Expected: <1> but was: <0> at org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:1318) at org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:1300) at org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:372) at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:351) at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:339) at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:177) at org.apache.camel.test.junit4.CamelTestSupport.assertMockEndpointsSatisfied(CamelTestSupport.java:626) at automocking.IsMockEndpointsJUnit4Test.testMockAllEndpoints(IsMockEndpointsJUnit4Test.java:38) ... However, the regular mock works in the first route, and the second route works with a regular mock, demonstrating that the message is getting to the seda:result component. Although the mocks seem to be getting created because of the isMockEndpoints() method, they don't seem to be getting the exchange for some reason. Can you provide a blueprint example that works that I can try out? IsMockEndpointsJUnit4Test.java <http://camel.465427.n5.nabble.com/file/n5758319/IsMockEndpointsJUnit4Test.java> IsMockEndpoints.xml <http://camel.465427.n5.nabble.com/file/n5758319/IsMockEndpoints.xml> -- View this message in context: http://camel.465427.n5.nabble.com/AutoMocking-not-working-with-Blueprint-tp5758319.html Sent from the Camel - Users mailing list archive at Nabble.com.