]
Emmanuel Bernard updated HSEARCH-144:
-------------------------------------
Summary: Keep indexer running till finished on VM shutdown (was: Keep indexer running
till finished)
Keep indexer running till finished on VM shutdown
-------------------------------------------------
Key: HSEARCH-144
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-144
Project: Hibernate Search
Issue Type: Improvement
Components: engine
Affects Versions: 3.0.0.GA
Reporter: Jason Eacott
Fix For: 3.0.1
Original Estimate: 30 minutes
Remaining Estimate: 30 minutes
Hi all, I've just installed and got running hibernate search - very cool!
But a very minor enancement would help a lot I think, for those of us still in testing
mode and not using the jms option yet.
It would be very handy if there was a config option for the async executorService to stay
up and complete its tasks after the app itself has been shutdown.
In BatchedQueueingProcessor finalize just need to add something like this line after the
executorService.shutdown();( if its set to wait in the config somewhere of course), or
even better replace the params here with user defined entries from config.
executorService.awaitTermination(Long.MAX_VALUE, TimeUnit.SECONDS );
The only other feature I'd like is the capability to use Spring jms instead of the
jboss one out of the box. :)
Great product.
Cheers
Jason.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: