public class TryProcessorFactoryBean extends org.mule.runtime.api.component.AbstractComponent implements org.springframework.beans.factory.FactoryBean<TryScope>
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 FlowExceptionHandler |
exceptionListener |
protected List |
messageProcessors |
protected String |
transactionalAction |
| Constructor and Description |
|---|
TryProcessorFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected MuleTransactionConfig |
createTransactionConfig(String action,
org.mule.runtime.api.tx.TransactionType type) |
TryScope |
getObject() |
Class |
getObjectType() |
boolean |
isSingleton() |
void |
setExceptionListener(FlowExceptionHandler exceptionListener) |
void |
setMessageProcessors(List messageProcessors) |
void |
setTransactionalAction(String action) |
void |
setTransactionType(org.mule.runtime.api.tx.TransactionType transactionType) |
protected List messageProcessors
protected FlowExceptionHandler exceptionListener
protected String transactionalAction
public Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<TryScope>public void setMessageProcessors(List messageProcessors)
protected MuleTransactionConfig createTransactionConfig(String action, org.mule.runtime.api.tx.TransactionType type)
public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<TryScope>public void setExceptionListener(FlowExceptionHandler exceptionListener)
public void setTransactionalAction(String action)
public void setTransactionType(org.mule.runtime.api.tx.TransactionType transactionType)
Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.