https://github.com/mpromonet/spring-onvif
ONVIF services with spring
https://github.com/mpromonet/spring-onvif
camel cxf onvif
Last synced: about 1 month ago
JSON representation
ONVIF services with spring
- Host: GitHub
- URL: https://github.com/mpromonet/spring-onvif
- Owner: mpromonet
- License: unlicense
- Created: 2012-11-01T10:37:13.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2017-11-11T14:30:46.000Z (almost 8 years ago)
- Last Synced: 2025-04-13T23:51:24.919Z (6 months ago)
- Topics: camel, cxf, onvif
- Language: Groovy
- Size: 506 KB
- Stars: 13
- Watchers: 4
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/mpromonet/spring-onvif)
[](https://spring-onvif.herokuapp.com/)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 responseThe 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.