public class CountingRedeliveryHandler extends AbstractRedeliveryHandler
JMSXDeliveryCount
property support.Modifier and Type | Field and Description |
---|---|
protected static Log |
logger
logger used by this class
|
connector
Constructor and Description |
---|
CountingRedeliveryHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleRedelivery(Message message,
InboundEndpoint endpoint,
FlowConstruct flow)
process the redelivered message.
|
createMuleMessage, setConnector
protected static final Log logger
public void handleRedelivery(Message message, InboundEndpoint endpoint, FlowConstruct flow) throws JMSException, MuleException
MessageRedeliveredException
to indicate that the message should
be handled by the connector Exception Handler.handleRedelivery
in interface RedeliveryHandler
handleRedelivery
in class AbstractRedeliveryHandler
message
- the redelivered messageendpoint
- from which the message was receivedflow
- in which the exception occured, this is used to obtain the
appropriate exception handlerJMSException
- if properties cannot be read from the JMSMessageMessageRedeliveredException
- should be thrown if the message should be
handled by the connection exception handlerMuleException
- if there is a problem reading or proessing the messageCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.