YouTube Icon

Interview Questions.

Top 100+ Jms Adapter Interview Questions And Answers - May 31, 2020

fluid

Top 100+ Jms Adapter Interview Questions And Answers

Question 1. What Is Difference Between Jms, Aq And Mq?

Answer :

JMS is Java Message Queue which is open source, AQ is superior queue that is Oracle fashionable and MQ is message queue that is IBM wellknown.

Question 2. Why Jms, Aq And Mq Adapters Are Used?

Answer :

JMS adapter is used to study/write records from/to JMS queue/topic. AQ adapter is used to deal with AQ and equal way MQ adapter is used to engage with MQ.

Web Services Interview Questions
Question three. These Adapters Come Under Transactional Or Non-transactional Category?

Answer :

These adapters come under transactional adapters class as those helps transactions.

Question four. What Is Difference Between Jms Queue And Topic?

Answer :

JMS queue is used when we have one to at least one interaction, patron put the message to JMS queue but most effective listener can select the statistics from that queue as once that listener select the statistics, facts get deleted from the queue.

JMS topic is based totally on publish subscribe model, right here multiple listeners/customer can eat the same message. JMS topic is used while we need to switch same data to multiple places.

Web Services Tutorial
Question five. What All Operations We Can Perform With Jms Adapter?

Answer :

We can carry out following operations with JMS adapter.

Read
Write
Sync Read & Write
J2EE Interview Questions
Question 6. What Is Message Selector Property?

Answer :

When we read the facts from JMS queue/topic primarily based upon some situation then this property is used. E.G. We use same queue to store distinctive types of message so in a single go with the flow we need to select simplest Sales Order records so in sales order composite we use message selector property to choose only that document.

Question 7. Can We Add Custom Header Properties To Jms Header While Sending Message To Jms Queue/subject matter?

Answer :

Yes, we can do that.

J2EE Tutorial FTP Script Interview Questions
Question 8. Can We Read Custom Header Properties?

Answer :

Yes, we can read custom header residences from JMS queue/topic by way of specifying the assets name that we want to read.

Question 9. What Is Connection Factory?

Answer :

A connection manufacturing facility is an object that a JMS purchaser uses to create a connection with a JMS company. We use connection manufacturing facility in SOA suite device to connect to server in which JMS queue/subject matter created.

Oracle SOA Interview Questions
Question 10. Do We Always Need To Create Connection Factory?

Answer :

No, you need to create most effective whilst you need to specify custom residences otherwise you could use default connection factories.

Hibernate Tutorial
Question 11. What Is Persistent Store?

Answer :

The chronic shop gives a built-in, excessive-performance garage answer for WebLogic Server subsystems and offerings that require persistence. For instance, it could shop persistent JMS messages or briefly shop messages sent using the Store-and-Forward characteristic. The persistent shop supports endurance to a file-primarily based save or to a JDBC-enabled database.

Oracle SOA fit 11g Interview Questions
Question 12. How We Can Do Retry Once Message Roll Back To Jms Queue?

Answer :

We have “Deliver Failure” tab in JMS queue in which we can set homes to do retry after sure durations.

Web Services Interview Questions
Question 13. What Parameters We Need To Set In Delivery Failure Tab?

Answer :

We want to set following parameters.

Redelivery Delay Override: Time c program languageperiod between retries. It is in milliseconds.

Redelivery Limit: wide variety of retries

Expiration Policy:

Redirect: redirect message to unique queue.

Log: log the message.

Discard: discard message and it is going to be misplaced.

Error Destination: If you pick out “Redirect” then chooses the queue to that you need to redirect message.

Spring MVC Framework Tutorial
Question 14. Which Property We Need To Use To Control Number Of Message Processed From Mq At One Time?

Answer :

We need to use Inbound Thread Count property to manipulate quantity of messages which MQ adapter pick out from MQ.

Question 15. Which Property We Need To Use With Singleton Property To Process The Message In Sequential Order For Aq?

Answer :

We want to set activtionInstances=1 at the side of singleton property for AQ adapter in cluster environment to system message in sequential order.

JMS(Java Message Service) Interview Questions
Question 16. Can We Set Polling Frequency For Aq And Mq Adapters?

Answer :

No, we will’t set polling frequencies for AQ and MQ adapters as each the adapters are event driven.

Question 17. Which Property We Have To Use To Process Jms, Aq Or Mq Messages On One Node In Cluster Environment?

Answer :

We use singleton assets in composite.Xml file.

Hibernate Interview Questions




CFG