giuseppe-trisciuoglio avatar

Aws Sdk Java V2 Messaging

This handles the bread and butter of AWS messaging with SQS and SNS using the Java 2.x SDK. You get patterns for sending and receiving messages, setting up FIFO queues when order matters, configuring dead letter queues so messages don't vanish, and wiring up SNS to SQS subscriptions for pub/sub. The examples cover Spring Boot integration and include validation checkpoints that'll save you from silent failures. One thing to appreciate: it emphasizes long polling and actually deleting messages after processing, which sounds basic but trips up plenty of production systems. Good for event-driven architectures where you need reliable async communication between services.

skills.sh installs
3.8K
GitHub stars
369
last updated
Aug 21, 2026

Install

$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill aws-sdk-java-v2-messaging --agent claude-code

Installs into .claude/skills of the current project.

Files

AWS SDK for Java 2.x - Messaging (SQS & SNS)

Overview

Provides patterns for SQS queues and SNS topics with AWS SDK for Java 2.x: client setup, queue management, message operations, subscriptions, and Spring Boot integration.

When to Use

  • Setting up SQS queues (standard or FIFO) for message buffering
  • Implementing pub/sub with SNS topics and subscriptions
  • Processing messages from SQS queues with long polling
  • Configuring dead letter queues (DLQ) for error handling
  • Integrating AWS messaging with Spring Boot applications
  • Building event-driven architectures with SQS/SNS

Examples

Quick Setup

Dependencies:

<dependency>
    <groupId>software.amazon.awssdk</groupId>
    <artifactId>sqs</artifactId>
</dependency>
<dependency>
    <groupId>software.amazon.awssdk</groupId>
    <artifactId>sns</artifactId>
</dependency>

Client Configuration:

SqsClient sqsClient = SqsClient.builder()
    .region(Region.US_EAST_1)
    .credentialsProvider(DefaultCredentialsProvider.create())
    .build();

SnsClient snsClient = SnsClient.builder()
    .region(Region.US_EAST_1)
    .build();

SQS Operations

Sponsors

Details

Repository
github.com/giuseppe-trisciuoglio/developer-kit
Categories
Cloud & Infrastructure, Java & JVM
First seen
May 16, 2026

More from giuseppe-trisciuoglio/developer-kit

All 102
1giuseppe-trisciuoglio avataraws-sdk-java-v2-secrets-managergiuseppe-trisciuoglio/developer-kitProvides AWS Secrets Manager patterns for AWS SDK for Java 2.x, including secret retrieval, caching, rotation-aware access, and Spring Boot integration. Use whe3.8Kskills.sh installs
2giuseppe-trisciuoglio avataraws-sdk-java-v2-kmsgiuseppe-trisciuoglio/developer-kitProvides AWS Key Management Service (KMS) patterns using AWS SDK for Java 2.x. Use when creating/managing encryption keys, encrypting/decrypting data, generatin3.8Kskills.sh installs
3netlify avatarnetlify-deploynetlify/context-and-toolsDeploy, host, and publish web projects on Netlify with the Netlify CLI. Use when the user wants to deploy a site or repository to Netlify, link a local project 3.7Kskills.sh installs
4openai avatarnetlify-deployopenai/skillsDeploy web projects to Netlify using the Netlify CLI (`npx netlify`). Use when the user asks to deploy, host, publish, or link a site/repo on Netlify, including3.6Kskills.sh installs
5netlify avatarnetlify-confignetlify/context-and-toolsReference for netlify.toml configuration and site environment variables. Use when configuring build settings, redirects, rewrites, headers, deploy contexts, the3.6Kskills.sh installs
6openai avatarvercel-deployopenai/skillsDeploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live",3.5Kskills.sh installs