Skip to content

Commit

Permalink
fix: add core command client via message bus to app-service-template (#…
Browse files Browse the repository at this point in the history
…1274)

Signed-off-by: Marc-Philippe Fuller <marc-philippe.fuller@intel.com>

Signed-off-by: Marc-Philippe Fuller <marc-philippe.fuller@intel.com>
  • Loading branch information
marcpfuller authored Jan 23, 2023
1 parent 4d6f96c commit 1af21c3
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions app-service-template/res/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,18 @@ Timeout = "30s"
Port = 59881

[Clients.core-command]
Protocol = "http"
Host = "localhost"
Port = 59882
# Protocol = "http"
# Host = "localhost"
# Port = 59882
# Choose to use new messaging based communication for Command Client.
# Only valid if MessageBus Trigger is used
# If prefer REST, remove below and uncomment above
UseMessageBus = true
[Clients.core-command.Topics]
QueryRequestTopicPrefix = "edgex/core/commandquery/request"
QueryResponseTopic = "edgex/core/commandquery/response"
CommandRequestTopicPrefix = "edgex/core/command/request"
CommandResponseTopic = "edgex/core/command/response/#"

[Clients.support-notifications]
Protocol = "http"
Expand Down

0 comments on commit 1af21c3

Please sign in to comment.