@Scope(value="prototype")
@Service
public class RequestProcessor
extends java.lang.Object
Constructor and Description |
---|
RequestProcessor() |
Modifier and Type | Method and Description |
---|---|
TxnTransferObj |
processMessage(TxnTransferObj txnTransferObj)
processMessage method processes the incoming message wherein it invokes the spring bean as per the
transaction name mentioned in txnTransferObj.txnHeader.transactionServiceName attribute.
|
TxnTransferObj |
processMessageAsync(TxnTransferObj txnTransferObj)
processMessage method invokes processMessage method asynchronously.
|
@Transactional public TxnTransferObj processMessage(TxnTransferObj txnTransferObj) throws YugandharCommonException
txnTransferObj
- Transfer Object TxnTransferObj instanceYugandharCommonException
- if transaction fails due to any reason@Async public TxnTransferObj processMessageAsync(TxnTransferObj txnTransferObj) throws YugandharCommonException
txnTransferObj
- Transfer Object TxnTransferObj instanceYugandharCommonException
- if transaction fails due to any reason