Thanks genman..
The type of the Object is org.jboss.mq.SpyQueue . But I dont need to use
SpyQueue or SpyConnectionFactory. I prefer to use QueueConnectionFactory and
Queue Connection in my program. But When do a JNDI lookup like
SpyConnectionFactory factory = (SpyConnectionFactory)
ctx.lookup("
Thanks genman..
The type of the Object is org.jboss.mq.SpyQueue. But I dont need to use
SpyQueue or SpyConnectionFactory. I prefer to use QueueConnectionFactory and
Queue Connection in my program. But When do a JNDI lookup like
SpyConnectionFactory factory = (SpyConnectionFactory)
ctx.lookup("
public void createQueue() throws Exception{
InitialContext ctx = new InitialContext();
System.out.println("\n\nFactory is : " +
ctx.lookup("ConnectionFactory") + "\n\n");
SpyConnectionFactory factory = (SpyConnectionFactory)
ctx.lookup("ConnectionFa