public class TryProcessorFactoryBean
extends org.mule.runtime.api.meta.AbstractAnnotatedObject
implements org.springframework.beans.factory.FactoryBean
Processor with a
transaction. If the TransactionConfig is null then no transaction is used and the
next org.mule.runtime.core.api.processor.MessageProcessor is invoked directly.| Modifier and Type | Field and Description |
|---|---|
protected MessagingExceptionHandler |
exceptionListener |
protected List |
messageProcessors |
protected String |
transactionalAction |
| Constructor and Description |
|---|
TryProcessorFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected MuleTransactionConfig |
createTransactionConfig(String action,
TransactionType type) |
Object |
getObject() |
Class |
getObjectType() |
boolean |
isSingleton() |
void |
setExceptionListener(MessagingExceptionHandler exceptionListener) |
void |
setMessageProcessors(List messageProcessors) |
void |
setTransactionalAction(String action) |
void |
setTransactionType(TransactionType transactionType) |
protected List messageProcessors
protected MessagingExceptionHandler exceptionListener
protected String transactionalAction
public Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic void setMessageProcessors(List messageProcessors)
public Object getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBeanExceptionprotected MuleTransactionConfig createTransactionConfig(String action, TransactionType type)
public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBeanpublic void setExceptionListener(MessagingExceptionHandler exceptionListener)
public void setTransactionalAction(String action)
public void setTransactionType(TransactionType transactionType)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.