Spring Cloud for Amazon Web Services 3.0.0

Amazon Web Services の Spring Cloud は、コミュニティが運営するプロジェクトです。Web サイトは https://awspring.io/ (英語) であり、ソースリポジトリは https://github.com/awspring/spring-cloud-aws (英語) にあります。

Amazon Web Services 用の Spring Cloud は、ホストされている Amazon Web Services との統合を容易にします。メッセージングやキャッシング API などのよく知られた Spring イディオムや API を使用して、AWS が提供するサービスとやり取りするための便利な方法を提供します。開発者は、インフラストラクチャやメンテナンスを気にすることなく、ホストされたサービスを中心にアプリケーションを構築できます。

機能

アノテーションベースの SQS キューリスナー

@MessageMapping("logicalQueueName")
private void receiveMessage(Person person, @Header("SenderId") String senderId) {
    // ...
}

アノテーションベースの SNS リスナー

@Controller
@RequestMapping("/sns/receive")
public class SnsEndpointController {

@NotificationMessageMapping
public void receiveNotification(@NotificationMessage String message, @NotificationSubject String subject) {
    // ...
}

@NotificationSubscriptionMapping
public void confirmSubscription(NotificationStatus notificationStatus) {
    notificationStatus.confirmSubscription();
}

メッセージングテンプレート

snsTemplate.sendNotification("SnsTopic", "message", "subject");
sqsTemplate.convertAndSend("Queue", new Person("John", "Doe"));
Spring Initializr

プロジェクトのクイックスタート

サポートの取得

Tanzu Spring は、1 つのシンプルなサブスクリプションで OpenJDK ™、Spring、Apache Tomcat ® のサポートとバイナリを提供します。

さらに学習したい方に (英語)

今後のイベント

Spring コミュニティで今後開催されるすべてのイベントをチェックしてください。

すべて表示 (英語)