Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-925

Race condition when adding a RPC implementation with an output

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • mdsal
    • None
    • Operating System: All
      Platform: All

    • 2157

    Description

      When you add a RPC Service Implementer that contains an output reply, there is no error. However, when you try to use this RPC you get a message it does not exist.

      When doing the following lines in your module's "createInstance" method:
      "getRpcRegistryDependency().addRpcIplementation(Service class,implementer)"
      No error is thrown, however when you try to use the RPC call you get a reply error is the Rest Client that this method is not implemented. Putting this registration inside a thread that sleeps for 15 seconds before doing the line above solves the issue.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jhajnar@cisco.com Jan Hajnar
            saichler@cisco.com Sharon Aicler
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: