0 Replies Latest reply on Jan 27, 2017 6:30 AM by Victor Wjugow

    AsyncDispatcher with ErraiCDI ?

    Victor Wjugow Newbie

      Hello

      I am using Errai 3.2.0.Final in a Jboss 7.1.1.Final.

       

      I saw in the documentation that AsyncDispatcher should be used in production so I went ahead and tried it. After setting it up in the ErraiService.properties, I got

       

      org.jboss.errai.common.server.api.ErraiBootstrapFailure: Cannot start Errai CDI. You have have configured the service to use the org.jboss.errai.bus.server.AsyncDispatcher dispatcher implementation. Due to limitations of Weld, you must use the org.jboss.errai.bus.server.SimpleDispatcher in order to use this module.

       

      I understand the error returned, but the question is, will this ever be fixed? How bad is it to use SimpleDispatcher? If we removed Errai CDI from our project, would we be able to use AsyncDispatcher?