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

Stan Lewis commented on CAMEL-2063:
-----------------------------------

So in Spring DSL this is still an issue as the dead letter queue endpoint isn't 
created up front but on the fly.  So an error goes to some default error 
handler and the only indication this is happening is by checking the logging 
and seeing a pattern kind of like this (trimmed out the timestamp for 
formatting):

{code}
DeadLetterChannel - Failed delivery for exchangeId: 
65ff037b-0bbe-4642-905d-fc1fabcebf9b. On delivery attempt: 0 caught: 
java.lang.IllegalArgumentException: Forced 
DefaultComponent - Creating endpoint uri=[mock://dlq?SomeBogusArg=true], 
path=[dlq], parameters=[{SomeBogusArg=true}] 
DeadLetterChannel - Failed delivery for exchangeId: 
65ff037b-0bbe-4642-905d-fc1fabcebf9b. Processed by failure processor: 
recipientlist[org.apache.camel.builder.deadletterchannelbuilde...@6360f5bf] 
{code}

I'll look into this further...

> 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: Stan Lewis
>            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