Package ca.cdr.api.camel
Interface ICdaCamelProcessorTxLogHelper
- All Superinterfaces:
ICamelProcessorTxLogHelper
Transaction log helper to be used by for CDA Camel procedures
-
Field Summary
Fields inherited from interface ca.cdr.api.camel.ICamelProcessorTxLogHelper
TX_LOG_PARAM_SHOW_BODY -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCdaLogStepOrNewLog(org.apache.camel.Exchange theExchange, ICdaCamelConversionResultJson theConversionResult, TransactionLogEventTypeEnum theLogType, TransactionLogEventSubTypeEnum theLogSubType, ICdaTxLogStepsProvider theStepsProvider) If transaction logging is active, logs a step if transaction log is present or a new transaction log otherwisegetCdaLogStepsForBundles(org.apache.camel.Exchange theExchange, ICdaCamelConversionResultJson theConversionResult, String theProcedureName, TransactionLogEventSubTypeEnum theLogSubType) voidAdds a transaction log step If a transaction log is present or a new transaction log otherwiseMethods inherited from interface ca.cdr.api.camel.ICamelProcessorTxLogHelper
addStepIfTxLogActive, addStepIfTxLogActive, addStepIfTxLogActive, buildTxLogStep, buildTxLogStep, clearTxLog, commitTxLog, getRequestUrl, getSettings, isTxLogShowBody, isTxLogStarted, startTxLog
-
Method Details
-
logRawCcd
Adds a transaction log step If a transaction log is present or a new transaction log otherwise- Parameters:
theProcedureName- the calling procedure nametheExchange- the camel exchangetheMessage- the CDA message
-
addCdaLogStepOrNewLog
void addCdaLogStepOrNewLog(org.apache.camel.Exchange theExchange, ICdaCamelConversionResultJson theConversionResult, TransactionLogEventTypeEnum theLogType, TransactionLogEventSubTypeEnum theLogSubType, ICdaTxLogStepsProvider theStepsProvider) throws Exception If transaction logging is active, logs a step if transaction log is present or a new transaction log otherwise- Parameters:
theExchange- the camel exchangetheConversionResult- the inputICdaCamelConversionResultJsontheLogType- theTransactionLogEventTypeEnumtheLogSubType- theTransactionLogEventSubTypeEnumtheStepsProvider- theICdaTxLogStepsProvider- Throws:
Exception
-
getCdaLogStepsForBundles
List<TransactionLogStepJson> getCdaLogStepsForBundles(org.apache.camel.Exchange theExchange, ICdaCamelConversionResultJson theConversionResult, String theProcedureName, TransactionLogEventSubTypeEnum theLogSubType) - Parameters:
theExchange- the camel exchangetheConversionResult- the inputICdaCamelConversionResultJsontheProcedureName- the calling procedure nametheLogSubType- the log step subType
-