Hi there,
I'm currently trying to write a unit test that simulates when an endpoint is
down triggering the pausable state (via a ConnectException) however the Camel
Context doesn't seem to be performing the 'pausable' poll loop
(KafkaConsumerListener) i.e. "The consumer is not yet resumable". This is Camel
version 3.18.1.
Could you give an example of how to correctly implement a unit test for this
scenario or any pointers in the right direction would be greatly appreciated!
Many thanks!
Chris.
[Virgin Wines] <https://www.virginwines.co.uk> Chris Deeney |
Java Developer
Tel: 0343 224 1001
Email: [email protected]<mailto:[email protected]>
[Hand Picked by us, loved by you!] [2022 Specialist Online
Drinks Retailer of the Year]
DRINKING IS ONLY FUN WHEN YOU DON’T OVERDO IT
Learn more at:
www.virginwines.co.uk/drinkresponsibly<https://www.virginwines.co.uk/drinkresponsibly>
Virgin Wines, St. James' Mill, Whitefriars, Norwich NR3 1TN, UK Registered in
England No 3800762. VAT No 394 8318 54
E-MAIL DISCLAIMER: This e-mail and any files transmitted with it are
confidential and are intended solely for the use of the individual or entity to
whom they are addressed. If you are not the original recipient or the person
responsible for delivering the e-mail to the intended recipient, be advised
that you have received the e-mail in error and that any use, dissemination,
forwarding, printing or copying of this e-mail are strictly prohibited. Virgin
Wines will not be liable for direct, indirect or consequential damages arising
from alterations of the contents of this message by a third party or as a
result of any virus being passed on. If you have received this e-mail in error
please notify [email protected] | Company Name: Virgin Wine Online
Ltd. | Company Registration No.: 03800762