File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MESSAGE DRIVEN BEAN LISTENING TO A REMOTE QUEUE.

 
Steven Rodeo
Ranch Hand
Posts: 72
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic