Hello,
quite a while back, I had some problems getting the RemoteCommitProvider to
play nicely with activeMQ. The Manual did not provide enough details and the
community was helpful, but could not solve the problem.
I promised to share what worked with you when I got it to work, and I am now,
belatedly, fulfilling that promise.
We are using an "out of the box" activeMQ setup and these are the settings that
were necessary to make it work:
<property name="openjpa.RemoteCommitProvider"
value="jms(Topic=OpenJPACommitProviderTopic,
TopicConnectionFactory=TopicConnectionFactory,
topic.OpenJPACommitProviderTopic=[yourTopicName],
java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory,
java.naming.provider.url=tcp://[yourActiveMqServer]:61616)" />
Hope this helps ....
Cheers,
John