File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes MESSAGE DRIVEN BEAN LISTENING TO A REMOTE QUEUE. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "MESSAGE DRIVEN BEAN LISTENING TO A REMOTE QUEUE." Watch "MESSAGE DRIVEN BEAN LISTENING TO A REMOTE QUEUE." New topic
Author

MESSAGE DRIVEN BEAN LISTENING TO A REMOTE QUEUE.

Steven Rodeo
Ranch Hand

Joined: Mar 06, 2008
Posts: 72
I know i am doomed, but I am running an MDB on a glassfish, listening to a Remote Message Q ( SUNMQ 4.1 ) running on a remote host.

Do I need all the following attributes ?, I mean is it mandatory for me to mention the connectionFactoryJNDIName ?.

@MessageDriven(
activationConfig = {
@ActivationConfigProperty(propertyName="connectionFactoryJndiName",propertyValue="jms/TopicConnectionFactory"),
@ActivationConfigProperty(propertyName="destinationName",
propertyValue="jms/demoTopic"),
@ActivationConfigProperty(propertyName="destinationType",propertyValue="javax.jms.Topic"),
@ActivationConfigProperty(propertyName="messageSelector",propertyValue="RECIPIENT = 'MDB'") } )
public class MessageLogger implements TimedObject {

_SM
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MESSAGE DRIVEN BEAN LISTENING TO A REMOTE QUEUE.
 
Similar Threads
use MDB to perform dequeue on Oracle AQ
How to listen to remote Topic in MDB 3.0
Who creates destination Queueor Topic
MDB Listenign to remote queue
javax.transaction.RollbackException in jboss 6