4 Replies Latest reply on Jun 22, 2013 1:39 PM by bogdand

    Errai service scaffolding

    bogdand

      Hi,

       

      I have a question on how the services in errai are bound on the bus.

      It appears that there are 2 MessageCallback(s) associated with service (annotated with @Service).

      One of them is from the org.jboss.errai.bus.server.service.ServiceProcessor.createRPCScaffolding(), and the other is from org.jboss.errai.cdi.server.CDIExtensionPoints.createRPCScaffolding().

      As a result, the service is called twice for a message received on the bus.

      Am I wrong, or do I have a wrong errai setup?

      I'm using Errai 2.3.0.Final with JBOSS 7.1.1.Final

       

      Don't know if there already is an open discussion on this, sorry if redundant

       

      Thanks