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

    simulate request with weld

    Alberto Souza Newbie



      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?