Skip to content

Commit

Permalink
add 'channel' option to http query parameters;
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Maute <stefan.maute@bosch.io>
  • Loading branch information
Stefan Maute committed Sep 23, 2021
1 parent 49bf598 commit 2cc6c3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ enum GatewayHttpConfigValue implements KnownConfigValue {
*
* @since 1.1.0
*/
QUERY_PARAMS_AS_HEADERS("query-params-as-headers", Arrays.asList(DittoHeaderDefinition.CORRELATION_ID.getKey(),
QUERY_PARAMS_AS_HEADERS("query-params-as-headers", Arrays.asList(
DittoHeaderDefinition.CHANNEL.getKey(),
DittoHeaderDefinition.CORRELATION_ID.getKey(),
DittoHeaderDefinition.REQUESTED_ACKS.getKey(),
DittoHeaderDefinition.DECLARED_ACKS.getKey(),
DittoHeaderDefinition.RESPONSE_REQUIRED.getKey(),
Expand Down
1 change: 1 addition & 0 deletions gateway/service/src/main/resources/gateway.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ ditto {
additional-accepted-media-types = ${?ADDITIONAL_ACCEPTED_MEDIA_TYPES}

query-params-as-headers = [
"channel"
"correlation-id",
"requested-acks",
"declared-acks",
Expand Down

0 comments on commit 2cc6c3d

Please sign in to comment.