Re: Does SSE + CDI work?

2017-09-17 Thread John D. Ament
Ok, i was able to work a bit deeper into this. 1. the integration works, but firing async events doesn't work. I'm not sure it should, since you're just appending to the request; but I want to play with async requests a bit. 2. The integration seems flakey I'm afraid. I'll run a test, almost al

Re: CDI & Class Metadata Parsing

2017-09-17 Thread John D. Ament
On Sun, Sep 17, 2017 at 5:09 PM Sergey Beryozkin wrote: > Hi > On 17/09/17 15:37, John D. Ament wrote: > > Hey > > > > So I just ran into an issue where ExceptionMappers weren't being > processed > > in CXF when they had a CDI normal scope. Switching to a pseudo scope > > (@Dependent) fixes it.

Re: CDI & Class Metadata Parsing

2017-09-17 Thread Sergey Beryozkin
Hi On 17/09/17 15:37, John D. Ament wrote: Hey So I just ran into an issue where ExceptionMappers weren't being processed in CXF when they had a CDI normal scope. Switching to a pseudo scope (@Dependent) fixes it. A similar issue to what I saw recently with Weld and Generic Type being lost, ex

Does SSE + CDI work?

2017-09-17 Thread John D. Ament
I'm trying to create a very basic example of using SSE + CDI events. To do that, I created a basic endpoint based on a CXF systest that I found, but tried to adapt it to work with CDI. @Path("/sse") @RequestScoped public class SseEventEndpoint { @Inject private Event event; @Context

CDI & Class Metadata Parsing

2017-09-17 Thread John D. Ament
Hey So I just ran into an issue where ExceptionMappers weren't being processed in CXF when they had a CDI normal scope. Switching to a pseudo scope (@Dependent) fixes it. A similar issue to what I saw recently with Weld and Generic Type being lost, except this was happening for both OWB and Weld