This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git

commit a6060a0520b224666c8b38be2181f4df81971f3a
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Apr 21 09:51:40 2023 +0200

    Fixed build
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 examples/README.adoc                               | 26 ++++++++++++----------
 .../camel/example/billboard/BillboardAggrTest.java |  4 ++--
 2 files changed, 16 insertions(+), 14 deletions(-)

diff --git a/examples/README.adoc b/examples/README.adoc
index 590fe404..7576d9c8 100644
--- a/examples/README.adoc
+++ b/examples/README.adoc
@@ -19,15 +19,15 @@ Number of Examples: 71 (0 deprecated)
 
 | link:as2/README.adoc[AS2 Example] (as2) | Beginner | An example which 
demonstrates the use of the Camel AS2 component
 
-| link:aws-secrets-manager/README.adoc[Aws Secrets Manager] 
(aws-secrets-manager) | Beginner | An example for showing AWS Secrets Manager 
Camel component
+| link:vault/aws-secrets-manager/README.adoc[Aws Secrets Manager] 
(aws-secrets-manager) | Beginner | An example for showing AWS Secrets Manager 
Camel component
 
-| link:aws-secrets-manager-reloading/README.adoc[Aws Secrets Manager 
Reloading] (aws-secrets-manager-reloading) | Beginner | An example for showing 
AWS Secrets Manager Camel component with reloading
+| link:vault/aws-secrets-manager-reloading/README.adoc[Aws Secrets Manager 
Reloading] (aws-secrets-manager-reloading) | Beginner | An example for showing 
AWS Secrets Manager Camel component with reloading
 
-| link:azure-eventhubs/README.adoc[Azure Eventhubs] (azure-eventhubs) | 
Beginner | Azure Eventhubs example
+| link:azure/azure-eventhubs/README.adoc[Azure Eventhubs] (azure-eventhubs) | 
Beginner | Azure Eventhubs example
 
-| link:azure-key-vault-reloading/README.adoc[Azure Key Vault Reloading] 
(azure-key-vault-reloading) | Beginner | An example for showing Azure Key Vault 
Camel component with reloading
+| link:vault/azure-key-vault-reloading/README.adoc[Azure Key Vault Reloading] 
(azure-key-vault-reloading) | Beginner | An example for showing Azure Key Vault 
Camel component with reloading
 
-| link:azure-storage-blob/README.adoc[Azure Storage Blob] (azure-storage-blob) 
| Beginner | Azure Storage Blob example
+| link:azure/azure-storage-blob/README.adoc[Azure Storage Blob] 
(azure-storage-blob) | Beginner | Azure Storage Blob example
 
 | link:basic/README.adoc[Basic] (basic) | Beginner | Basic example
 
@@ -41,11 +41,11 @@ Number of Examples: 71 (0 deprecated)
 
 | link:ftp/README.adoc[FTP] (ftp) | Beginner | An example for showing Camel 
FTP integration
 
-| link:google-secret-manager-reloading/README.adoc[Google Secret Manager 
Reloading] (google-secret-manager-reloading) | Beginner | An example for 
showing Google Secret Manager Camel component with reloading
+| link:vault/google-secret-manager-reloading/README.adoc[Google Secret Manager 
Reloading] (google-secret-manager-reloading) | Beginner | An example for 
showing Google Secret Manager Camel component with reloading
 
 | link:java8/README.adoc[Java8] (java8) | Beginner | An example for showing 
Camel DSL for Java 8
 
-| link:kafka-azure/README.adoc[Kafka Azure] (kafka-azure) | Beginner | An 
example for showing standalone Camel with Kafka and Azure Storage Blob
+| link:azure/kafka-azure/README.adoc[Kafka Azure] (kafka-azure) | Beginner | 
An example for showing standalone Camel with Kafka and Azure Storage Blob
 
 | link:kamelet/README.adoc[Kamelet] (kamelet) | Beginner | How to use Kamelets
 
@@ -59,13 +59,13 @@ Number of Examples: 71 (0 deprecated)
 
 | link:main-endpointdsl/README.adoc[Main Endpointdsl] (main-endpointdsl) | 
Beginner | An example for showing standalone Camel with Endpoint DSL
 
-| link:main-endpointdsl-aws2-s3/README.adoc[Main Endpointdsl Aws2 S3] 
(main-endpointdsl-aws2-s3) | Beginner | An example for showing standalone Camel 
with Endpoint DSL and AWS2-S3
+| link:aws/main-endpointdsl-aws2-s3/README.adoc[Main Endpointdsl Aws2 S3] 
(main-endpointdsl-aws2-s3) | Beginner | An example for showing standalone Camel 
with Endpoint DSL and AWS2-S3
 
