Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
HoussemNasri committed Oct 25, 2024
1 parent fbea4a5 commit 0a093a6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public InitializationOperation initializeContactsConsumer(OpenPaasContactsConsum
}

@Provides
@Named(OPENPAAS_INJECTION_KEY)
@Named(OPENPAAS_CONFIGURATION_NAME)
@Singleton
private Configuration providePropertiesConfiguration(PropertiesProvider propertiesProvider) throws ConfigurationException {
try {
Expand All @@ -56,8 +56,8 @@ protected OpenPaasConfiguration provideOpenPaasConfiguration(@Named(OPENPAAS_CON
return OpenPaasConfiguration.from(propertiesConfiguration);
}

@Named(OPENPAAS_INJECTION_KEY)
@Provides
@Named(OPENPAAS_INJECTION_KEY)
@Singleton
public RabbitMQConfiguration provideRabbitMQConfiguration(OpenPaasConfiguration openPaasConfiguration, RabbitMQConfiguration fallbackRabbitMQConfiguration) {
return openPaasConfiguration.maybeRabbitMqUri()
Expand Down

0 comments on commit 0a093a6

Please sign in to comment.