Hi All, 

I integrated ActiveMQ with Tomee+ and I tried to configure JMS connection by
using jndi but it was not working. 

I created jndi.properties and placed that in webapps\activemq\WEB-INF\ ,
ActiveMQ console war which is running in the tomee+ 


java.naming.factory.initial =
org.apache.activemq.jndi.ActiveMQInitialContextFactory 

# use the following property to configure the default connector 
#java.naming.provider.url = vm://localhost 
java.naming.provider.url = tcp://localhost:61616 

# use the following property to specify the JNDI name the connection factory 
# should appear as. 
connectionFactoryNames = connectionFactory, queueConnectionFactory,
topicConnectionFactry 

# register some queues in JNDI using the form 
# queue.[jndiName] = [physicalName] 
queue.MyQueue = MyDestQueue 


# register some topics in JNDI using the form 
# topic.[jndiName] = [physicalName] 
#topic.MyTopic = example.MyTopic 

# END SNIPPET: jndi 

Please let know the where i need to add these configuration , in tomee+ or
activemq war 

Thanks in Advance 



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Tomme-and-JMS-with-JNDI-configuration-tp4679415.html
Sent from the TomEE Dev mailing list archive at Nabble.com.

Reply via email to