Skip to content

Commit

Permalink
[choreo] Remove JMS event listener initiator
Browse files Browse the repository at this point in the history
  • Loading branch information
VajiraPrabuddhaka committed Dec 16, 2024
1 parent b300035 commit b894023
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions adapter/internal/adapter/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,7 @@ func Run(conf *config.Config) {
fetchAPIsOnStartUp(conf, nil)
}

var connectionURLList = conf.ControlPlane.BrokerConnectionParameters.EventListeningEndpoints
if strings.Contains(connectionURLList[0], amqpProtocol) {
go messaging.ProcessEvents(conf)
} else {
messaging.InitiateAndProcessEvents(conf)
}
messaging.InitiateAndProcessEvents(conf)

go synchronizer.UpdateRevokedTokens()
// Fetch Key Managers from APIM
Expand Down

0 comments on commit b894023

Please sign in to comment.