Skip to content

Commit

Permalink
Regen and fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
davsclaus committed Feb 9, 2024
1 parent 8e2dbdc commit 230bacc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ readme's instructions.
=== Examples

// examples: START
Number of Examples: 54 (0 deprecated)
Number of Examples: 55 (0 deprecated)

[width="100%",cols="4,2,4",options="header"]
|===
Expand Down Expand Up @@ -113,6 +113,8 @@ Number of Examples: 54 (0 deprecated)

| link:supervising-route-controller/readme.adoc[Supervising Route Controller] (supervising-route-controller) | Management and Monitoring | An example showing how to work with Camel's Supervising Route Controller and Spring Boot

| link:activemq/readme.adoc[Activemq] (activemq) | Messaging | An example showing how to work with Camel, ActiveMQ openwire and Spring Boot

| link:amqp/readme.adoc[Amqp] (amqp) | Messaging | An example showing how to work with Camel, ActiveMQ Amqp and Spring Boot

| link:artemis/readme.adoc[Artemis] (artemis) | Messaging | An example showing how to work with Camel, ActiveMQ Artemis and Spring Boot
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class KafkaAvroProcessor implements Processor {
@Override
public void process(Exchange exc) throws Exception {
@SuppressWarnings("unchecked")
List<RecordMetadata> recordMetaData1 = (List<RecordMetadata>) exc.getIn().getHeader(KafkaConstants.KAFKA_RECORDMETA);
List<RecordMetadata> recordMetaData1 = (List<RecordMetadata>) exc.getIn().getHeader(KafkaConstants.KAFKA_RECORD_META);
for (RecordMetadata rd: recordMetaData1) {
LOG.info("producer partition is:" + rd.partition());
LOG.info("producer partition message is:" + rd.toString());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class KafkaProcessor implements Processor {
@Override
public void process(Exchange exc) throws Exception {
@SuppressWarnings("unchecked")
List<RecordMetadata> recordMetaData1 = (List<RecordMetadata>) exc.getIn().getHeader(KafkaConstants.KAFKA_RECORDMETA);
List<RecordMetadata> recordMetaData1 = (List<RecordMetadata>) exc.getIn().getHeader(KafkaConstants.KAFKA_RECORD_META);
for (RecordMetadata rd: recordMetaData1) {
LOG.info("producer partition is:" + rd.partition());
}
Expand Down

0 comments on commit 230bacc

Please sign in to comment.