camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lilw <>
Subject Re: customizing recipientList
Date Mon, 22 Jun 2015 17:32:14 GMT
I did start looking at the error handling framework. Right now I have
something in the spirit below, but I still am not sure, what would be the
best replacement recipientList or for  inOnly. 

<route id="doCompose">
            <inOnly uri="activemq:doPost"/>		
<route id="doPost">
    <from uri="activemq:doPost?concurrentConsumers=1"/>
        <redeliveryPolicy maximumRedeliveries="-1"
        <setHeader headerName="CamelExceptionCaught">
                <simple>Headers: ${headers} - ${exception.message}</simple>
        <to uri="activemq:rdf-connection-fail"/>
        <log message="Error connecting to RDF repo body:${out.body}
exception message: ${exception.message} body:${exception.responseBody}"/>

    <setHeader headerName="CamelHttpMethod">


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message