]
Bela Ban commented on JGRP-2001:
--------------------------------
What about RequestOptions? This is shipped with the message itself, I think we can remove
it, too...
RequestCorrelator: request-ID is sent in request and header
-----------------------------------------------------------
Key: JGRP-2001
URL:
https://issues.jboss.org/browse/JGRP-2001
Project: JGroups
Issue Type: Enhancement
Reporter: Bela Ban
Assignee: Bela Ban
Priority: Minor
Fix For: 3.6.7
When invoking a sync RPC, a request is identified by a _request ID_ (req_id, a long).
This is sent in both the header and the request itself, so we can remove one of them.
Also, in {{Header}}, we can drop field {{rsp_expected}}: this can be replaced by setting
{{req_id}} to {{-1}}.
Summary: we can drop a long ({{req_id}}) field in {{Request}} and a boolean
({{rsp_expected}} in {{Header}}) from each RPC.