2 Replies Latest reply on Aug 22, 2013 3:06 PM by alberto_souza

    simulate request with weld

    alberto_souza

      Hi,

       

      We have a thread that sends emails for our users... The problem is: inside the thread we try to use objects that are RequestScoped and SessionScoped. We tried to use weld objects to simulate requests, like BoundRequestContext, etc... But the problem remains... Does anyone have any tip? Is there some trick to detach objects from weld context? Or force initialize of proxies?

       

      Thanks!!,

       

      Alberto