Gaurav, When you download the client [1] from the download site, you will see it includes a few jar files. You need all of them in your classpath. You don't need the broker jar on the client site.
If you put the JNDI file in your classpath, you should be able to load it as specified in the example. Regards, Rajith [1] http://www.apache.org/dyn/closer.cgi/qpid/0.16/qpid-java-client-0.16.tar.gz On Thu, Jul 5, 2012 at 9:48 PM, Gaurav Sharma <[email protected]> wrote: > Thanks Rajith. So, with the JNDI impl, I should be able to drop the jar's > in tomcat and it should work. I dug some more and saw > geronimo-jms_1.1_spec-1.0.jar which I believe will also be required along > with the broker and common jar's? > > On Thu, Jul 5, 2012 at 6:32 PM, Rajith Attapattu <[email protected]> wrote: > >> Gaurav, >> >> Please use the JMS API, there is no non-jms java client. >> (We might provide one in the future, we are working through that at the >> moment). >> >> Have a look at >> http://qpid.apache.org/books/0.16/Programming-In-Apache-Qpid/html/QpidJMS.html >> on how to use the JMS client. >> >> Regards, >> >> Rajith >> >> On Thu, Jul 5, 2012 at 7:51 PM, Gaurav Sharma >> <[email protected]> wrote: >> > Just started reading the 0.16 broker sources.. might there be a hint in >> > there somewhere >> > >> > On Thu, Jul 5, 2012 at 4:46 PM, Gaurav Sharma < >> [email protected]>wrote: >> > >> >> Hi Qpid community, >> >> >> >> I am a new user and found this old thread: >> >> >> http://qpid.2158936.n2.nabble.com/java-amqp-api-vs-jms-api-td4741689.html >> >> >> >> So, Java/JVM users should just use the JMS API packaged with the >> >> Java-client (under org/apache/qpid/jms) or use the Java-client API >> (under >> >> org/apache/qpid/client)? >> >> A second question I have is around Tomcat and Qpid JMS providers - any >> >> tested recommendation would be great. >> >> >> >> Thanks, >> >> ~gshx >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
