[JSONRPC-32] Outbound RPC method name should be configurable using annotation. Created: 04/Apr/19 Updated: 04/Apr/19 Resolved: 04/Apr/19 |
|
| Status: | Verified |
| Project: | jsonrpc |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Richard Kosegi | Assignee: | Richard Kosegi |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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"). |