org.kuali.rice.ksb.messaging.exceptionhandling
Class DefaultExceptionServiceImpl

java.lang.Object
  extended by org.kuali.rice.ksb.messaging.exceptionhandling.DefaultExceptionServiceImpl
All Implemented Interfaces:
ExceptionRoutingService

public class DefaultExceptionServiceImpl
extends Object
implements ExceptionRoutingService

Default implementation of ExceptionRoutingService. Just saves the message in the queue as is, which should be marked Exception by the MessageExceptionHandler.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
DefaultExceptionServiceImpl()
           
 
Method Summary
protected  MessageExceptionHandler getMessageExceptionHandler(QName serviceName)
           
 void placeInExceptionRouting(Throwable throwable, PersistedMessageBO message, Object service)
           
 void placeInExceptionRoutingLastDitchEffort(Throwable throwable, PersistedMessageBO message, Object service)
           
 void scheduleExecution(Throwable throwable, PersistedMessageBO message, String description)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExceptionServiceImpl

public DefaultExceptionServiceImpl()
Method Detail

placeInExceptionRouting

public void placeInExceptionRouting(Throwable throwable,
                                    PersistedMessageBO message,
                                    Object service)
                             throws Exception
Specified by:
placeInExceptionRouting in interface ExceptionRoutingService
Throws:
Exception

placeInExceptionRoutingLastDitchEffort

public void placeInExceptionRoutingLastDitchEffort(Throwable throwable,
                                                   PersistedMessageBO message,
                                                   Object service)
                                            throws Exception
Specified by:
placeInExceptionRoutingLastDitchEffort in interface ExceptionRoutingService
Throws:
Exception

getMessageExceptionHandler

protected MessageExceptionHandler getMessageExceptionHandler(QName serviceName)

scheduleExecution

public void scheduleExecution(Throwable throwable,
                              PersistedMessageBO message,
                              String description)
                       throws Exception
Specified by:
scheduleExecution in interface ExceptionRoutingService
Throws:
Exception


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.