-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate Search Master/Slave
PostPosted: Thu Aug 05, 2010 2:43 am 
Newbie

Joined: Thu Aug 05, 2010 2:34 am
Posts: 2
Hi all. Need to clarify the myth in Hibernate search with JMS Backend
I configured 1 slave and 1 master node with JBoss JMS. The official documentation said that master node needs a MDB implementing AbstractJMSHibernateSearchController process LuceneWork without a specific implementation. Does it mean that I have to implement the MDB myself to process all received message?
As i see in JMSBackendQueueProcessor , the slave node sends List<LuceneWork> to master and this list includes AddLuceneWork, DeleteLuceneWork .... Does HibernateSearch have any class to process those classes?


Top
 Profile  
 
 Post subject: Re: Hibernate Search Master/Slave
PostPosted: Tue Aug 10, 2010 4:53 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

yes you have to implement your MDB yourself. However, this should be very easy since you can extend from the AbstractJMSHibernateSearchController. The reason there is no concrete implementation is that the implementation will vary depending on which JMS framework you are using. The online documentation contains an example for JBoss AS using annotations - http://docs.jboss.org/hibernate/stable/search/reference/en/html_single/#d0e1176.

--Hardy


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.