mpromonet / spring-onvif

ONVIF services with spring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build status Heroku

Spring-ONVIF

The aim is to try to implement ONVIF services in a flexible way and to learn a bit more about what could do Apache Camel.
This should probably never run inside a camera, but it could be use to test ONVIF client.

The application is based on Spring Framework and use :

  • Apache CXF to manage WS endpoints
  • Apache Camel to route the SOAP request
  • Groovy to process SOAP request and produce SOAP response

The application instantiate an ONVIF Device Service and publish it using the WS-Discovery of Apache CXF.
Apache Camel is used to dispatch each ONVIF method to a groovy script located in groovy//.groovy.
Then adding support for a new method just need to add a new script. Modifying behaviour of a method could be done modifying the script without restart the application.

Container is a war, but it should be possible to use a jar assembly or an osgi bundle.

Build

  • mvn package build the web application.
  • mvn build and run the web application in embedded tomcat.

About

ONVIF services with spring

License:The Unlicense


Languages

Language:Groovy 95.2%Language:HTML 4.2%Language:Shell 0.7%