The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

8forty (4) [Avatar] Offline
#1
There should be a call to useExponentialBackoff() added to the example at the top of the page, otherwise the backoffMultiplier(2) is ignored.
8forty (4) [Avatar] Offline
#2
Re: incorrect errorHandler call page 132
Sorry, meant to post this to the errata thread (and just did) but either the web form or my browser got confused and made it a new topic.
davsclaus (413) [Avatar] Offline
#3
Re: incorrect errorHandler call page 132
Thanks for reporting.

Its a little bug in Camel which I have logged in this ticket
https://issues.apache.org/jira/browse/CAMEL-7281
davsclaus (413) [Avatar] Offline
#4
Thanks for reporting.

When using Java then when you call backOffMultiplier(xxx) then exponential backoff is automatic enabled.
But when you use XML then you need to make sure to enable that explicit.

But its of course also possible to enable it as well in Java.

PS: The javadoc of the Java code will mention this.

/**
* Enables exponential backoff and sets the multiplier used to increase the
* delay between redeliveries
*/

davsclaus (413) [Avatar] Offline
#5
We will add a note about this to the errata.

Manning will post an update in due time, so keep out for an entry about page 132.

Thanks for reporting. Sorry for the late reply, but this slipped our radar. And a staff from Manning discovered this and brought this to our attention.