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

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon Jan 7 13:58:55 EST 2008


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard resolved HSEARCH-144.
--------------------------------------

    Resolution: Fixed

I've applied your initial proposal.
The event listener I am waiting for is the SessionFactory.close() one

> 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
>    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: 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