activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rachit goel <>
Subject Re: Re: JBoss integration and lookup of connection factories.
Date Tue, 10 Apr 2007 11:47:09 GMT


Yes i have successfully implemented the jms thing rom core java 

if u use 

                Properties	Initialcontext_props = null;
		queueName = "example.MyQueue";
		Initialcontext_props = new Properties();
		Initialcontext_props.put(Context.INITIAL_CONTEXT_FACTORY ,
		Initialcontext_props.put(Context.PROVIDER_URL, "tcp://app-minim:61616");
		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:
Sent from the ActiveMQ - User mailing list archive at

View raw message