YouTube Icon

Interview Questions.

Top 17 Jms Adapter Interview Questions - Jul 26, 2022

fluid

Top 17 Jms Adapter Interview Questions

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

We use singleton belongings in composite.Xml record.

Q2. What All Operations We Can Perform With Jms Adapter?

We can perform following operations with JMS adapter.

Read

Write

Sync Read & Write

Q3. Can We Set Polling Frequency For Aq And Mq Adapters?

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

Q4. What Is Difference Between Jms, Aq And Mq?

JMS is Java Message Queue which is open supply, AQ is advanced queue that's Oracle wellknown and MQ is message queue that's IBM preferred.

Q5. Can We Add Custom Header Properties To Jms Header While Sending Message To Jms Queue/topic?

Yes, we can do this.

Q6. Do We Always Need To Create Connection Factory?

No, you want to create only while you want to specify custom residences otherwise you may use default connection factories.

Q7. These Adapters Come Under Tractional Or Non-tractional Category?

These adapters come below tractional adapters class as those supports tractions.

Q8. What Is Persistent Store?

The continual store gives a integrated, excessive-overall performance garage solution for WebLogic Server subsystems and services that require staying power. For example, it is able to keep chronic JMS messages or briefly save messages despatched the use of the Store-and-Forward feature. The chronic keep supports staying power to a report-based totally keep or to a JDBC-enabled database.

Q9. Can We Read Custom Header Properties?

Yes, we can read custom header homes from JMS queue/subject matter with the aid of specifying the assets call that we want to study.

Q10. What Is Difference Between Jms Queue And Topic?

JMS queue is used when we've one to 1 interaction, client put the message to JMS queue however most effective listener can pick out the records from that queue as as soon as that listener choose the facts, statistics get deleted from the queue.

JMS topic is primarily based on submit subscribe version, right here multiple listeners/patron can devour the same message. JMS subject matter is used while we need to trfer same records to more than one locations.

Q11. What Is Message Selector Property?

When we examine the records from JMS queue/subject matter primarily based upon a few situation then this assets is used. E.G. We use same queue to store exclusive sorts of message so in a single drift we need to select handiest Sales Order information so in sales order composite we use message selector property to pick out simplest that record.

Q12. How We Can Do Retry Once Message Roll Back To Jms Queue?

We have “Deliver Failure” tab in JMS queue wherein we can set residences to do retry after positive periods.

Q13. Why Jms, Aq And Mq Adapters Are Used?

JMS adapter is used to read/write records from/to JMS queue/subject matter. AQ adapter is used to cope with AQ and equal way MQ adapter is used to engage with MQ.

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

We need to set activtionInstances=1 in conjunction with singleton belongings for AQ adapter in cluster environment to procedure message in sequential order.

Q15. What Parameters We Need To Set In Delivery Failure Tab?

We want to set following parameters.

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

Redelivery Limit: quantity of retries

Expiration Policy:

Redirect: redirect message to different 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 which you need to redirect message.

Q16. What Is Connection Factory?

A connection manufacturing facility is an item that a JMS patron makes use of to create a reference to a JMS provider. We use connection manufacturing facility in SOA suite device to hook up with server where JMS queue/subject matter created.

Q17. Which Property We Need To Use To Control Number Of Message Processed From Mq At One Time?

We want to use Inbound Thread Count assets to control range of messages which MQ adapter pick out from MQ.




CFG