Traccar and OSGi

NCister4 years ago

Hi
I need to integrate Traccar with an OSGi environment (Apache Felix based) and its services.
I have already evaluated the forward features ... but I was thinking to a native (same memory space) interaction (not on the network)
What's the best way ? (in lib folder I saw an "osgi-resource-locator-1.0.1.jar" ...) ?
Thanks.

P.S.
My opinion is that the GREAT work done in Traccar would greatly benefit from the adoption of OSGi (and, even better, Apache Sling ...):

  1. Single deployable bundle for every protocol (no unnecessarily allocated ports)
  2. Consumer decoupling (to route received data to a database, or an MQTT server ... similar to Apache Camel paradigm ....)
  3. Hot Deploy
  4. Run time bundles versioning
  5. etc, etc ...
    Have you ever thought about this possibility?