This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes can MDB used for Topic listening? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "can MDB used for Topic listening? " Watch "can MDB used for Topic listening? " New topic
Author

can MDB used for Topic listening?

yamini nadella
Ranch Hand

Joined: Apr 13, 2004
Posts: 257
is Message Driver beans are used only for Queue listening or they can be used to listen Topics also?
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2921
    
    5
Yes, an MDB can listen to a topic.

Enterprise JavaBeans Specification, Version 2.0
15.1 Overview

A client accesses a message-driven bean through JMS by sending messages to the JMS Destination (Queue or Topic) for which the message-driven bean class is the MessageListener.


See Chapter 15 Message-driven Bean Component Contract of the specification for the gory details.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can MDB used for Topic listening?
 
Similar Threads
problem with creating virual hosts
can MDB used for Topic listening?
Security in Datagrams
B&S: Close Registry
Cookies not persistent ... how can it be?