org.mule.providers.jms
Class DefaultRedeliveryHandler

java.lang.Object
  extended byorg.mule.providers.jms.DefaultRedeliveryHandler
All Implemented Interfaces:
RedeliveryHandler

public class DefaultRedeliveryHandler
extends java.lang.Object
implements RedeliveryHandler

DefaultRedeliveryHandler TODO

Version:
$Revision: 1.3 $
Author:
Ross Mason

Field Summary
protected  JmsConnector connector
           
protected static Log logger
          logger used by this class
 
Constructor Summary
DefaultRedeliveryHandler()
           
 
Method Summary
 void handleRedelivery(Message message)
          process the redelivered message.
 void setConnector(JmsConnector connector)
          The connector associated with this handler is set before handleRedelivery() is called
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static transient Log logger
logger used by this class


connector

protected JmsConnector connector
Constructor Detail

DefaultRedeliveryHandler

public DefaultRedeliveryHandler()
Method Detail

setConnector

public void setConnector(JmsConnector connector)
The connector associated with this handler is set before handleRedelivery() is called

Specified by:
setConnector in interface RedeliveryHandler
Parameters:
connector - the connector associated with this handler

handleRedelivery

public void handleRedelivery(Message message)
                      throws JMSException,
                             MessagingException
process the redelivered message. If the Jms receiver should process the message, it should be returned. Otherwise the connector should throw a MessageRedeliveredException to indicate that the message should be handled by the connector Exception Handler.

Specified by:
handleRedelivery in interface RedeliveryHandler
Parameters:
message -
Throws:
MessagingException - if there is a problem reading or proessing the message
JMSException


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.