Class OpensearchBulkRequestAggregationStrategy

java.lang.Object
org.apache.camel.component.opensearch.aggregation.OpensearchBulkRequestAggregationStrategy
All Implemented Interfaces:
org.apache.camel.AggregationStrategy

@Metadata(label="bean", description="Aggregates two OpenSearch BulkOperation into a single BulkRequest", annotations="interfaceName=org.apache.camel.AggregationStrategy") @Configurer(metadataOnly=true) public class OpensearchBulkRequestAggregationStrategy extends Object implements org.apache.camel.AggregationStrategy
Aggregates two BulkOperations into a single BulkRequest.
  • 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)
     

    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
  • Constructor Details

    • OpensearchBulkRequestAggregationStrategy

      public OpensearchBulkRequestAggregationStrategy()
  • Method Details

    • aggregate

      public org.apache.camel.Exchange aggregate(org.apache.camel.Exchange oldExchange, org.apache.camel.Exchange newExchange)
      Specified by:
      aggregate in interface org.apache.camel.AggregationStrategy