File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Specifying my MDB's destination to a message destination reference instead of a JNDI queue

 
Kevin Halk
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I'm wondering if when I specify the destination that my MDB listens on, can I specify a message destination reference instead of an actual JNDI location for a Queue?

I realize that 'destination' is a required attribute for the MDB, hoewever I can't figure out how to get it to point to a reference instead of a JNDI location. I have had some success using this for regular Queues etc.. by using the @Resource(name=... instead of @Resource(mappedName=.... however the only property I can specify is 'destination' for my MDB to listen on and it seems to be behaving according to 'mappedName'.

I'm using EJB3 with JBoss 5.1

 
Jack Stevens
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kevin,

I realize this post is a year old so I was wondering if you were able to configure your destination value as such to allow for multiple queue values. Any insight is much appreciated.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic