You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by hwaastad <he...@waastad.org> on 2014/06/27 08:03:51 UTC

openjpa cache synchronization RFC

Hi,
I'm testing cache synch with openjpa.

Both these alternatives are working, but what would be the best
implementation?


<property name="openjpa.RemoteCommitProvider"
value="jms(Topic=openejb:Resource/OpenJPACommitProviderTopic,
               
TopicConnectionFactory=openejb:Resource/MyJmsConnectionFactory,
                java.naming.provider.url=tcp://localhost:8080)"/>

Alternative:

<property name="openjpa.RemoteCommitProvider"
value="jms(Topic=OpenJPACommitProviderTopic,
            TopicConnectionFactory=TopicConnectionFactory,
            topic.OpenJPACommitProviderTopic=DeltaSpikeTopic,
           
java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory,
            java.naming.provider.url=tcp://localhost:61616)"/>


br hw



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/openjpa-cache-synchronization-RFC-tp4670211.html
Sent from the TomEE Users mailing list archive at Nabble.com.