In this case I am using Search 4.4.6 with EAP 6.4.
The biggest issue is that there is no retry around this logic and it is attempted too early in the deployment process. If you have your application deployed on a server that is also running HornetQ, it would fail every time. It would be unreasonable to expect a user to undeploy their application to successfully restart their server and then redeploy it again.
For embedded use cases and to achieve higher density, it's very common to have all services on one server or to have multiple servers within a cluster handling multiple responsibilities to achier higher utilization.
This setup is far too complex to upload it as a simple use-case.
I have my PoC project available here: https://github.com/mrobson/hibernate-search-infinispan-jms
|