public abstract class AbstractMessageDriven extends Object implements javax.jms.MessageListener, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
AbstractMessageDriven() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doOnMessage(javax.jms.Message message)
Implements message handling functionality
|
org.springframework.jms.core.JmsTemplate |
getFatalJmsExceptionHandler() |
void |
onMessage(javax.jms.Message message) |
void |
setFatalJmsExceptionHandler(org.springframework.jms.core.JmsTemplate fatalJmsExceptionHandler) |
public AbstractMessageDriven()
public org.springframework.jms.core.JmsTemplate getFatalJmsExceptionHandler()
public void setFatalJmsExceptionHandler(org.springframework.jms.core.JmsTemplate fatalJmsExceptionHandler)
public void onMessage(javax.jms.Message message)
onMessage
in interface javax.jms.MessageListener
protected abstract void doOnMessage(javax.jms.Message message) throws FatalJmsException
message
- Message to be readFatalJmsException
- Exception thrown to indicate a processing failure that cannot be recovered fromCopyright © 2010–2018 Jadira Systems. All rights reserved.