karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-2307) ActiveMQ Karaf commands do not work with Karaf 3
Date Mon, 06 May 2013 16:16:16 GMT

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

Christian Schneider commented on KARAF-2307:
--------------------------------------------

If you have a better solution please go ahead. I think it makes sense as there should always
be a version where you can use the old and new api as this allows a transition period for
the projects.

An alternative solution is to copy the classes from commands.basic into a package in activemq-karaf.
This would involve a lot of duplicate code though.

                
> ActiveMQ Karaf commands do not work with Karaf 3
> ------------------------------------------------
>
>                 Key: KARAF-2307
>                 URL: https://issues.apache.org/jira/browse/KARAF-2307
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 3.0.0.RC1
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 3.0.0
>
>
> The ActiveMQ Karaf commands import the package org.apache.felix.gogo.commands.basic which
was exported by karaf shell before version 3.
> I first tried to change the activemq commands like we did for cxf and camel. The problem
is that the activemq commands are quite generic as they simply map the activemq console commands.
So they really need the package above.
> So my aproach is to create the package in karaf shell with deperecated classes extending
the new classes. So this should provide the necessary compat layer. There classes can be removed
once all commands are switched to pure karaf 3.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message