public abstract class AbstractRedeliveryHandler extends Object implements RedeliveryHandler
| Modifier and Type | Field and Description |
|---|---|
protected JmsConnector |
connector |
| Constructor and Description |
|---|
AbstractRedeliveryHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected org.mule.api.MuleMessage |
createMuleMessage(javax.jms.Message message,
org.mule.api.MuleContext muleContext) |
abstract void |
handleRedelivery(javax.jms.Message message,
org.mule.api.endpoint.InboundEndpoint endpoint,
org.mule.api.construct.FlowConstruct flow)
Process the redelivered message.
|
void |
setConnector(JmsConnector connector)
The connector associated with this handler is set before
handleRedelivery() is called |
protected JmsConnector connector
public abstract void handleRedelivery(javax.jms.Message message,
org.mule.api.endpoint.InboundEndpoint endpoint,
org.mule.api.construct.FlowConstruct flow)
throws javax.jms.JMSException,
org.mule.api.MuleException
RedeliveryHandlerMessageRedeliveredException to indicate that the message should be
handled by the connector's exception handler.handleRedelivery in interface RedeliveryHandlermessage - the redelivered messageendpoint - from which the message was receivedflow - in which the exception occured, this is used to obtain the
appropriate exception handlerjavax.jms.JMSException - if properties cannot be read from the JMSMessageMessageRedeliveredException - should be thrown if the message should be
handled by the connection exception handlerorg.mule.api.MuleException - if there is a problem reading or proessing the messagepublic void setConnector(JmsConnector connector)
handleRedelivery() is calledsetConnector in interface RedeliveryHandlerconnector - the connector associated with this handlerprotected org.mule.api.MuleMessage createMuleMessage(javax.jms.Message message,
org.mule.api.MuleContext muleContext)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.