public class DefaultRedeliveryHandler extends Object implements RedeliveryHandler
DefaultRedeliveryHandler
TODOModifier and Type | Field and Description |
---|---|
protected JmsConnector |
connector |
protected static org.apache.commons.logging.Log |
logger
logger used by this class
|
Constructor and Description |
---|
DefaultRedeliveryHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleRedelivery(javax.jms.Message message)
process the redelivered message.
|
void |
setConnector(JmsConnector connector)
The connector associated with this handler is set before
handleRedelivery() is called |
protected static final org.apache.commons.logging.Log logger
protected JmsConnector connector
public void setConnector(JmsConnector connector)
handleRedelivery()
is calledsetConnector
in interface RedeliveryHandler
connector
- the connector associated with this handlerpublic void handleRedelivery(javax.jms.Message message) throws javax.jms.JMSException, MessagingException
MessageRedeliveredException
to indicate that the message should
be handled by the connector Exception Handler.handleRedelivery
in interface RedeliveryHandler
message
- javax.jms.JMSException
- if properties cannot be read from the JMSMessageMessageRedeliveredException
- should be thrown if the message should be
handled by the connection exception handlerMessagingException
- if there is a problem reading or proessing the
messageCopyright © 2003–2013 MuleSource, Inc.. All rights reserved.