• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

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

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic