Hi

I kinda recall there is a destination name resolver you can use. A
person had this question eg 6 months ago (eg a long time ago).
With this resolver you could do the lookup in jndi and return the real
destination object found there.


On Wed, Jul 15, 2009 at 3:15 AM, Willem Jiang<willem.ji...@gmail.com> wrote:
> 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 !
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to