This content has been marked as final.
Show 1 reply
-
1. Re: firewall and JBOSS 2.4.10. pleaes help ASAP!
ace750usa Feb 5, 2004 7:24 PM (in response to ace750usa)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 );