Hi

Camel in Action book, section 6.3 talks about how to simulate errors
in components/endpoints.

On Mon, Jun 16, 2014 at 3:05 PM, mikaelfj <[email protected]> wrote:
> Hi,
>
> We are in the process of extending an integration from getting its inbound
> messages from a single queue to being able to get the inbound messages from
> two queues.
>
> The setup of the routes is straightforward by having from(queue1)... and
> from(queue2)...
>
> However, when running, one or both of the inbound queues can be taken down
> and the integration needs to handle this properly, i.e. if one is down it is
> ok as we still get the messages on the other, but if both are down we need
> to signal an error.
>
> I want to be able to test these scenarios, but so far I have been unable to
> figure out how I can simulate that one or both of the incoming queues are
> not responding.
>
> Is there a way to accomplish this?
>
> Best regards
> Mikael
>
>
>
> -----
> NineConsult
> RegionH
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Unit-testing-from-jms-endpoint-tp5752351.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
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to