InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Is Jms Topic Requester? |
|
Answer» 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. 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. |
|
| 2. |
What Is Jms Queue Requester? |
|
Answer» 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. 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. |
|
| 3. |
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? |
|
Answer» The USER that is ASSIGNED to the QUEUE and the user USED while CREATING. The user that is assigned to the queue and the user used while creating. |
|
| 4. |
What Are The Advantages And Disadvantages Of Multi Casting? |
|
Answer» Advantages: as the message broadcasts only once thereby reducing the amount of BANDWIDTH used in publish and subscribe model. REDUCES the network traffic. Disadvantages: OFFERS only last-hop DELIVERY. So can’t be used to SEND messages between servers. Advantages: as the message broadcasts only once thereby reducing the amount of bandwidth used in publish and subscribe model. Reduces the network traffic. Disadvantages: Offers only last-hop delivery. So can’t be used to send messages between servers. |
|
| 5. |
Tell Me About Multi Casting In Ems? |
Answer»
|
|
| 6. |
What Are The Permissions That You Can Grant To Users To Access Topics? |
| Answer» | |
| 7. |
What Are The Permissions That You Can Grant To Users To Access Queues? |
| Answer» | |
| 8. |
How Can You Change The Configuration Properties Of Ems Server? |
|
Answer» You can CHANGE in the tibemsd.conf FILE or you can change USING the ems admin CONSOLE. You can change in the tibemsd.conf file or you can change using the ems admin console. |
|
| 10. |
Name 3 Configuration Files And Tell Me What It Consists Of? |
Answer»
|
|
| 11. |
Tell Me About Flow Control On Bridges And Routes? |
|
Answer» Flow CONTROL has to be specified on both sides of bridges where as on ROUTES it operates differently on sender side and RECEIVER side. Flow control has to be specified on both sides of bridges where as on routes it operates differently on sender side and receiver side. |
|
| 12. |
Tell Me About Flow Control On Destinations? |
|
Answer» 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. 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. |
|
| 13. |
What Are The Wild Cards That We Use In Ems? How Do They Work For Queues And Topics? |
|
Answer» *,> you can SUBSCRIBE to wildcard topics but can’t PUBLISH to them. Where as in case of QUEUES we can’t either send /RECEIVE. *,> you can subscribe to wildcard topics but can’t publish to them. Where as in case of queues we can’t either send /receive. |
|
| 14. |
In How Many Ways Can A Destination Be Created? |
Answer»
|
|
| 15. |
What Happens If The Message Expires/exceeded The Value Specified By Maxredelivery Property On Queue? |
|
Answer» 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. 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. |
|
| 16. |
What Is The Use Of Routes? What Kind Of Destinations Can Be Used In Routes? |
|
Answer» Topics and queues m-hops. |
|
| 17. |
What Are The Messaging Models Supported By Jms? |
Answer»
|
|
| 19. |
Name Destination Properties And Explain Them? |
|
Answer» GLOBAL, SECURE, maxmsgs, maxbytes, FLOW control, sender name, sender_name_enforced, TRACE, maxRedelivery. Global, secure, maxmsgs, maxbytes, flow control, sender name, sender_name_enforced, trace, maxRedelivery. |
|
| 20. |
What Is Tibemsd.conf? |
|
Answer» It is the MAIN CONFIGURATION file that controls the CHARACTERISTICS of the EMS SERVER. It is the main configuration file that controls the characteristics of the EMS server. |
|
| 21. |
How Many Modes Are The Messages Written To Store File? |
Answer»
Two Modes: |
|
| 22. |
What Is The Purpose For Stores.conf? |
|
Answer» This file defines the LOCATIONS EITHER store files or a database, where the EMS SERVER will store messages or METADATA. Each store configured is either a file-based or a database store. This file defines the locations either store files or a database, where the EMS server will store messages or metadata. Each store configured is either a file-based or a database store. |
|
| 23. |
Tell Me About Bridges. Why Do We Use Them, Syntax To Create Bridges, Use Of Message Selector? |
| Answer» | |
| 24. |
What Are The Different Types Of Messages That Can Be Used In Ems? |
| Answer» | |
| 25. |
What Are The Different Types Of Acknowledgement Modes In Ems Message Delivery? |
Answer»
|
|
| 26. |
If A Persistent Message Is Published On To A Topic, Does These Messages Will Store On Disk If Topic Doesn’t Have Durable Subscriber Or Subscriber With A Fault-tolerant Connection? |
|
Answer» No. PERSISTENT messages published to a topic are WRITTEN to disk only if that topic has at least ONE durable subscriber or one subscriber with a fault-tolerant connection to the EMS server. In the ABSENCE of a durable subscriber or subscriber with a fault-tolerant connection, there are no SUBSCRIBERS that need messages resent in the event of a server failure. In this case, the server does not needlessly save persistent messages. This improves performance by eliminating the unnecessary disk I/O to persist the messages. No. Persistent messages published to a topic are written to disk only if that topic has at least one durable subscriber or one subscriber with a fault-tolerant connection to the EMS server. In the absence of a durable subscriber or subscriber with a fault-tolerant connection, there are no subscribers that need messages resent in the event of a server failure. In this case, the server does not needlessly save persistent messages. This improves performance by eliminating the unnecessary disk I/O to persist the messages. |
|
| 27. |
What Are The Different Delivery Modes Available In Ems? |
|
Answer» Persistent: When a producer sends a PERSISTENT message, the producer must wait for the server to reply with a confirmation. The message is persisted on disk by the server. This DELIVERY mode ensures delivery of messages to the destination on the server in almost all circumstances. However, the cost is that this delivery mode incurs two-way network traffic for each message or committed transaction of a group of messages Non-Persistent:
Reliable:
Persistent: When a producer sends a PERSISTENT message, the producer must wait for the server to reply with a confirmation. The message is persisted on disk by the server. This delivery mode ensures delivery of messages to the destination on the server in almost all circumstances. However, the cost is that this delivery mode incurs two-way network traffic for each message or committed transaction of a group of messages Non-Persistent: Reliable: |
|
| 28. |
What Is The Maximum Message Size Is Supported By Ems? |
|
Answer» EMS supports MESSAGES up to a maximum SIZE of 512MB. However, we recommend that application programs use smaller messages, since messages approaching this maximum size will strain the performance LIMITS of most current hardware and OPERATING system platforms. EMS supports messages up to a maximum size of 512MB. However, we recommend that application programs use smaller messages, since messages approaching this maximum size will strain the performance limits of most current hardware and operating system platforms. |
|
| 29. |
What Are The Messages Bodies Are Supported By The Ems? |
| Answer» | |
| 30. |
Where Does The Undelivered Messages Will Be Stored? |
Answer»
|
|
| 31. |
What Is Structure Of Jms Message? |
Answer»
|
|
| 32. |
What Are The Extra Features Are Available In Ems Apart From Jms? |
Answer»
|
|
| 33. |
What Are The Ems Destination Features? |
| Answer» | |
| 34. |
What Are The Limitations Of The Durable Subscriber? |
Answer»
|
|