ANN RabbitMQ Java Client 6.0.0 Milestone 1 is released

49 views
Skip to first unread message

Arnaud Cogoluègnes

unread,
Jun 8, 2018, 8:30:03 AM6/8/18
to rabbitm...@googlegroups.com
On behalf of the RabbitMQ team I'm happy to announce that the RabbitMQ
Java Client library 6.0.0 Milestone 1, a preview release, is available
for community testing.

This is the first milestone release for 6.0.0. It introduces new
metrics on published messages. This pre-release introduces also a
breaking change which impacts users implementing the MetricsCollector
interface in their applications. Users of the 5.x.x series are
encouraged to test this version.

* Metrics for confirmed and unsuccessful outgoing publishes

Consult the release change for more details [1].

Dependency (Maven artifact)

Maven:

<dependency>
<groupId>com.rabbitmq</groupId>
<artifactId>amqp-client</artifactId>
<version>6.0.0.M1</version>
</dependency>

Gradle:

compile 'com.rabbitmq:amqp-client:6.0.0.M1'

This new version is available on our Bintray Milestones Maven
Repository [2]. You need to add this repository explicitly to your
dependency manager configuration file.

Maven:

<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-rabbitmq-maven-milestones</id>
<name>bintray</name>
<url>http://dl.bintray.com/rabbitmq/maven-milestones</url>
</repository>
</repositories>

Gradle:

repositories {
maven {
url "http://dl.bintray.com/rabbitmq/maven-milestones"
}
}

[1] https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v6.0.0.M1
[2] https://bintray.com/rabbitmq/maven-milestones

vikinghawk

unread,
Jun 8, 2018, 11:14:33 AM6/8/18
to rabbitmq-users
Was the breaking change just the addition of new methods on the MetricsCollector interface? If so I would suggest using Java 8's default methods [1] so you can passively add methods to interfaces without breaking other implementers.

vikinghawk

unread,
Jun 8, 2018, 11:15:20 AM6/8/18
to rabbitmq-users

Arnaud Cogoluègnes

unread,
Jun 11, 2018, 5:29:20 AM6/11/18
to rabbitm...@googlegroups.com
Good point. I'll consider this for the 5.x branch, to benefit from the
feature as soon as possible in a stable version, as a few maintenance
releases of 5.x may be done before 6.0 becomes GA.

Nevertheless, 6.0 is likely to keep this breaking change. I'm not fond
of keeping empty default methods forever in a retrofitted interface,
they would look like second-class citizens, which they're not in this
case.
> --
> You received this message because you are subscribed to the Google Groups
> "rabbitmq-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rabbitmq-user...@googlegroups.com.
> To post to this group, send email to rabbitm...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

vikinghawk

unread,
Jun 11, 2018, 11:49:51 AM6/11/18
to rabbitmq-users
+1 sounds good to me
Reply all
Reply to author
Forward
0 new messages