Repository: incubator-stratos Updated Branches: refs/heads/master 42fec6c33 -> 720cee28e
adding activemq client libs during distribution build time and changing jndi prop file accordingly Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/3e2429f1 Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/3e2429f1 Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/3e2429f1 Branch: refs/heads/master Commit: 3e2429f19586a431c2063acbb0b9ad2e421a33c5 Parents: 8fbb271 Author: Pradeep Fernando <[email protected]> Authored: Mon Mar 31 19:15:28 2014 +0530 Committer: Pradeep Fernando <[email protected]> Committed: Mon Mar 31 19:15:28 2014 +0530 ---------------------------------------------------------------------- products/stratos/conf/jndi.properties | 6 +++--- products/stratos/modules/distribution/pom.xml | 17 +++++++++++++++++ .../modules/distribution/src/assembly/bin.xml | 8 ++++++++ 3 files changed, 28 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3e2429f1/products/stratos/conf/jndi.properties ---------------------------------------------------------------------- diff --git a/products/stratos/conf/jndi.properties b/products/stratos/conf/jndi.properties index 046c8f5..668c24f 100644 --- a/products/stratos/conf/jndi.properties +++ b/products/stratos/conf/jndi.properties @@ -1,3 +1,3 @@ -connectionfactoryName=topicConnectionfactory -connectionfactory.topicConnectionfactory=amqp://admin:admin@carbon/carbon?brokerlist='tcp://localhost:5677' -java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory +connectionfactoryName=TopicConnectionFactory +java.naming.provider.url=tcp://localhost:61616 +java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3e2429f1/products/stratos/modules/distribution/pom.xml ---------------------------------------------------------------------- diff --git a/products/stratos/modules/distribution/pom.xml b/products/stratos/modules/distribution/pom.xml index 63e231c..f8d875b 100755 --- a/products/stratos/modules/distribution/pom.xml +++ b/products/stratos/modules/distribution/pom.xml @@ -435,6 +435,23 @@ <artifactId>org.wso2.carbon.relay</artifactId> <version>${carbon.version}</version> </dependency> + <!-- activemq client jars --> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-j2ee-management_1.1_spec</artifactId> + <version>1.0.1</version> + </dependency> + <dependency> + <groupId>org.fusesource.hawtbuf</groupId> + <artifactId>hawtbuf</artifactId> + <version>1.9</version> + </dependency> + <dependency> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-client</artifactId> + <version>5.8.0</version> + </dependency> + </dependencies> http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3e2429f1/products/stratos/modules/distribution/src/assembly/bin.xml ---------------------------------------------------------------------- diff --git a/products/stratos/modules/distribution/src/assembly/bin.xml b/products/stratos/modules/distribution/src/assembly/bin.xml index 73a3f92..38e9208 100755 --- a/products/stratos/modules/distribution/src/assembly/bin.xml +++ b/products/stratos/modules/distribution/src/assembly/bin.xml @@ -561,6 +561,14 @@ <include>org.apache.rampart:rampart:mar</include> </includes> </dependencySet> + <dependencySet> + <outputDirectory>${pom.artifactId}-${pom.version}/repository/components/lib</outputDirectory> + <includes> + <include>org.apache.activemq:activemq-client:jar</include> + <include>org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec:jar</include> + <include>org.fusesource.hawtbuf:hawtbuf:jar</include> + </includes> + </dependencySet> </dependencySets> <files>
