activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fbcyborg <fbcyb...@gmail.com>
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");

Hi!

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
org.omg.CosNaming.NamingContextPackage.NotFound:
IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]/

Cheers



--
View this message in context: http://activemq.2283324.n4.nabble.com/Help-configuring-ActiveMQ-as-JMSProvider-in-WebSphere-tp4658603p4659164.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message