public abstract class AbstractJMSHibernateSearchController extends Object implements javax.jms.MessageListener
Constructor and Description |
---|
AbstractJMSHibernateSearchController() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterMessage()
Provides an optional extension point for the case you have to
do some cleanup after the Message was processed.
|
protected abstract SearchIntegrator |
getSearchIntegrator() |
void |
onMessage(javax.jms.Message message)
Process the Hibernate Search work queues received
|
public AbstractJMSHibernateSearchController()
protected abstract SearchIntegrator getSearchIntegrator()
protected void afterMessage()
onMessage(Message)
after processing
each Message, provided the type of the Message is ObjectMessage
as expected.public void onMessage(javax.jms.Message message)
onMessage
in interface javax.jms.MessageListener
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved