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…

Read more ...

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”.

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, HTTP, FTP, etc. have created interoperable systems.
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.

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.

Read more ...

500+ Java Interview FAQs

Java & Big Data Tutorials