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

    Errai service scaffolding

    Bogdan Dumitru Newbie

      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