Hi

You can use a filter as the first step to filter bad requests.
http://activemq.apache.org/camel/message-filter.html


But otherwise it's a nice idea with a "badInputChannel" as a destination. Then 
you will be able to inspect the queue and determine why it was bad.



Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk
-----Original Message-----
From: Mick Knutson [mailto:[EMAIL PROTECTED] 
Sent: 23. september 2008 02:04
To: Camel
Subject: design question about dynamic routing

I have a message that comes in to initiate a change request. This request
could go to different recipients, but could also be a bad message.

My question is, do I just add the errorInputChannel as one of the recipients
in the recipient list in my @Header ?

or is there some other way to route this situation?

-- 
---
Thank You...

Mick Knutson
BASE Logic, inc.
(415) 354-4215

Website: http://baselogic.com
Blog: http://baselogic.com/blog
BLiNC Magazine: http://blincmagazine.com
Linked IN: http://linkedin.com/in/mickknutson
DJ Mick: http://djmick.com
MySpace: http://myspace.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com

Reply via email to