[ 
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

Reply via email to