← ResourcesConnector migration

Migrating the MuleSoft Amazon S3 connector to Spring Boot

5 min read

The MuleSoft Amazon S3 connector maps onto the AWS SDK v2 S3Client. Each operation becomes a typed SDK call.

Operation mapping

  • s3:put-object → s3Client.putObject(request, body)
  • s3:get-object → s3Client.getObject(request)
  • s3:delete-object → s3Client.deleteObject(request)
  • s3:list-objects → s3Client.listObjectsV2(request)

Before and after

Mule (XML)
<s3:put-object config-ref="S3_Config" bucketName="reports" key="#[vars.key]"/>
Spring Boot (Java)
s3Client.putObject(
    PutObjectRequest.builder().bucket("reports").key(key).build(),
    RequestBody.fromBytes(payload));

How the conversion is validated

Amazon S3 is verified against LocalStack, a local AWS emulator running in a container — the converted app performs real object operations and the results are compared, not stubbed.

Prove it on your own code

Send us one Mule application and your Postman collection. We convert it and prove the Spring Boot output matches field-by-field — on-premise, inside your environment.