All Downloads are FREE. Search and download functionalities are using the official Maven repository.

classloading.custom-failover-context.xml Maven / Gradle / Ivy

There is a newer version: 12.0.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<spring:beans xmlns:spring="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://camel.apache.org/schema/spring"
    xsi:schemaLocation="
       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
       http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">

    <camelContext id="custom-failover-context">
        <route>
            <from uri="direct:failover" />
            <loadBalance>
                <failover>
                    <exception>org.wildfly.camel.test.classloading.subA.CustomFailoverException</exception>
                </failover>
                <to uri="mock:failover" />
            </loadBalance>
        </route>
    </camelContext>

</spring:beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy