activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: ActiveMQ-CPP client using JNDI
Date Wed, 18 Nov 2009 02:34:51 GMT
On Tue, 2009-11-17 at 17:56 -0800, thinkbox wrote:
> Hi All,
> 
> I have embedded an ActiveMQ broker in JBoss and bind the JMS destination
> through JBoss JNDI. My Java JMS clients is sending to this destination
> through JNDI. On the other end, my C++ JMS clients would need to connect to
> the said destination. My question is, how can I search for that JNDI context
> in ActiveMQ-CPP? Does ActiveMQ-CPP support JNDI?
> 
> I have tried to use the JNDI name as a parameter to the createXXX() method
> of my C++ client but it doesn't seem to receive any messages. However, my
> Java clients (using JNDI lookup) was able to receive messages.
> 
> - Pat

ActiveMQ-CPP cannot perform JNDI lookups, no.  You'd have to use the
physical name of the destination and connect a topic or a queue to it
accordingly.  

Regards
Tim.


-- 
Tim Bish
http://fusesource.com
http://timbish.blogspot.com/




Mime
View raw message