Transport:
It
is the mechanism for sending and delivering messages. There are three main
parameters in Tibco RV for transport: network, daemon and service.
Service
is specific to programs. Multiple programs may be running on a network. Each
program has a different service. There can be many services running under a
daemon for different programs.
Network parameter
specifies the interface for multicast communication from a program. A specific
network should be selected for outbound multicast Rendezvous communications.
Daemon
specifies the port where RV daemon runs. RV communicates through this daemon
and hence remote daemon must be specified to support network communications.
Tibrvsend and
Tibrvlisten:
Every
Tibco RV installation provides these two utilities for sending and receiving
messages on any multicast network.
Sample
for testing these utilities:
tibrvlisten.exe
-service 7576 -network 10.21.6.38 -daemon tcp:7500 "TEST"
tibrvsend.exe
-service 7576 -network 10.21.6.38 -daemon tcp:7500 "TEST"
"Sending message"
Point-to-Point and
Multicast Messageing:
Tibco RV supports point-to-point
messages in which only one receiver can receive the messages and it can listen
several times to the same subject/inbox name. One process can receive multiple copies of
the message by listening several times to the same subject/inbox name, but two
processes cannot share a subject/inbox name.
In multicast multiple
receivers/subscribers can listen to the same subject and receive the same
messages. Multicast messages are just like radio broadcasts; the sender picks a
frequency, and any listener who tunes to that frequency receives the broadcast message.
The public subject name is analogous to a radio frequency; any program that
listens for a subject receives all messages sent on that subject name.
Interactions in RV:
There are three types of
interactions in RV:
Publish/Subscribe:
Sends information to multiple programs.
Request/Reply:
Sends request to individual program and receives response from it.
Multicast request/reply:
Sends request to multiple programs and receives response from all.
=====================================================================
Other Topics :
=====================================================================
Other Topics :
Comments
Post a Comment