Blog Archives

16 FAQ JMS interview Q&As

Q1. What types of messaging paradigms are provided by JMS? A1. Point-to-Point: provides a traditional queue based mechanism where the client application sends a message through a queue to typically one receiving client that receives messages sequentially. A JMS message queue is an administered object that represents the message destination...



Configuring JMS with Java Config for sending & receiving messages

Step 1: The bare-bone Spring Java configuration Step 2: How to connect? Configuring the “ConnectionFactory”. Step 3: What destination to use? Configure the destination. E.g. Topic Step 4: The JMsTemplate that uses both the “ConnectionFactory” … Read more ›...



JMS versus AMQP, Enterprise Integration Patterns (EIP), and Spring Integration versus Apache Camel

Q. Why do you need AMQP when there is JMS?
A. AMQP stands for Advanced Message Queuing Protocol, and was developed to address the problem of interoperability by creating a standard for how messages should be structured and transmitted between platforms the same way as SMTP,

Read more ›



Spring JMS with Websphere MQ – configuring and sending messages

Messaging systems are used in enterprise applications for scalability. Here is some sample code that compliments JMS interview questions and answers. JMS configuration Step 1: Add the relevant dependency jars to the pom.xml file. Note that the “com.ibm.mq.allclient.jar” is a third-party i.e. … Read more ›...



Spring JMS with Websphere MQ Listener (Receiver or Subscriber)

This is the continuation Spring JMS with Websphere MQ

Step 1: Write a listener class to receive the message by invoking the onMessage(Message message) method.

Step 2 :  Configure the Spring container and bootstrap the MyListener 

Read more ›



800+ Java Interview Q&As

Java & Big Data Tutorials

Top