Skip to content

Commit

Permalink
Camel Google Pubsub headers names changed in Camel 3.20.0
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Dec 14, 2022
1 parent 9a4ff84 commit 2759f20
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"'
Expand Down

0 comments on commit 2759f20

Please sign in to comment.