I would like to setup exporters used by both long-lived and relatively short lived objects in a manner that could be compatible with a firewall. E.g., I would like to have river communicating only using some configured ports. Is this as easy as specifying the port number explicitly for TcpServerEndpoint constructor [1]? Can the same port be reused for each such constructor and the requests multiplexed over that port (JERI appears to support such multiplexing per [2]) ? Is there a good reference that covers this topic (how to configure jini/river to work with statically configured firewalls)?
Thanks in advance, Bryan [1] https://river.apache.org/doc/api/net/jini/jeri/tcp/TcpServerEndpoint.html [2] https://river.apache.org/doc/api/net/jini/jeri/connection/doc-files/mux.html