activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dejan Bosanac (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-4034) Create Karaf Integration Test
Date Wed, 23 Jan 2013 13:58:12 GMT

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

Dejan Bosanac commented on AMQ-4034:
------------------------------------

I finished an initial implementation of the new osgi integration. Now we have a single "uber"
jar with all necessary classes and resources (and a corresponding feature). Also, there's
a service factory for creating and configuring brokers. The service factory handles "org.apache.activemq.server"
pid and expects from it broker name, configuration location and other configuration properties.

An example can be found at

https://svn.apache.org/repos/asf/activemq/trunk/activemq-karaf-itest/src/test/resources/org/apache/activemq/karaf/itest/org.apache.activemq.server-default.cfg

and corresponding activemq.xml

https://svn.apache.org/repos/asf/activemq/trunk/activemq-karaf-itest/src/test/resources/org/apache/activemq/karaf/itest/activemq.xml

You can test it agains current trunk by doing

{code}karaf@root> features:addUrl mvn:org.apache.activemq/activemq-karaf/5.8-SNAPSHOT/xml/features
karaf@root> features:install activemq-broker {code}

and then copying two files from above to the etc folder.

Things left to be done:

* cleanup features and commands as many of the old stuff is now obsolete
* finish integration test
* make web console configurable via config admin

Feedback is more then welcomed.
                
> Create Karaf Integration Test
> -----------------------------
>
>                 Key: AMQ-4034
>                 URL: https://issues.apache.org/jira/browse/AMQ-4034
>             Project: ActiveMQ
>          Issue Type: Improvement
>    Affects Versions: 5.6.0
>            Reporter: Dejan Bosanac
>
> Used pax-exam based tests to verify that broker works in Karaf environment.

--
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