Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
feat(deps): bump spring-integration-aws from 2.4.0 to 2.5.0 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored May 28, 2021
1 parent fb4650e commit 0abaec8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<dependency>
<groupId>org.springframework.integration</groupId>
<artifactId>spring-integration-aws</artifactId>
<version>2.4.0</version>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package de.idealo.spring.stream.binder.sns.config;

import java.util.Optional;

import org.springframework.boot.actuate.autoconfigure.health.ConditionalOnEnabledHealthIndicator;
import org.springframework.boot.actuate.health.HealthIndicator;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
Expand All @@ -11,6 +13,7 @@

import com.amazonaws.services.sns.AmazonSNS;
import com.amazonaws.services.sns.AmazonSNSAsync;

import io.awspring.cloud.core.env.ResourceIdResolver;

import de.idealo.spring.stream.binder.sns.SnsMessageHandlerBinder;
Expand All @@ -22,8 +25,8 @@
public class SnsBinderConfiguration {

@Bean
public SnsStreamProvisioner provisioningProvider(AmazonSNS amazonSNS, ResourceIdResolver resourceIdResolver) {
return new SnsStreamProvisioner(amazonSNS, resourceIdResolver);
public SnsStreamProvisioner provisioningProvider(AmazonSNS amazonSNS, Optional<ResourceIdResolver> resourceIdResolver) {
return new SnsStreamProvisioner(amazonSNS, resourceIdResolver.orElse(null));
}

@Bean
Expand Down

0 comments on commit 0abaec8

Please sign in to comment.