activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1611) Artemis transformer interface is not backwards compatible
Date Wed, 17 Jan 2018 11:37:00 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16328649#comment-16328649
] 

ASF GitHub Bot commented on ARTEMIS-1611:
-----------------------------------------

Github user mtaylor commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1783#discussion_r162024692
  
    --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core/server/transformer/Transformer.java
---
    @@ -19,10 +19,18 @@
     import java.util.Map;
     
     import org.apache.activemq.artemis.api.core.Message;
    +import org.apache.activemq.artemis.core.server.ServerMessage;
     
     public interface Transformer {
    --- End diff --
    
    I'm not sure what you mean here Jeff.  Perhaps you could provide an example?  Note that
I was trying to keep this change as isolated as possible.  The only thing I have changed is
the transformer interface and added a couple extra classes back.


> 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:  
>  
>            Reporter: Jeff Mesnil
>            Priority: Major
>
> 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?
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message