001/*- 002 * #%L 003 * Smile CDR - CDR 004 * %% 005 * Copyright (C) 2016 - 2025 Smile CDR, Inc. 006 * %% 007 * All rights reserved. 008 * #L% 009 */ 010package ca.cdr.api.camel; 011 012import ca.cdr.api.model.json.TransactionLogStepJson; 013import org.apache.camel.Exchange; 014 015import java.util.List; 016 017/** 018 * Contract for CDA Camel procedures which provide their own constructed list of transaction log steps 019 */ 020public interface ICdaTxLogStepsProvider { 021 /** 022 * @param theExchange the camel {@code Exchange} object 023 * @param theConversionResult the {@code ICdaCamelConversionResultJson} object 024 * @return the list of {@code TransactionLogStepJson} 025 */ 026 List<TransactionLogStepJson> provideTxLogSteps( 027 Exchange theExchange, ICdaCamelConversionResultJson theConversionResult); 028}