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 JBoss/WildFly and the fly likes How to listen to remote Topic in MDB 3.0 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 » Products » JBoss/WildFly
Bookmark "How to listen to remote Topic in MDB 3.0" Watch "How to listen to remote Topic in MDB 3.0" New topic
Author

How to listen to remote Topic in MDB 3.0

Nivetha Shri
Greenhorn

Joined: Nov 13, 2008
Posts: 10
Hi All

Am using Jboss-4.2.3GA bundled with EJB-3.0

Am using MDB and I want to listen to a remote topic bound in a different system.

Am using the below specified annotation and it creates a new topic.
Is there any means through which i can specify the ip adresss of the remote system where my topic is bound?

@MessageDriven(name = "Sample", activationConfig = {
@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"),
@ActivationConfigProperty(propertyName = "destination", propertyValue = "topic/MyTopic"),
@ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "AUTO_ACKNOWLEDGE"),
})
@ActivationConfigProperty(propertyName = "messageSelector", propertyValue = "myParameter= 'xxx'")

Also, is there any means through which i can specify the message selector dynamically in MDB?

Any help will be of great use..

Regards
Nivetha
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to listen to remote Topic in MDB 3.0
 
Similar Threads
Singleton MDB in a clustered environment
MESSAGE DRIVEN BEAN LISTENING TO A REMOTE QUEUE.
JBoss and MDB (configuration question)
MDB Listenign to remote queue
messageListenerInterface doubt