| Author |
Specifying my MDB's destination to a message destination reference instead of a JNDI queue
|
Kevin Halk
Greenhorn
Joined: Feb 09, 2010
Posts: 10
|
|
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
Joined: Jan 12, 2012
Posts: 2
|
|
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.
|
 |
 |
|
|
subject: Specifying my MDB's destination to a message destination reference instead of a JNDI queue
|
|
|