You need to include more context in your questions, they are very ambiguous as is. Are you trying to look up a connection factory in the geronimo server or a standalone non-javaee client? If a standalone non-javaee client, the instructions I know about are here: http://activemq.apache.org/jndi-support.html If you have more questions about non-javaee client jndi you will get better answers on the activemq user list. If your client is running inside geronimo I would advise you to set up a connection factlory by deploying the activemq rar in the admin console, look in the geronimo log as it is starting to find the jndi name it is bound under, and use that. david jencks On Jan 23, 2009, at 3:37 AM, axiez wrote: > > How can I set queueConnectionFactory in jndi.properties file? Is > there any > example? I am trying to use a plain Java class to test. > -- > View this message in context: http://www.nabble.com/queueConnectionFactory-in-jndi.properties-tp21622943s134p21622943.html > Sent from the Apache Geronimo - Users mailing list archive at > Nabble.com. >