No way to use RPC client from service
See original GitHub issue- RPC client cant be defined in service
- Controller (with defined RPC client) cannot be injected in service to call RCP actions via controller methods
- Controller cant be RPC client without defining
@RequestMapping()
on some method (try to remove method with@RequestMapping
from controller and in controller constructor callthis.client.send()
after some timeout,this.client
will benull
)
Just got example from documentation (Client section) and tried all above. IMHO the most important is 2 issue cause it’s useful to have controllers that works with all transport (http/ws/rpc) things and services for all other work. So service should be able to inject appropriate controller to call RPC client action or send smth away via websocket.
Update. Or maybe we can move RPC client/server to Gateway? They can be injected into anything and rpc has same interaction logic as websocket (ability to receive and send messages).
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Restrictions for Unauthenticated RPC Clients: The group ...
The Argument. One of the options for Restrictions for unauthenticated RPC clients is "Authenticated without Exceptions". When enabled, RPC ...
Read more >rpcclient - Samba.org
DESCRIPTION. This tool is part of the samba(7) suite. rpcclient is a utility initially developed to test MS-RPC functionality in Samba itself.
Read more >Active Directory Enumeration: RPCClient - Hacking Articles
In this article, we are going to focus on the enumeration of the Domain through the SMB and RPC channels. The tool that...
Read more >Understanding RPC Vs REST For HTTP APIs
REST is all about a client-server relationship, where server-side data ... Seeing as XML is not everyone's cup of tea, an RPC API...
Read more >Advanced Use of RPC
The RPC_Establish procedure may be used in a client program to handle errors occuring in remote procedure calls. By default, if an unrecoverable...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Since
3.0.0
constructor shouldn’t break RPC client creation. You can inject dependencies through constructor, but interact with them after module init event.This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.