TIBCO EMS FAQ -5
131) What happens if the message expires/exceeded the value specified by maxredelivery property on queue?
If the jms_preserve_undelivered property is set to true, then it moves he message to undelivered message queue, if set to false, the message is deleted by the server.
132) What are the wild cards that we use in ems?how do they work for queues and topics?
*,>
We can subscribe to wildcard topics, but cant publish to them. Where as in case of queues we can’t either send /receive.
133) Are bridges transitive?
No
134) Tell me about flow control on destinations?
Sometimes the producer may send messages faster than the consumers can receive them. So, the message capacity on the server will be exhausted. So we use flow control. Flow control can be specified on destinations.
135) Tell me about flow control on bridges and routes?
Flow control has to be specified on both sides of bridges where as on routes it operates differently on sender side and receiver side.
136) Name 3 configuration files and tell me what it consists of?
a. Queues.conf
b. Topics.conf
c. Routes.conf
d. Factories.conf
e. Stores.conf
f. Groups.conf, users.conf, transports.conf
137) Name some administrative level destination properties?
a. View
b. Create
c. Delete
d. Modify
e. Purge
138) How can you change the configuration properties of EMS server?
You can change in the tibemsd.conf file or you can change using the ems admin console.
139) Tell me about multicasting in EMS?
a. Multicast is a messaging model that broadcasts messages to many consumers at once rather than sending messages individually to each consumer. EMS uses Pragmatic general multicast to broadcast messages published to multicast enabled topics.
b. Each multicast enabled topic is associated with a channel.
140) What are the advantages and disadvantages of multicasting?
a. Advantages: As the message broadcasts only once there by reducing the amount of bandwidth used in publish and
subscribe model. Reduces the network traffic.
b. Disadvantages: Offers only last-hop delivery. So can’t be used to send messages between servers.
141) On what destinations can you use multicast?
Topics
Suppose, you got an error while accessing a queue, that you don’t have necessary permissions to access the queue. What might be the solution/reason?
The user that is assigned to the queue and the user used while creating.
142) How does the secondary server know that the primary server is failed?
Based on heartbeat intervals
143) How do you add ems server to administrator?
Using domain utility
144) How do you remove individual messages from destinations?
Using purge command.
Connection and Session threading in Ems
Connection : Multi thread
Session : Single thread
145) Where do you use a bridge in real time?
we use in scenarios like publishing message from Topic to Queue, Store message in EMS for retrieval in case if there is any problem while moving data from one process to another.
Whenever you are decided to use message selectors on BW, use bridges and use message selector on bridges, which is more powerful than using message selectors on BW.
146) What is the difference between EMS & RVD?
EMS
• Uses TCP
• Functions within the IP Layer
• Can be used within the Intranet and the Internet
• Slower than RVD
RVD
• Uses UDP
• Functions within the Network Layer
• Considerably Faster than EMS
• Can be used only within the Intranet (LAN)
147) What is the maximum size and maximum number of message possible using TIBCO EMS?
Maximum Message Size = 512MB [ Both Topic & Queue ]
Maximum No. Of Messages = 3600 messages / second.
148) What is the Maximum Retransmission Time?
Maximum Retransmission Time = 60 seconds
149) What are the different types of Queues?
• Static Queue
• Dynamic Queue
• Temp Queue
• System Queue
150) What are the permissions that you can grant to users to access queues?
• Receive
• Send
• Browse
151) How do you remove individual messages from destinations?
Using purge command, you can delete messages from queues and topics.
152) What is the use of “Durable” option?
Durable option enables persistence for EMS messages by creating Local Inboxes at the receiver end. The Message will exist as a reference till it is consumed by the corresponding receivers.
153) What is JMS queue requestor?
The JMS Queue Requestor activity is used to send a request to a JMS queue name and receive a response back from the JMS client
154) What is JMS topic requestor?
The JMS Topic Requestor activity is used to communicate with a JMS application’s request-response service. This service invokes an operation with input and output. The request is sent to a JMS topic and the JMS application returns the response to the request.
155) What is the difference between Queues and Topics?
Queue
• Guaranteed Service
• Only the Target gets the message (One message per Consumer)
• Uses Peer-to-Peer Mode to deliver messages
• Blocking
• Load Balancing is possible
Topic
• Reliable Service
• Everyone active gets the message (One message may Consumers)
• Uses Pub / Sub mode to deliver messages
• Non-Blocking
• Load Balancing is not possible
156) What is the use of secured queues and topics?
Setting ‘secure’ property to queues/topics can restrict unauthorized users from publishing/sending and subscribing/receiving the messages.
157) What is Load Balancing?
Load Balancing is a technique to distribute workload evenly across two or more machines or resources, in order to get optimal resource utilization, maximize throughput, minimize response time, and avoid overload. Using multiple Receivers with load balancing, instead of a single Receiver, may increase reliability through redundancy.
158) How is Load Balancing implemented on both Queue & Topic?
Topic : Load Balancing is only possible on Queues
Queue : Load Balancing is implemented on the receivers end. Since Load Balancing not possible on the sender side.
159) What is “Certified Messaging”?
Rendezvous (RV) uses ‘UDP’. Therefore each message is sent as a packet with a sequence number and a subject attached. So, RV is also called as “Subject Based Messaging”. Rendezvous Daemon (RVD) converts the message into packets and publish to the network. At the receiver end, RVD again converts the packets to the message and sends it to the receiver. This message is stored only for 60 seconds in the RVD before the message is lost. To avoid this, RV introduced a concept called
‘Certified Messaging(CM)’. RVCM uses Ledger to save the messages. The sender stores all outbound messages of the registered receivers which have an agreement in the ledger unless the sender receives an acknowledgement from the receiver.
160) What is the difference between RVD and RVRD?
RVD is Used for local subnet communication.
RVRD is Used for Remote communication.
What are the steps to perform Server Side Load Balancing on the local machine?
1. Make a duplicate copy of the “cfgmgmt” Folder and rename it to “cfgmgmt2”
2. Make sure that the Server Name is same in the “tibemsd.conf” file in both the folders.
3. Change the port number in the second folder’s “tibemsd.conf” file (listen = tcp://xxxx)
4. Start both copies of the servers from the command prompt (ex: C:\ .. \ems\5.1\bin\tibemsd –config “C:\ .. \cfgmgmt\ems\data\tibemsd.conf”)
5. In TIBCO Designer, modify the JMS Connection “Provide URL” to contain both the servers ( ex: tcp://localhost:7222 | tcp://localhost:7223)
161) What is Fault Tolerance?
Fault Tolerance is the ability of a system to respond gracefully to an unexpected hardware or software failure. Fault Tolerant systems mirror all operations, i.e. every operation is performed on two or more duplicate systems, so if one fails the other can take over.
162) What are the steps to setup Fault Tolerance servers on the local machine?
1. Make a duplicate copy of the “cfgmgmt” Folder and rename it to “cfgmgmt2”
2. Make sure that the “Server” Names and “Listen” ports are not the same in the “tibemsd.conf” file in both the folders.
3. Change the port number in the “tibemsd.conf” file (i.e ft_active = “listen port of the other server”) in both the “cfgmgmt” folders.
4. Start both copies of the servers from the command prompt (ex: C:\ .. \ems\5.1\bin\tibemsd –config “C:\ .. \cfgmgmt\ems\data\tibemsd.conf”)
163) What is the use of Bridges?
Some applications require the same message to be sent to more than one destination possibly of different types. So we use bridges.
164) What is the syntax to create Bridges without Message Selector?
create bridge source=queue:bridgequeue target=topic:bridgetopic
165) What is the syntax to delete a bridge?
delete bridge source=queue:bridgequeue target=topic:bridgetopic
166) What is the syntax to create Bridges with Message Selector?
create bridge source=queue:bridgequeue target=topic:bridge topic selector=”keyword”
167) What is the use of Bridges and Routes?
Both are used to channel messages from senders to receivers. Bridge act as connector between two different queue and Routes act as connector between different server for sending message and receiving acknowledgement of delivery.
168) What are the steps required to create a Route between two Servers?
1. Make a duplicate copy of the “cfgmgmt” Folder and rename it to “cfgmgmt2”
2. Make sure that the Server Name is NOT the same in the “tibemsd.conf” file in both the folders.
3. Change the port number in the second folder’s “tibemsd.conf” file (listen = tcp://xxxx)
4. Set the routing property to enabled in the “tibemsd.conf” files in both the folders
5. open factories.conf under “cfgmgmt2” and change the settings for GeneralConnectionFactory, QueueConnectionFactory and TopicConnectionFactory URL to (tcp://xxxx)
6. Create Route on Server 1 (route “Server2-Name” url=tcp://localhost:xxxx)
7. Create global queue / topics on both servers as required
8. Start both copies of the servers from the command prompt (ex: C:\ .. \ems\5.1\bin\tibemsd –config “C:\ .. \cfgmgmt\ems\data\tibemsd.conf”)
9. Test the route by using queue / topic in a BW Process.
If the jms_preserve_undelivered property is set to true, then it moves he message to undelivered message queue, if set to false, the message is deleted by the server.
132) What are the wild cards that we use in ems?how do they work for queues and topics?
*,>
We can subscribe to wildcard topics, but cant publish to them. Where as in case of queues we can’t either send /receive.
133) Are bridges transitive?
No
134) Tell me about flow control on destinations?
Sometimes the producer may send messages faster than the consumers can receive them. So, the message capacity on the server will be exhausted. So we use flow control. Flow control can be specified on destinations.
135) Tell me about flow control on bridges and routes?
Flow control has to be specified on both sides of bridges where as on routes it operates differently on sender side and receiver side.
136) Name 3 configuration files and tell me what it consists of?
a. Queues.conf
b. Topics.conf
c. Routes.conf
d. Factories.conf
e. Stores.conf
f. Groups.conf, users.conf, transports.conf
137) Name some administrative level destination properties?
a. View
b. Create
c. Delete
d. Modify
e. Purge
138) How can you change the configuration properties of EMS server?
You can change in the tibemsd.conf file or you can change using the ems admin console.
139) Tell me about multicasting in EMS?
a. Multicast is a messaging model that broadcasts messages to many consumers at once rather than sending messages individually to each consumer. EMS uses Pragmatic general multicast to broadcast messages published to multicast enabled topics.
b. Each multicast enabled topic is associated with a channel.
140) What are the advantages and disadvantages of multicasting?
a. Advantages: As the message broadcasts only once there by reducing the amount of bandwidth used in publish and
subscribe model. Reduces the network traffic.
b. Disadvantages: Offers only last-hop delivery. So can’t be used to send messages between servers.
141) On what destinations can you use multicast?
Topics
Suppose, you got an error while accessing a queue, that you don’t have necessary permissions to access the queue. What might be the solution/reason?
The user that is assigned to the queue and the user used while creating.
142) How does the secondary server know that the primary server is failed?
Based on heartbeat intervals
143) How do you add ems server to administrator?
Using domain utility
144) How do you remove individual messages from destinations?
Using purge command.
Connection and Session threading in Ems
Connection : Multi thread
Session : Single thread
145) Where do you use a bridge in real time?
we use in scenarios like publishing message from Topic to Queue, Store message in EMS for retrieval in case if there is any problem while moving data from one process to another.
Whenever you are decided to use message selectors on BW, use bridges and use message selector on bridges, which is more powerful than using message selectors on BW.
146) What is the difference between EMS & RVD?
EMS
• Uses TCP
• Functions within the IP Layer
• Can be used within the Intranet and the Internet
• Slower than RVD
RVD
• Uses UDP
• Functions within the Network Layer
• Considerably Faster than EMS
• Can be used only within the Intranet (LAN)
147) What is the maximum size and maximum number of message possible using TIBCO EMS?
Maximum Message Size = 512MB [ Both Topic & Queue ]
Maximum No. Of Messages = 3600 messages / second.
148) What is the Maximum Retransmission Time?
Maximum Retransmission Time = 60 seconds
149) What are the different types of Queues?
• Static Queue
• Dynamic Queue
• Temp Queue
• System Queue
150) What are the permissions that you can grant to users to access queues?
• Receive
• Send
• Browse
151) How do you remove individual messages from destinations?
Using purge command, you can delete messages from queues and topics.
152) What is the use of “Durable” option?
Durable option enables persistence for EMS messages by creating Local Inboxes at the receiver end. The Message will exist as a reference till it is consumed by the corresponding receivers.
153) What is JMS queue requestor?
The JMS Queue Requestor activity is used to send a request to a JMS queue name and receive a response back from the JMS client
154) What is JMS topic requestor?
The JMS Topic Requestor activity is used to communicate with a JMS application’s request-response service. This service invokes an operation with input and output. The request is sent to a JMS topic and the JMS application returns the response to the request.
155) What is the difference between Queues and Topics?
Queue
• Guaranteed Service
• Only the Target gets the message (One message per Consumer)
• Uses Peer-to-Peer Mode to deliver messages
• Blocking
• Load Balancing is possible
Topic
• Reliable Service
• Everyone active gets the message (One message may Consumers)
• Uses Pub / Sub mode to deliver messages
• Non-Blocking
• Load Balancing is not possible
156) What is the use of secured queues and topics?
Setting ‘secure’ property to queues/topics can restrict unauthorized users from publishing/sending and subscribing/receiving the messages.
157) What is Load Balancing?
Load Balancing is a technique to distribute workload evenly across two or more machines or resources, in order to get optimal resource utilization, maximize throughput, minimize response time, and avoid overload. Using multiple Receivers with load balancing, instead of a single Receiver, may increase reliability through redundancy.
158) How is Load Balancing implemented on both Queue & Topic?
Topic : Load Balancing is only possible on Queues
Queue : Load Balancing is implemented on the receivers end. Since Load Balancing not possible on the sender side.
159) What is “Certified Messaging”?
Rendezvous (RV) uses ‘UDP’. Therefore each message is sent as a packet with a sequence number and a subject attached. So, RV is also called as “Subject Based Messaging”. Rendezvous Daemon (RVD) converts the message into packets and publish to the network. At the receiver end, RVD again converts the packets to the message and sends it to the receiver. This message is stored only for 60 seconds in the RVD before the message is lost. To avoid this, RV introduced a concept called
‘Certified Messaging(CM)’. RVCM uses Ledger to save the messages. The sender stores all outbound messages of the registered receivers which have an agreement in the ledger unless the sender receives an acknowledgement from the receiver.
160) What is the difference between RVD and RVRD?
RVD is Used for local subnet communication.
RVRD is Used for Remote communication.
What are the steps to perform Server Side Load Balancing on the local machine?
1. Make a duplicate copy of the “cfgmgmt” Folder and rename it to “cfgmgmt2”
2. Make sure that the Server Name is same in the “tibemsd.conf” file in both the folders.
3. Change the port number in the second folder’s “tibemsd.conf” file (listen = tcp://xxxx)
4. Start both copies of the servers from the command prompt (ex: C:\ .. \ems\5.1\bin\tibemsd –config “C:\ .. \cfgmgmt\ems\data\tibemsd.conf”)
5. In TIBCO Designer, modify the JMS Connection “Provide URL” to contain both the servers ( ex: tcp://localhost:7222 | tcp://localhost:7223)
161) What is Fault Tolerance?
Fault Tolerance is the ability of a system to respond gracefully to an unexpected hardware or software failure. Fault Tolerant systems mirror all operations, i.e. every operation is performed on two or more duplicate systems, so if one fails the other can take over.
162) What are the steps to setup Fault Tolerance servers on the local machine?
1. Make a duplicate copy of the “cfgmgmt” Folder and rename it to “cfgmgmt2”
2. Make sure that the “Server” Names and “Listen” ports are not the same in the “tibemsd.conf” file in both the folders.
3. Change the port number in the “tibemsd.conf” file (i.e ft_active = “listen port of the other server”) in both the “cfgmgmt” folders.
4. Start both copies of the servers from the command prompt (ex: C:\ .. \ems\5.1\bin\tibemsd –config “C:\ .. \cfgmgmt\ems\data\tibemsd.conf”)
163) What is the use of Bridges?
Some applications require the same message to be sent to more than one destination possibly of different types. So we use bridges.
164) What is the syntax to create Bridges without Message Selector?
create bridge source=queue:bridgequeue target=topic:bridgetopic
165) What is the syntax to delete a bridge?
delete bridge source=queue:bridgequeue target=topic:bridgetopic
166) What is the syntax to create Bridges with Message Selector?
create bridge source=queue:bridgequeue target=topic:bridge topic selector=”keyword”
167) What is the use of Bridges and Routes?
Both are used to channel messages from senders to receivers. Bridge act as connector between two different queue and Routes act as connector between different server for sending message and receiving acknowledgement of delivery.
168) What are the steps required to create a Route between two Servers?
1. Make a duplicate copy of the “cfgmgmt” Folder and rename it to “cfgmgmt2”
2. Make sure that the Server Name is NOT the same in the “tibemsd.conf” file in both the folders.
3. Change the port number in the second folder’s “tibemsd.conf” file (listen = tcp://xxxx)
4. Set the routing property to enabled in the “tibemsd.conf” files in both the folders
5. open factories.conf under “cfgmgmt2” and change the settings for GeneralConnectionFactory, QueueConnectionFactory and TopicConnectionFactory URL to (tcp://xxxx)
6. Create Route on Server 1 (route “Server2-Name” url=tcp://localhost:xxxx)
7. Create global queue / topics on both servers as required
8. Start both copies of the servers from the command prompt (ex: C:\ .. \ems\5.1\bin\tibemsd –config “C:\ .. \cfgmgmt\ems\data\tibemsd.conf”)
9. Test the route by using queue / topic in a BW Process.
Comments
Post a Comment