adplus-dvertising
frame-decoration

Question

If you have a transaction requirement in receiving messages, you have to use:-

a.

SimpleMessageListenerContainer

b.

DefaultMessageListenerContainer

c.

All of the mentioned

d.

None of the mentioned

Posted under Java Spring Framework

Answer: (b).DefaultMessageListenerContainer

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If you have a transaction requirement in receiving messages, you have to use:-

Similar Questions

Discover Related MCQs

Q. You have to set the delegate property of MessageListenerAdapter to your target bean.

Q. Using Spring JMS support with a very simple instance of:-

Q. ActiveMQ, provides only one pooled connection factory class alternative.

Q. It caches consumers correctly, or use Spring ConnectionFactory implementations.

Q. Implementation which returns the same underlying JMS connection each time (which is thread-safe according to the JMS API) and ignores calls to the close() method.

Q. Integration of Spring which has each application produce files of shared data for others to consume.

Q. Integration of Spring which has the applications store the data they want to share in a common database.

Q. Integration of Spring which has each application expose some of its procedures so that they can be invoked remotely and have applications invoke them to initiate behavior and exchange data.

Q. Integration of Spring which has each application connect to a common messaging system and exchange data and invoke behavior using messages.

Q. Using an ESB lets you hide the origin of the message from the code that’s handling it.

Q. As with a standard MDP, a configuration for the ConnectionFactory exists.

Q. The configuration starts with the inboundHelloJMSMessageChannel channel, which tells Spring Integration what to name the point-to-point connection from the message queue to the:-

Q. An adapter is a component that knows how to speak to a specific type of subsystem and translate messages on that subsystem into something that can be used in the Spring Integration bus only.

Q. A service-activator, however, only helps you invoke your application’s business logic on receipt of a message.

Q. The next component, a service-activator, listens for messages coming into that channel and invokes the bean referenced by the:-

Q. Headers Found in Spring Integration Messages:-

Q. Some header values are specific to the type of the source message payload.

Q. Component-specific headers are the constants defined for files on:-

Q. Annotation to get access to header metadata:-

Q. The code for the service-activator has changed to reflect the fact that you’re expecting a message containing a message of type:-