Class CartFoundationAggregationStrategy

java.lang.Object
com.skava.cart.orchestration.aggregation.CartFoundationAggregationStrategy
All Implemented Interfaces:
org.apache.camel.AggregationStrategy

@Service public class CartFoundationAggregationStrategy extends Object implements org.apache.camel.AggregationStrategy

The Class CartFoundationAggregationStrategy

This AggregationStrategy class is used to aggregate foundation responses

Version:
8.0
Author:
Infosys Equinox
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Constant to store hold store response in camel exchange
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.camel.Exchange
    aggregate(org.apache.camel.Exchange oldExchange, org.apache.camel.Exchange newExchange)
    This method is used to aggregate two exchanges together into a single exchange.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.camel.AggregationStrategy

    aggregate, canPreComplete, onCompletion, onCompletion, onOptimisticLockFailure, preComplete, timeout
  • Field Details

    • STORE_RESPONSES

      public static final String STORE_RESPONSES
      Constant to store hold store response in camel exchange
      See Also:
  • Constructor Details

    • CartFoundationAggregationStrategy

      public CartFoundationAggregationStrategy()
  • Method Details

    • aggregate

      public org.apache.camel.Exchange aggregate(org.apache.camel.Exchange oldExchange, org.apache.camel.Exchange newExchange)
      This method is used to aggregate two exchanges together into a single exchange.
      Specified by:
      aggregate in interface org.apache.camel.AggregationStrategy
      Parameters:
      oldExchange - Indicates the old exchange with store response
      newExchange - Indicates the new exchange with store response
      Returns:
      Returns new exchange with store responses