camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ozzyoli <>
Subject How to mock rabbitmq endpoints?
Date Wed, 18 Jun 2014 08:27:09 GMT
I'm working on my testing my CamelContext Routes.

I am using a SpringJunit4ClassRunner to run my tests and start my
CamelContext (defined in Spring XML).
I have the*@MockEndpoints* annotation set at the class-level.

How do I reference the mocked equivalents of my RabbitMQ endpoints?

For instance given this RabbitMQ endpoint


How do I get hold of the mocked version of that mocked endpoint?







Something else altogether? (I'll admit I havent had much luck with any of
them so far)

Many thanks in advance,

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message