You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/12/14 09:24:50 UTC
[camel-kamelets] 02/02: Camel Google Pubsub headers names changed in Camel 3.20.0
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch pubsub
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 83c7f4f00b2d6e347890528c43fa61f75eb3fbe5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Dec 14 10:24:20 2022 +0100
Camel Google Pubsub headers names changed in Camel 3.20.0
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../resources/kamelets/google-storage-cdc-source.kamelet.yaml | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/google-storage-cdc-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/google-storage-cdc-source.kamelet.yaml
index 1a1b45d0..ecdca3db 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/google-storage-cdc-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/google-storage-cdc-source.kamelet.yaml
@@ -108,18 +108,15 @@ spec:
when:
- simple: '${properties:getObject:true}'
steps:
- - set-header:
- name: attributesStorage
- simple: ${headers.CamelGooglePubsub.Attributes}
- set-property:
name: google-storage-event-type
- simple: "${headers.attributesStorage[eventType]}"
+ simple: "${headers.CamelGooglePubsubAttributes[eventType]}"
- set-property:
name: google-storage-object-id
- simple: "${headers.attributesStorage[objectId]}"
+ simple: "${headers.CamelGooglePubsubAttributes[objectId]}"
- set-property:
name: google-storage-bucket-id
- simple: "${headers.attributesStorage[bucketId]}"
+ simple: "${headers.CamelGooglePubsubAttributes[bucketId]}"
- choice:
when:
- simple: '${exchangeProperty.google-storage-event-type} == "OBJECT_FINALIZE" && ${exchangeProperty.google-storage-bucket-id} == "{{bucketNameOrArn}}"'