May be this will help? http://fusesource.com/docs/router/1.6/component_ref/JMSComp.html
Marat On Tue, Jul 14, 2009 at 2:18 PM, fjaouen <frederic.jao...@accovia.com>wrote: > > Hi, > > I try to use Apache camel JMS (http://camel.apache.org/jms.html). And it > works fine if I use physical name. But I would like to use a logical name > based on JNDI. > > For example instead of having: > <camel:route> > <camel:from uri="jms:queue:MY_PHYSICAL_QUEUE_NAME" /> > <camel:to uri="log:CAMEL" /> > </camel:route> > > I would like to have: > <camel:route> > <camel:from uri="jms:queue:MY_LOGICAL_QUEUE_NAME" /> > <camel:to uri="log:CAMEL" /> > </camel:route> > > Where MY_LOGICAL_QUEUE_NAME is bound to MY_PHYSICAL_QUEUE_NAME. > > This would let me the possibility to define physical queue name in a > configuration file. > > Is there a way to do that ? And if it is the case could you send me the > receipt ? > > Thanks ! > -- > View this message in context: > http://www.nabble.com/JMS-queue---JNDI-instead-of-physical-name-tp24484994p24484994.html > Sent from the Camel Development mailing list archive at Nabble.com. > >