Skip to content

Commit

Permalink
added SNS Service
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnovaae committed Nov 25, 2024
1 parent 2ee8e26 commit c68b7d6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ public void start() {
System.setProperty("cloud.aws.stack.auto", "false");
System.setProperty("cloud.aws.region.static", "us-east-1");
System.setProperty("com.amazonaws.sdk.disableCertChecking", "");
super.withServices(Service.SQS);
super.withServices(Service.SQS, Service.SNS);
super.start();
System.setProperty("AWS_SQS_URL",
"localhost:" + this.getMappedPort(EnabledService.named("SQS").getPort()));
"http://localhost:" + this.getMappedPort(EnabledService.named("SQS").getPort()));
}
}

0 comments on commit c68b7d6

Please sign in to comment.