THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Tip | ||||
---|---|---|---|---|
| ||||
The Camel Error Handler is covered in great details in the Camel in Action book where the entire chapter 6 5 has been devoted. |
Using RedeliveryPolicyProfiles
...
In the XML snippet below we have defined a <redeliveryPolicyProfile>
which we can refer to from the <errorHandler>
.
TODO: e1
Wiki Markup |
---|
{snippet:id=e1|lang=xml|url=camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringErrorHandlerRedeliveryPolicyProfileTest.xml} |
Camel's Properties placeholder is also supported which the following XML example shows:TODO: e1 /
Wiki Markup |
---|
{snippet:id=e1|lang=xml|url=camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/org/apache/camel/component/properties/SpringPropertiesComponentOnExceptionRefTest.xml} |
And you can also use Spring Frameworks property placeholders as shown below:TODO: e1 /
Wiki Markup |
---|
{snippet:id=e1|lang=xml|url=camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/org/apache/camel/component/properties/org/apache/camel/component/properties/SpringPropertyPlaceholderOnExceptionRefTest.xml} |