Skip to content
This repository has been archived by the owner on Jun 15, 2019. It is now read-only.

pires/netty-socketio-osgi-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netty Socket.IO OSGi example

Tested with Fabric8 1.1.0.CR1 and Java 7.

Build

mvn clean package

Service provisioning (fabric8-karaf)

Create Fabric8 ensemble

fabric:create --clean --wait-for-provisioning

Create profile

profile-create --parents default socketioapp

profile-edit --repositories mvn:com.github.pires/feature-hazelcast/0.1-SNAPSHOT/xml/features socketioapp
profile-edit --repositories mvn:com.github.pires/feature-jackson/0.1-SNAPSHOT/xml/features socketioapp
profile-edit --repositories mvn:com.github.pires/feature-socketio/0.1-SNAPSHOT/xml/features socketioapp

profile-edit --features hazelcast socketioapp
profile-edit --features jackson socketioapp
profile-edit --features netty-socketio socketioapp

profile-edit --bundles mvn:com.github.pires/netty-socketio-app/0.1-SNAPSHOT socketioapp
profile-edit --bundles mvn:org.objenesis/objenesis/2.1 socketioapp
profile-edit --bundles wrap:mvn:com.esotericsoftware.minlog/minlog/1.2 socketioapp
profile-edit --bundles mvn:com.esotericsoftware.kryo/kryo/2.24.0 socketioapp

Deploy container

container-create-child --profile socketioapp root c1

Done

Check you're listening in http://localhost:8080

About

Netty-SocketIO OSGi example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages