This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes a question about JMS + MDB.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "a question about JMS + MDB.." Watch "a question about JMS + MDB.." New topic
Author

a question about JMS + MDB..

Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
Hi guys. I have a standalone application that publishes messages to a topic. I'm using OpenJMS. I have another java application that connects to the JMS and retrieves the messages.
Now I'm trying to migrate the application to the J2EE environment, using Message Driven Beans (MDB). The question is:
1o.)if I'm publishing 1 message to a topic and the topic has many subscribers, how do I know how many subscribers there are? I need to get information about a subscriber (the mobile number) and send an SMS message to them, but I'm not quite sure how the OnMessage method of the MDB works..
any ideas..


I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a question about JMS + MDB..
 
Similar Threads
question about durable JMS subscription.
Help on Topic in JMS
Pending Messages
JMS Topic Multiple Subscribers Question!!!
Need messge to be consumed once by MDB deployed in a glassfish cluster?