Skip to content

Commit

Permalink
feat(generic-binding): Improve sqs example (overwrite existing binding)
Browse files Browse the repository at this point in the history
  • Loading branch information
timonback committed Oct 8, 2023
1 parent d83a7be commit 9b2c10d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class AnotherProducer {
description = "Custom, optional description defined in the AsyncPublisher annotation"))
@SqsAsyncOperationBinding
@AsyncGenericOperationBinding(
type = "custom-sqs",
type = "sqs",
fields = {"internal-field=customValue", "nested.key=nestedValue"})
public void sendMessage(AnotherPayloadDto msg) {
template.send(QUEUE, msg);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@
"operationId": "another-queue_subscribe",
"description": "Custom, optional description defined in the AsyncPublisher annotation",
"bindings": {
"custom-sqs": {
"sqs": {
"internal-field": "customValue",
"nested": {
"key": "nestedValue"
}
},
"sqs": { }
}
},
"message": {
"schemaFormat": "application/vnd.oai.openapi+json;version=3.0.0",
Expand Down

0 comments on commit 9b2c10d

Please sign in to comment.