Hi

No but you can use a direct route, where you use toD to send to dynamic
queue,

something ala:


deadLetterChannel("direct:to-dlq")

from direct:to-dlq
   toD("activemq:myerror-at-${routeId}")



On Tue, Sep 6, 2022 at 4:16 PM Bing Lu <mfcp...@yahoo.com.invalid> wrote:

>  Hi, is there a way to dynamic name the dlq name based on routeid? I
> currently have it as the following which means every error is going to the
> same dlq. thanks
> errorHandler(deadLetterChannel("activemq:queue:sth.dlq"))



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to