Thanks Scott. I looked at the source code and figured out the fact that 
local-jndi-name has to be specified. I think this is the best way to handle 
this.

On a side note what I did before doing the local-jndi-name is using a bit of 
the JMX notifications that are fired in JBoss to handle this dependency 
locally. Basically at MBean deployment time (start() method being called) the 
MDB is checked if it was deployed, if not I subscribe to the 'service started' 
JMX notification and when the MDB gets deployed the code in the start() method 
of the MBean is executed. I would not recommend this method necessarily since 
the specifying of the local-jndi-name is easier and reuses the JBoss dependency 
resolver but it could be used for some other cases.

Florian

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882984#3882984

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882984


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to