Hello Claus. Indeed, this is a perfect way to get the dynamic queue name : {{sys:XXX}}.
Thanks a lot ! Regards. Le mer. 17 avr. 2024 à 17:04, Claus Ibsen <claus.ib...@gmail.com> a écrit : > > Hi > > You can use {{ }} syntax that can refer to JVM sys properties also. > > The toD example you have is using simple language and its not the same as > {{ }} but they can both use sys/env variables etc. > > > On Wed, Apr 17, 2024 at 4:36 PM Ephemeris Lappis <ephemeris.lap...@gmail.com> > wrote: > > > Hello. > > > > I'm looking for some way to set a JMS consumer on a queue whose name > > depends on the context (in my real case, a system property). > > > > For a producer, the route (we use blueprint DSL) can be something like > > that : > > > > <toD uri="jms:queue-${sys.XXX}?connectionFactory=#myCF" /> > > > > But I don't see any way for the "from" uri... > > > > Any idea ? > > > > Thanks for your help. > > > > Regards. > > > > > -- > Claus Ibsen > ----------------- > @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2