Hi I am new to Tibco RV. After reading the Tibco Rendezvous Concept, I am still confused about the transport parameters: service, network, daemon.
So conceptually there is only one daemon running on each machine. So when using tibrvsend:
tibrvsend -service 2323 -network "someIPAddress" -daemon "myDaemon" MESSAGE
Does it mean I am sending message using port 2323 on my localhost, through daemon myDaemon
(which could be on remote), to network comeIPAddress
?
When using tibrvlisten:
tibrvListen -service 2323 -network "someIPAddress" -daemon "myDaemon"
Does it mean I am listening using any available port, any available daemon on my localhost, to listen the messages from port 2323 of myDaemon
" that published to someIPAddress
network?
Another question is, the book "Tibco RV Concept" mentioned that the same service cannot be bind to two networks. Does it only apply to producer machines (since we don't specify port for listener machine)? So an error will occur if we do:
tibrvsend -service 2323 -network "net1" MESSAGE
and
tibrvsend -service 2323 -network "net2" MESSAGE
at the same time (it should be OK if we do it consecutively, right?)
but for listeners:
tibrvlisten -service 2323 -network "net1"
and
tibrvlisten -service 2323 -network "net2"
should be perfectly fine? (otherwise it means producers need to know each others' port number in order to avoid conflict)
If I have totally messed up with the concepts, can you please explain with examples?