-| link:main-endpointdsl-aws2-s3-kafka/README.adoc[Main Endpointdsl Aws2 S3 
Kafka] (main-endpointdsl-aws2-s3-kafka) | Beginner | An example for showing 
standalone Camel with Endpoint DSL and AWS2-S3 and Kafka
+| link:aws/main-endpointdsl-aws2-s3-kafka/README.adoc[Main Endpointdsl Aws2 S3 
Kafka] (main-endpointdsl-aws2-s3-kafka) | Beginner | An example for showing 
standalone Camel with Endpoint DSL and AWS2-S3 and Kafka
 
-| link:main-endpointdsl-kafka-aws2-s3/README.adoc[Main Endpointdsl Kafka Aws2 
S3] (main-endpointdsl-kafka-aws2-s3) | Beginner | An example for showing 
standalone Camel with Endpoint DSL and Kafka and AWS2 S3
+| link:aws/main-endpointdsl-kafka-aws2-s3/README.adoc[Main Endpointdsl Kafka 
Aws2 S3] (main-endpointdsl-kafka-aws2-s3) | Beginner | An example for showing 
standalone Camel with Endpoint DSL and Kafka and AWS2 S3
 
-| link:main-endpointdsl-kafka-aws2-s3-restarting-policy/README.adoc[Main 
Endpointdsl Kafka Aws2 S3 Restarting Policy] 
(main-endpointdsl-kafka-aws2-s3-restarting-policy) | Beginner | An example for 
showing standalone Camel with Endpoint DSL and Kafka, AWS2-S3 streaming upload 
mode with restarting policy
+| link:aws/main-endpointdsl-kafka-aws2-s3-restarting-policy/README.adoc[Main 
Endpointdsl Kafka Aws2 S3 Restarting Policy] 
(main-endpointdsl-kafka-aws2-s3-restarting-policy) | Beginner | An example for 
showing standalone Camel with Endpoint DSL and Kafka, AWS2-S3 streaming upload 
mode with restarting policy
 
 | link:main-health/README.adoc[Main Health] (main-health) | Beginner | An 
example for showing standalone Camel with Health Checks
 
@@ -101,7 +101,7 @@ Number of Examples: 71 (0 deprecated)
 
 | link:hazelcast-kubernetes/README.adoc[Hazelcast Kubernetes] 
(hazelcast-kubernetes) | Cloud | An example with Camel and Hazelcast running on 
Kubernetes
 
-| link:main-endpointdsl-aws2/README.adoc[Main Endpointdsl Aws2] 
(main-endpointdsl-aws2) | Cloud | An example for showing standalone Camel with 
multiple AWS2 components
+| link:aws/main-endpointdsl-aws2/README.adoc[Main Endpointdsl Aws2] 
(main-endpointdsl-aws2) | Cloud | An example for showing standalone Camel with 
multiple AWS2 components
 
 | link:debezium/README.adoc[Debezium] (debezium) | Database | An example for 
Debezium Component
 
@@ -141,6 +141,8 @@ Number of Examples: 71 (0 deprecated)
 
 | link:kafka/README.adoc[Kafka] (kafka) | Messaging | An example for Kafka
 
+| link:kafka-aggregate/README.adoc[Kafka Aggregate] (kafka-aggregate) | 
Messaging | An example for Kafka
+
 | link:netty-custom-correlation/README.adoc[Netty Custom Correlation] 
(netty-custom-correlation) | Messaging | An example for showing Camel Netty 
with custom codec and correlation id
 
 | link:spring-pulsar/README.adoc[Spring Pulsar] (spring-pulsar) | Messaging | 
An example using Spring XML to talk to the Pulsar server from different kind of 
client techniques
diff --git 
a/examples/billboard-aggregate/src/test/java/org/apache/camel/example/billboard/BillboardAggrTest.java
 
b/examples/billboard-aggregate/src/test/java/org/apache/camel/example/billboard/BillboardAggrTest.java
index 74c06fee..db06e125 100644
--- 
a/examples/billboard-aggregate/src/test/java/org/apache/camel/example/billboard/BillboardAggrTest.java
+++ 
b/examples/billboard-aggregate/src/test/java/org/apache/camel/example/billboard/BillboardAggrTest.java
@@ -45,8 +45,8 @@ public class BillboardAggrTest extends CamelTestSupport {
     @Override
     protected CamelContext createCamelContext() throws Exception {
         CamelContext ctx = super.createCamelContext();
-        ctx.adapt(ExtendedCamelContext.class).setExchangeFactory(new 
PooledExchangeFactory());
-        
ctx.adapt(ExtendedCamelContext.class).getExchangeFactory().setStatisticsEnabled(true);
+        ctx.getCamelContextExtension().setExchangeFactory(new 
PooledExchangeFactory());
+        
ctx.getCamelContextExtension().getExchangeFactory().setStatisticsEnabled(true);
         ctx.disableJMX();
         return ctx;
     }

Reply via email to