Hello,
according to Hibernate Search in Action book and
https://www.hibernate.org/421.html, I'm trying to configure Hibernate Search in master/slave mode using ActiveMQ JMS provider and Tomcat servlet container (not using JBoss AS). Both master and slave are Tomcat instances running on different servers on network.
My questions are:
1. It looks like that all ActiveMQ stuff-ConnectionFactory, hibernatesearch queue and ActiveMQ broker is created and run only on master node. So slave doesn't need any ActiveMQ libraries in it's classpath and it's entirely independent on any JMS provider, right?
2. How can slave reach master's Connection factory object via JNDI? Slave needs the factory to reach hibernatesearch queue. In JBoss AS, the factory is exposed via
Code:
jnp://master:1099
on master, but Tomcat doesn't do it this way. So I don't know how should I set
Code:
hibernate.search.worker.jndi.url
property on slave.
Thank you for an answer.
Sincerely,
Jirka Hradil