Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

ElasticMQ 0.6 Updated: Batch Operations, Strict/Relaxed SQS-Compatibility Mode

DZone's Guide to

ElasticMQ 0.6 Updated: Batch Operations, Strict/Relaxed SQS-Compatibility Mode

· Integration Zone
Free Resource

Share, secure, distribute, control, and monetize your APIs with the platform built with performance, time-to-value, and growth in mind. Free 90-day trial of 3Scale by Red Hat

Summer is definitely over, so it’s about time to release a new version of ElasticMQ (0.6).

There are two major changes. The first adds support for batch operations in the SQS interface, which have been added by Amazon some time ago: send, receive, delete and change visibility.

The second change is also in the SQS server. You can now start it in two modes: strict and relaxed. In the strict mode, the message size is restricted to 64KB, the maximum number of messages in a batch operation is 10, etc., as specified in SQS’s documentation. The strict mode is the default one, and is most useful when testing applications which use SQS. In the relaxed mode on the other hand, the restrictions imposed by Amazon are lifted where possible.

As always ElasticMQ is available in SoftwareMill’s Maven repository (see instructions for SBT and Maven). You can also download a stand-alone server here.

 

Explore the core elements of owning an API strategy and best practices for effective API programs. Download the API Owner's Manual, brought to you by 3Scale by Red Hat

Topics:

Published at DZone with permission of Adam Warski, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}