Announcement Announcement Module
Collapse
No announcement yet.
Transaction management and OSGI services Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Transaction management and OSGI services

    Hi,

    I have an application running in an OSGI container.The main class has a method like this

    @Transactional
    public void run(){
    for(service svc: osgiservices){
    svc.run();
    }
    }

    The osgi services can come and go at runtime, and they are created in the bundle activator (so they are not spring managed), and might use a shared datasource or use multiple datasources at their own will. Is there a way to make all of them transactional across datasources?

    Regards,
    Leen
Working...
X