Bumped verision 0.7

This commit is contained in:
andrea
2015-07-08 19:54:29 +02:00
parent a1fb2115cd
commit f0a8346ef4
8 changed files with 53 additions and 51 deletions
+13 -41
View File
@@ -20,19 +20,16 @@ and into [WSO2 Messge broker] (http://techexplosives-pamod.blogspot.it/2014/05/m
Start play with it, download the self distribution tar from [BinTray](http://dl.bintray.com/andsel/generic/distribution-0.6-bundle-tar.tar.gz) ,
the un untar and start the broker listening on 1883 port and enjoy!
```
tar zxf distribution-0.6-bundle-tar.tar.gz
tar zxf distribution-0.7-bundle-tar.tar.gz
cd bin
./moquette.sh
```
### Running inside OSGi container
Starting from version 0.6 Moquette is OSGi compliant, to see it in action:
Or if you are on Windows shell
```
mvn clean install;
cd bundle;
mvn install pax:provision
```
cd bin
.\moquette.bat
```
## Embedding in other projects
To embed Moquette in another maven project is sufficient to include a repository and declare the dependency:
@@ -56,9 +53,9 @@ Include dependency in your project:
```
<dependency>
<groupId>org.dna.mqtt</groupId>
<groupId>org.eclipse.moquette</groupId>
<artifactId>moquette-broker</artifactId>
<version>0.6</version>
<version>0.7</version>
</dependency>
```
@@ -68,36 +65,11 @@ After a git clone of the repository, cd into the cloned sources and: `mvn clean
In distribution/target directory will be produced the selfcontained tar for the broker with all dependencies and a running script.
## SSL configuration
Here are some simple steps to do to configure Moquette to serve over SSL
**Details **
Moquette uses JavaKeyStore? and certificates to handle SSL. In order to expose it over SSL you have create a keystore for
the broker (select the password), exporting a certificate and define 4 variables into moquette.conf.
**Create a keystore**
In a directory generate the keystore using the JRE's keytool:
```
keytool -keystore serverkeystore.jks -alias testserver -genkey -keyalg RSA
```
To make it work you have to answer at the first question, say moquette.dna.org and as password we could use passw0rdsrv
for both (keystore and keymanger)
**Export a certificate**
Then you need export a certificate:
```
keytool -export -alias testserver -keystore serverkeystore.jks -file testserver.crt
```
**Imporing on the client side**
Supposing you have already created the keystore for the client side, (name it clientkeystore for example), we could import the certificate with:
```
keytool -keystore clientkeystore.jks -import -alias testserver -file testserver.crt -trustcacerts
```
It's done! We just need use the Paho client to connect to the server, check ServerIntegrationSSLTest.java integration test to see how.
**Developers resources**
## Guide
**Documentation reference guide**
Web site http://andsel.github.io/moquette/
**Developers resources**
Google Group https://groups.google.com/forum/#!forum/moquette-mqtt