@ WALLACE

Yes i have successfully implemented the jms thing rom core java 
application. 

if u use 

                Properties      Initialcontext_props = null;
                
                queueName = "example.MyQueue";
                
                Initialcontext_props = new Properties();
                Initialcontext_props.put(Context.INITIAL_CONTEXT_FACTORY ,
"org.apache.activemq.jndi.ActiveMQInitialContextFactory");
                Initialcontext_props.put(Context.PROVIDER_URL, 
"tcp://app-minim:61616");
                
Initialcontext_props.put("connectionFactoryNames","jms/QueuecConFactory");
                Initialcontext_props.put("queue.MyQueue" , queueName);

               jndiContext = new InitialContext(Initialcontext_props);


it will work just fine . Also make sure u have addedd the active-mq's jar
file in ur classpath
-- 
View this message in context: 
http://www.nabble.com/Re%3A-Re%3A-JBoss-integration-and-lookup-of-connection-factories.-tf3552515s2354.html#a9918101
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to