You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add config that sets headers to topic param values on incoming messages. (#143)
* feat: add config that sets headers to topic param values on incoming messages.
* Fixes for solarcloud.
* Updated README to document the new paramatersAsHeaders parameter. Simplified one generated function.
* Added rabbit support for the parametersToHeaders feature. Renamed 'topic' to 'channel' in variable names to keep it generic.
* Refactored to pass sonarCloud
* feat: add config that sets headers to topic param values on incoming messages.
* Fixes for solarcloud.
* Updated README to document the new paramatersAsHeaders parameter. Simplified one generated function.
* Added rabbit support for the parametersToHeaders feature. Renamed 'topic' to 'channel' in variable names to keep it generic.
* Refactored to pass sonarCloud
* Updated description of parametersToHeaders in package.json
* package.json was missing a comma.
Co-authored-by: Michael Davis <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,7 @@ host | | tcp://localhost:55555 | The host connection property. Currently this on
96
96
javaPackage | info.x-java-package | | The Java package of the generated classes. If not set then the classes will be in the default package.
97
97
msgVpn | | default | The message vpn connection property. Currently this only works with the Solace binder. When other binders are used this parameter is ignored.
98
98
password | | default | The client password connection property. Currently this only works with the Solace binder. When other binders are used this parameter is ignored.
99
+
parametersToHeaders | | false | If true, this will create headers on the incoming messages for each channel parameter. Currently this only works with messages originating from Solace (using the solace_destination header) and RabbitMQ (using the amqp_receivedRoutingKey header.)
99
100
reactive | | false | If true, the generated functions will use the Reactive style and use the Flux class.
100
101
solaceSpringCloudVersion | info.x-solace-spring-cloud-version | 2.1.0 | The version of the solace-spring-cloud-bom dependency used when generating an application.
101
102
springBootVersion | info.x-spring-boot-version | 2.4.7 | The version of Spring Boot used when generating an application.
Copy file name to clipboardExpand all lines: package.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,11 @@
111
111
"required": false,
112
112
"default": "default"
113
113
},
114
+
"parametersToHeaders": {
115
+
"description": "If true, this will create headers on the incoming messages for each channel parameter. Currently this only works with messages originating from Solace (using the solace_destination header) and RabbitMQ (using the amqp_receivedRoutingKey header.)",
116
+
"required": false,
117
+
"default": false
118
+
},
114
119
"password": {
115
120
"description": "The client password connection property. Currently this only works with the Solace binder.",
0 commit comments