I see, thanks a lot Tim! I will try to use the physical name on my C++ client.
Timothy Bish wrote: > > 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/ > > > > > -- View this message in context: http://old.nabble.com/ActiveMQ-CPP-client-using-JNDI-tp26401197p26401571.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.