activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fbcyborg <>
Subject Re: Help configuring ActiveMQ as JMSProvider in WebSphere
Date Sat, 10 Nov 2012 18:06:36 GMT
gtully wrote
> the actievmq initial context is just a hash map, it does not query the
> broker to find destinaitons.
> so either you configure the hashmap via properties or you do a lookup
> in the dynamicQueues context and it will return what ever you ask for.
> eg:
> Queue queue = (Queue)
> jndiContext.lookup("dynamicQueues/jms/systemMessageQueue");


Thank you for replying.
Well, I've tried what you suggested but apart from the fact that I am not
using dynamically created queues because they are already defined in
ActiveMQ, I tried to write: 
/queue = (Queue)jndiContext.lookup("dynamicQueues/jms/systemMessageQueue");/
but this seems to be not working as well.

This is the exception I get:
/[11/10/12 18:59:14:428 CET] 00000026 SystemErr     R
javax.naming.NameNotFoundException: Context:
Z21X9ENode01Cell/nodes/Z21X9ENode01/servers/server1, name:
dynamicQueues/jms/systemMessageQueue: First component in name
dynamicQueues/jms/systemMessageQueue not found. [Root exception is


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message