Uploaded image for project: 'jsonrpc'
  1. jsonrpc
  2. JSONRPC-32

Outbound RPC method name should be configurable using annotation.

    XMLWordPrintable

Details

    • Improvement
    • Status: Verified
    • Medium
    • Resolution: Done
    • None
    • None
    • None
    • None

    Description

      When calling remote RPC service using proxy, user should be able to explicity set RPC method name. Not every scenario can be modeled using java interface ("Namespace.Method.Name").

      For example : https://kodi.wiki/view/JSON-RPC_API/v9

      Another use case is when calling binding-bridge RPC service using "plain" proxy.

      if you have RPC method "method-name", then it is modeled in java by using "methodName()" method.

      No way you can force right form when calling it.

      Solution is introduce annotation @JsonRpcMethod("method-name").

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            rkosegi Richard Kosegi
            rkosegi Richard Kosegi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: