Ready to face interview for Jms Adapter ? Do not worry, we are here to help you with job interview preparation. If you are preparing Jms Adapter interview and not sure which questions are likely asked in interview, we suggest you to go through Wisdomjobs interview questions and answers page to crack your job interview. Jms Adapter is Java™ messaging service (JMS), the standard messaging Java API for sending messages between two or more clients. Organizations use this for communicating between client and server. Java is must for this to implement. Strong technical skills are needed as there is huge competition. Below is the list of frequently asked Jms Adapter interview questions and answers which gets you ready to face the interviews:
Question 1. What Is Difference Between Jms, Aq And Mq?
JMS is Java Message Queue which is open source, AQ is advanced queue which is Oracle standard and MQ is message queue which is IBM standard.
Question 2. Why Jms, Aq And Mq Adapters Are Used?
JMS adapter is used to read/write data from/to JMS queue/topic. AQ adapter is used to deal with AQ and same way MQ adapter is used to interact with MQ.
Question 3. These Adapters Come Under Transactional Or Non-transactional Category?
These adapters come under transactional adapters category as these supports transactions.
Question 4. What Is Difference Between Jms Queue And Topic?
JMS queue is used when we have one to one interaction, consumer put the message to JMS queue but only listener can pick the data from that queue as once that listener pick the data, data get deleted from the queue.
JMS topic is based on publish subscribe model, here multiple listeners/consumer can consume the same message. JMS topic is used when we need to transfer same data to multiple places.
Question 5. What All Operations We Can Perform With Jms Adapter?
We can perform following operations with JMS adapter.
Question 6. What Is Message Selector Property?
When we read the data from JMS queue/topic based upon some condition then this property is used. E.g. we use same queue to store different types of message so in one flow we need to pick only Sales Order information so in sales order composite we use message selector property to pick only that record.
Question 7. Can We Add Custom Header Properties To Jms Header While Sending Message To Jms Queue/topic?
Yes, we can do that.
Question 8. Can We Read Custom Header Properties?
Yes, we can read custom header properties from JMS queue/topic by specifying the property name that we want to read.
Question 9. What Is Connection Factory?
A connection factory is an object that a JMS client uses to create a connection with a JMS provider. We use connection factory in SOA suite tool to connect to server where JMS queue/topic created.
Question 10. Do We Always Need To Create Connection Factory?
No, you need to create only when you need to specify custom properties otherwise you can use default connection factories.
Question 11. What Is Persistent Store?
The persistent store provides a built-in, high-performance storage solution for WebLogic Server subsystems and services that require persistence. For example, it can store persistent JMS messages or temporarily store messages sent using the Store-and-Forward feature. The persistent store supports persistence to a file-based store or to a JDBC-enabled database.
Question 12. How We Can Do Retry Once Message Roll Back To Jms Queue?
We have “Deliver Failure” tab in JMS queue where we can set properties to do retry after certain intervals.
Question 13. What Parameters We Need To Set In Delivery Failure Tab?
We need to set following parameters.
Redelivery Delay Override: Time interval between retries. It is in milliseconds.
Redelivery Limit: number of retries
Redirect: redirect message to different queue.
Log: log the message.
Discard: discard message and it will be lost.
Error Destination: If you choose “Redirect” then chooses the queue to which you want to redirect message.
Question 14. Which Property We Need To Use To Control Number Of Message Processed From Mq At One Time?
We need to use Inbound Thread Count property to control number of messages which MQ adapter pick from MQ.
Question 15. Which Property We Need To Use With Singleton Property To Process The Message In Sequential Order For Aq?
We need to set activtionInstances=1 along with singleton property for AQ adapter in cluster environment to process message in sequential order.
Question 16. Can We Set Polling Frequency For Aq And Mq Adapters?
No, we can’t set polling frequencies for AQ and MQ adapters as both 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?
We use singleton property in composite.xml file.
JMS Adapter Related Tutorials
|Web Services Tutorial||J2EE Tutorial|
|Hibernate Tutorial||Spring MVC Framework Tutorial|
JMS Adapter Related Interview Questions
|Web Services Interview Questions||J2EE Interview Questions|
|FTP Script Interview Questions||Oracle SOA Interview Questions|
|Oracle SOA suit 11g Interview Questions||JMS(Java Message Service) Interview Questions|
|Hibernate Interview Questions||Web Methods Interview Questions|
|IBM WebSphere MQ Interview Questions||Spring MVC Framework Interview Questions|
|Java 9 Interview Questions||RabbitMQ Interview Questions|
|Tibco Adapters Interview Questions|
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.