org.mule.exception
Class DefaultServiceExceptionStrategy

java.lang.Object
  extended by org.mule.processor.AbstractMuleObjectOwner<MessageProcessor>
      extended by org.mule.processor.AbstractMessageProcessorOwner
          extended by org.mule.exception.AbstractExceptionListener
              extended by org.mule.exception.AbstractMessagingExceptionStrategy
                  extended by org.mule.exception.DefaultMessagingExceptionStrategy
                      extended by org.mule.exception.DefaultServiceExceptionStrategy
All Implemented Interfaces:
AnnotatedObject, FlowConstructAware, MuleContextAware, ExceptionHandler, MessagingExceptionHandler, Disposable, Initialisable, Lifecycle, Startable, Stoppable

Deprecated. use DefaultMessagingExceptionStrategy instead

@Deprecated
public class DefaultServiceExceptionStrategy
extends DefaultMessagingExceptionStrategy

This is the default exception handler for flows and services. The handler logs errors and will forward the message and exception to an exception endpoint if one is set on this Exception strategy. If an endpoint is configured via the element, a Dead Letter Queue pattern is assumed and so the transaction will commit. Otherwise, the transaction will rollback, possibly causing the source message to be redelivered (depends on the transport).


Field Summary
 
Fields inherited from class org.mule.exception.AbstractExceptionListener
commitTxFilter, enableNotifications, initialised, logger, messageProcessors, rollbackTxFilter
 
Fields inherited from class org.mule.processor.AbstractMuleObjectOwner
flowConstruct, muleContext
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Fields inherited from interface org.mule.api.AnnotatedObject
PROPERTY_NAME
 
Constructor Summary
DefaultServiceExceptionStrategy()
          Deprecated.  
DefaultServiceExceptionStrategy(MuleContext muleContext)
          Deprecated.  
 
Method Summary
protected  FlowConstructStatistics getFlowConstructStatistics(FlowConstruct flowConstruct)
          Deprecated.  
protected  ServiceStatistics getServiceStatistics(FlowConstruct flowConstruct)
          Deprecated.  
 
Methods inherited from class org.mule.exception.AbstractMessagingExceptionStrategy
defaultHandler, doHandleException, handleException, isStopMessageProcessing, setStopMessageProcessing, stopFlow
 
Methods inherited from class org.mule.exception.AbstractExceptionListener
addEndpoint, closeStream, commit, doInitialise, fireNotification, fireNotification, getCommitTxFilter, getExceptionType, getMessageProcessors, getOwnedMessageProcessors, getRollbackTxFilter, handleTransaction, initialise, isEnableNotifications, isInitialised, isRollback, logException, logFatal, removeMessageProcessor, rollback, rollback, rollbackTransaction, routeException, routeException, setCommitTxFilter, setEnableNotifications, setMessageProcessors, setRollbackTxFilter
 
Methods inherited from class org.mule.processor.AbstractMessageProcessorOwner
getAnnotation, getAnnotations, getOwnedObjects, setAnnotations
 
Methods inherited from class org.mule.processor.AbstractMuleObjectOwner
dispose, getFlowConstruct, getMuleContext, setFlowConstruct, setMuleContext, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mule.api.lifecycle.Startable
start
 
Methods inherited from interface org.mule.api.lifecycle.Stoppable
stop
 
Methods inherited from interface org.mule.api.lifecycle.Disposable
dispose
 
Methods inherited from interface org.mule.api.context.MuleContextAware
setMuleContext
 
Methods inherited from interface org.mule.api.construct.FlowConstructAware
setFlowConstruct
 

Constructor Detail

DefaultServiceExceptionStrategy

public DefaultServiceExceptionStrategy()
Deprecated. 

DefaultServiceExceptionStrategy

public DefaultServiceExceptionStrategy(MuleContext muleContext)
Deprecated. 
Method Detail

getFlowConstructStatistics

protected FlowConstructStatistics getFlowConstructStatistics(FlowConstruct flowConstruct)
Deprecated. 

getServiceStatistics

protected ServiceStatistics getServiceStatistics(FlowConstruct flowConstruct)
Deprecated. 


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.