camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pratibhaG <pratibha.ghog...@in2m.com>
Subject RE: How to convert DSL in XML?
Date Thu, 19 Jun 2008 10:34:54 GMT

Is it possible to have XML configuration for errorHandler? If it is, how can
I convert following in XML?
RouteBuilder builder = new RouteBuilder() {
    public void configure() {
       
errorHandler(deadLetterChannel("seda:errors").maximumRedeliveries(2).useExponentialBackOff());
        from("seda:a").to("seda:b");
    }
};

Pratibha
-- 
View this message in context: http://www.nabble.com/How-to-convert-DSL-in-XML--tp17400876s22882p18005752.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message