On Wed, Jan 1, 2014 at 3:11 PM, sebh <[email protected]> wrote:
> Turns out that indeed all endpoints were mocked and skipped including the one
> that is used as a producer, resulting in no message being sent around.
>
> When using @MockEndpointsAndSkip(pattern) the producer should not be
> included by the pattern.
>

No it works as designed. You need to specify a pattern to mock only
the endpoints you actually need, or do a pattern that exclude the
endpoints you use to send messages from the unit test etc.




>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/MockEndpointsAndSkip-appears-to-not-mock-all-endpoints-when-testing-with-Spring-tp5745105p5745395.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Reply via email to