All Products
Search
Document Center

Simple Message Queue (formerly MNS):Release notes

Last Updated:Aug 05, 2025

This topic describes the release notes for the Java SDK. We recommend that you download the latest version of the SDK to ensure high performance and stability.

Version 1.4.0

Release date

Description

Download URL

2025-08-04

  • Feature updates

    • Optimized the error message for BatchSendMessage that is reported when large message bodies are blocked.

    • The messageGroupId property is added to the message class to support FIFO messages.

    • Topic message attributes support the new versions of email and text message subscription clients.

  • Major changes

    The JDK is upgraded to JDK 8.

Download SDK

Version 1.3.1

Release date

Description

Download URL

2025-05-30

Fixed the serialization parsing exception that occurs when you consume messages from a dead-letter queue (DLQ) in specific scenarios.

Download SDK

Version 1.3.0

Release date

Description

Download URL

2025-04-07

Support for user-defined attributes and system attributes is added to the message class.

Download SDK

Version 1.2.1

Release date

Description

Download URL

2025-04-02

  • Feature updates

    • The default value of socketTimeout is changed to 40 seconds.

    • The message count-related properties and methods in the QueueMeta class are set to Deprecated. We recommend that you use CloudMonitor APIs to obtain the related metrics.

  • Bug fixes

    • Fixed the incompatibility issue with jaxb-runtime in the JDK 8 runtime environment.

    • Fixed the issue where some requests timeout in extreme scenarios.

Download SDK

Version 1.2.0

Release date

Description

Download URL

2025-01-02

  • Feature updates

    aliyun-java-sdk-core is upgraded to version 4.7.1.

  • Major changes

    When you receive or delete messages from a queue, you are required to catch and handle exceptions. This prevents requests from being interrupted by uncaught exceptions when the upper-layer code is executed in a loop (such as a while loop).

Download SDK

Version 1.1.11

Release date

What's New

Download URL

2024-08-23

Optimized the readability of the [Message]:null error message for invalid BatchDeleteMessage requests.

Download SDK

Version 1.1.10

Release date

Description

Download URL

2024-05-30

  • Feature updates

    • You can obtain the AccessKey ID and AccessKey secret from environment variables. For more information, see Configure endpoints and credentials.

    • The production and consumption of messages for queue-based and topic-based models are supported. You can select whether to use Base64 encoding and decoding.

    • New sample code is added to cover the preceding features.

    • Sample code for sending and consuming large files is added.

    • A RequestId is returned when you send or publish a message to facilitate troubleshooting.

  • Major changes

    The sample code is switched from the main directory to the test directory.

  • Bug fixes

    • Fixed the bug where the concurrent sample code in the official documentation causes a 500 error.

    • Fixed the issue where retrieving a message from a queue-based model still involves a long wait before the message is returned, even when waitseconds is set to 0.

    • Fixed the issue where requests fail due to inconsistencies in getCredentials in extreme scenarios.

    • Fixed the issue where an incorrect client version (an old version or the SDK version of another product) is reported.

Download SDK

Version 1.1.9.1

Release date

Description

Download URL

2021-12-24

The SLF4J dependency is used instead of the Log4j dependency.

Download SDK

Version 1.1.9

Release date

Description

Download URL

2021-03-18

  • The OpenService API is supported.

  • Fixed a bug where the client throws an I/O reactor status: STOPPED exception due to network jitter in specific scenarios.

Download SDK

Version 1.1.8

Release date

Description

Download URL

2016-12-15

Added a batch text message sending API for topic subscriptions.

Download SDK

Version 1.1.7

Release date

Description

Download URL

2016-08-30

  • The same Java object is returned when you call the getMNSClient method multiple times.

  • Fixed bugs.

  • The JSON option is added for topic subscriptions.

Download SDK

Version 1.1.5

Release date

Description

Download URL

2016-05-26

  • The feature of broadcasting messages from one to many is added.

  • Sample code for Performance Testing of the Java SDK is added.

Download SDK

Version 1.1.4

Release date

Description

Download URL

2016-04-25

  • Queues and email addresses are supported as endpoints for subscriptions.

  • Message filtering is supported for topics.

  • Fixed the issue where long polling requests time out because the number of requests exceeds the maximum number of connections per route (maxConnectionsPerRoute).

Download SDK

Version 1.1.3

Release date

Description

Download URL

2016-03-28

  • HTTPS is supported.

  • The default initial values of priority, dequeueCount, and delaySeconds in the Message object are removed.

Download SDK

Version 1.1.2

Release date

Description

Download URL

2016-01-30

Fixed an issue where the waitseconds parameter for the popMessage API call takes the value set in QueueMeta instead of 0 when no parameter is passed.

Download SDK

Version 1.1.1

Release date

Description

Download URL

2016-01-19

Fixed an issue where Chinese messages are encoded in UTF-8 instead of the platform's default character set.

Download SDK

Version 1.1.0

Release date

Description

Download URL

2016-01-06

  • Support for the topic feature is added.

  • Support for Security Token Service (STS) tokens is added.

  • Base64 encoding for messages is now optional.

SDK Reference

Version 1.0.5

Release date

Description

Download URL

2015-12-02

  • Fixed a memory leak that occurs when multiple CloudAccount objects exist.

  • The dependent httpasyncclient version is upgraded to 4.1.

Download SDK

Version 1.0.4

Release date

Description

Download URL

2015-11-05

  • Fixed an issue where threads are aborted in extreme cases of network abnormalities.

  • Fixed the resident thread that reclaims idle connections after they are closed.

Download SDK

Version 1.0.3

Release date

Updates

Download URL

2015-06-09

  • Fixed an issue where the SDK suspends due to many connections in the CLOSE_WAIT state.

  • Sample code is added.

  • The API protocol is upgraded: "x-mns-version"="2015-06-06".

  • BatchSendMessage, BatchReceiveMessage, BatchPeekMessage, and BatchDeleteMessage are supported.

SDK Reference

Version 1.0.2

Release date

What's new

Download URL

2015-03-03

Optimized the XML parsing logic to improve performance.

Download SDK

Version 1.0.1

Release date

Description

Download URL

2014-12-19

The default thread pool size is changed to 50, which fixes the performance bottleneck on the SDK side during large-scale concurrent synchronization.

Download SDK