You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Martyn Taylor (JIRA)" <ji...@apache.org> on 2018/01/16 16:11:03 UTC
[jira] [Commented] (ARTEMIS-1611) Artemis transformer interface is
not backwards compatible
[ https://issues.apache.org/jira/browse/ARTEMIS-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327313#comment-16327313 ]
Martyn Taylor commented on ARTEMIS-1611:
----------------------------------------
Although it was a major version bump there was no real need to break this interface. It mostly comes down to some internal refactoring (unfortunately the public transformer interface already exposed some internals). [~jmesnil] I will see if there is a way to support backwards compat of the 1.x transformer interface without breaking anything. The main difficulty is adding back ServerMessage, I could potentially re-add the interface as deprecated.
> Artemis transformer interface is not backwards compatible
> ---------------------------------------------------------
>
> Key: ARTEMIS-1611
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1611
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.4.0
> Environment: We have users of Artemis 1.x that uses the transformer interface defined in org.apache.activemq.artemis.core.server.cluster.Transformer.
>
> This class was moved in Artemis 2.x in an incompatible way: [https://github.com/apache/activemq-artemis/blob/master/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/Transformer.java] that redirects to [https://github.com/apache/activemq-artemis/blob/master/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/transformer/Transformer.java]
> We are updating Artemis 2.x but it breaks the client configuration that was using the old interface.
> We have strong requirement for backwards compatibility and we'd like to come up with a solution so that the new interface could be made backwards compatible with the existing one.
> Would it be possible sense to reintroduce the old interface in the server.cluster package so that old code would still be able to run with Artemis 2.x?
>
> Reporter: Jeff Mesnil
> Priority: Major
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)