Java Reference
In-Depth Information
<bean id="mailListener"
class="" />
ref="mailListener" method="displayMail" />
Actually, you don't need to specify the connection-factory attribute for a listener container
explicitly if your JMS connection factory's name is connectionFactory , which can be located by default.
This chapter explored Spring's support for JMS: how JMS fits in an architecture and how to use Spring to
build message-oriented architectures. You learned how to both produce and consume messages using a
message queue. You worked with Active MQ, a reliable open source message queue. Finally, you learned
how to build message-driven POJOs.
The next chapter will explore Spring integration, which is an ESB-like framework for building
application integration solutions, similar to Mule ESB and ServiceMix. You will be able to leverage the
knowledge gained in this chapter to take your message-oriented applications to new heights with Spring
Search WWH ::

Custom Search