[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-144) add option to keep indexer running till finished.

Jason Eacott (JIRA) noreply at atlassian.com
Fri Dec 14 15:15:56 EST 2007


add option to keep indexer running till finished.
-------------------------------------------------

                 Key: HSEARCH-144
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-144
             Project: Hibernate Search
          Issue Type: Improvement
          Components: engine
            Reporter: Jason Eacott


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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list