View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820382#3820382
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820382 and of course the code :) System.out.println("Getting jndiContext"); jndiContext = new InitialContext( JMSAppConfig.getAppReadProperties() ); System.out.println("Getting factory"); factory = (QueueConnectionFactory)jndiContext.lookup("RMIConnectionFactory"); System.out.println("Getting queue"); queue = (Queue)jndiContext.lookup( "queue/"+queueName ); System.out.println("Getting connection"); conn = factory.createQueueConnection(); System.out.println("Getting session"); session = conn.createQueueSession(false, Session.AUTO_ACKNOWLEDGE ); ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
