I just created a basic test and it seemed to work fine for my scenario. Can you attach a unit test that replicates this?
joe82 wrote > According the the camel documentation, if you provide a context-scoped > error handling policy, and then a route-scoped onException policy also - > the MaximumRedeliveries for the route-scoped policy should default to 0 > regardless of whether or not your context-scoped error handling policy had > overwitten it. > This does not appear to be correct, as I have found in this scenario, the > MaximumRedeliveries default on my route-scoped onException policy was > picking up the value which I had defined in the context-scoped error > handling policy which was 3, instead of what I expected it to be (0). > So I had to explicitly set the MaximumRedeliveries on the route-scoped > policy to be 0. > The version of camel for this project is 2.10.2. > > Has anyone noticed this? has it been raised with camel? ----- Ben O'Day IT Consultant -http://consulting-notes.com -- View this message in context: http://camel.465427.n5.nabble.com/default-maximum-redelivery-policy-when-overridding-default-error-handler-not-right-tp5727230p5727441.html Sent from the Camel - Users mailing list archive at Nabble.com.