[ 
https://issues.apache.org/activemq/browse/CAMEL-2063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55599#action_55599
 ] 

Claus Ibsen commented on CAMEL-2063:
------------------------------------

Stan you are welcome to attach it however I created this one for the spring side

If yours is about the same then its fine as is

{code}
    <bean id="myDLC" class="org.apache.camel.builder.DeadLetterChannelBuilder">
        <!-- invalid uri -->
        <property name="deadLetterUri" value="xxx"/>
    </bean>

    <camelContext id="camel" errorHandlerRef="myDLC" 
xmlns="http://camel.apache.org/schema/spring";>
        <route>
            <from uri="direct:start"/>
            <to uri="mock:result"/>
        </route>
    </camelContext>
{code}

> DeadLetterChannel - Should pre check the endpointUri is valid and report 
> failure on startup
> -------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2063
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2063
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> If you misconfigure the DLC endpoint URI it will get created on demand and if 
> case of a problem its logged. We should pre check this on route startup so we 
> know the DLC queue works.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to