Setting up the ActiveMQ server with opentaps :
0)Start the activeMQ server locally and copy the all-activeMq jar to the
framework/base/lib
change the name of dispatcher in abstractjmslistener.java from
"JMSDispatcher" to "entity-default"
1)
in jndiservers.xml
jndi-server name="ActiveMQ"
context-provider-url="tcp://:61616"
initial-context-factory="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/
2)
in jndi.properties
java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory
java.naming.provider.url=tcp://:61616
topic.OFBTopic=OFBTopic
connectionFactoryNames = connectionFactory,
queueConnectionFactory,topicConnectionFactory
3)
in serviceengine.xml
jms-service name="serviceMessenger" send-mode="all"
server jndi-server-name="ActiveMQ"
jndi-name="topicConnectionFactory"
topic-queue="OFBTopic"
type="topic"
username="system"
password="manager"
listen="true"/
/jms-service
4)
in entityengine.xml
delegator name="default" entity-model-reader="main"
entity-group-reader="main" entity-eca-reader="main"
distributed-cache-clear-enabled="true"
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/Distributed-Cache-Clear-for-entity-cache-tp3222828p3346071.html
Sent from the OFBiz - User mailing list archive at Nabble.com.