adplus-dvertising
frame-decoration

Question

Template which can send and receive JMS messages with much less code

a.

JmsTemplate

b.

EMail

c.

All of the mentioned

d.

None of the mentioned

Answer: (a).JmsTemplate

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Template which can send and receive JMS messages with much less code

Similar Questions

Discover Related MCQs

Q. The template handles the boilerplate tasks for you and also converts the JMS API JMSException hierarchy into Spring runtime exception:-

Q. To address different JMS APIs, Spring provides :-

Q. Before you can send and receive JMS messages, you need to install a JMS message broker:-

Q. There are several types of messages defined in the JMS API, including:-

Q. To send a JMS message with this template, you simply call:-

Q. The MessageCreator interface declares method:-

Q. A JMS template helps you to obtain and release the JMS connection and session.

Q. JMS sender and receiver classes can also extend to retrieve a JMS template:-

Q. When you need access to the JMS template.

Q. Spring provides an implementation of SimpleMessageConvertor to handle the translation of a JMS message received.

Q. By default, the JMS template uses SimpleMessageConverter for converting TextMessage to or from a string.

Q. For your front desk and back office classes, you can send and receive a map using the:-

Q. When you call the receive() method on a JMS message consumer to receive a message.

Q. EJB component which was introduced for asynchronous reception of JMS messages.

Q. MDB must implements interfaces:-

Q. In EJB 3.0, an MDB can be a POJO that implements the MessageListener interface and is annotated with the:-

Q. You create a message listener to listen for JMS messages. This negates the need for the approach taken in BackOfficeImpl in previous recipes.

Q. A message listener must implement the:-

Q. When a JMS message arrives, the onMessage() method will be called with the message as the method argument.

Q. Method to convert MapMessage Object into Spring runtime exception JmsException.