Is there anyway I can set an exception when it processes via the DLC?  If
there is an exception set or the exchange isn't marked as handled, the
number failed will increment.


willem.jiang wrote:
> 
> I don't find there are any counter in the DeadLetterChannel for counting 
> the failed exchange. But if you redirect the message to a activemq 
> queue, you can browser the Queue size from the Jconsole.
> 
> Willem
> ronP12 wrote:
>> Hi,
>> I'm using the deadLetterChannel to redirect messages to a queue if the
>> exchange fails.  I'm using JConsole to monitor the number completed, but,
>> it
>> does not show the number failed.  I understand the DLC handles the
>> exception
>> so I tried adding ".handled(false)" to my declaration but it doesn't have
>> any effect.
>> 
>> I want to see the correct number of failed exchanges in JConsole.  How do
>> I
>> do this?
>> 
>> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Number-of-failed-exchanges-not-shown-in-JConsole-tp27359928p27372794.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to