Hi,
Apache camel support the binding the JNDI configure file[1] with the
camel context, but current jms component doesn't support it.
From current JMS URI, there is no flag to tell camel-jms componement
the queue name is JNDI logical name.
Please feel free to fill a JIRA[2] as a feature requirement.
[1] http://camel.apache.org/jndi.html
[2] http://issues.apache.org/activemq/browse/CAMEL
Willem
fjaouen 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 !