[jboss-dev-forums] [Design of EJB 3.0] - Re: Creating (JMS) Destinations automatically for MDBs

adrian@jboss.org do-not-reply at jboss.com
Fri Oct 3 09:57:54 EDT 2008


"wolfc" wrote : Isn't this just an activation config property?

No, but it could be if the rar supports the feature natively.
This feature is a JBoss value add on if the rar doesn't support it.

i.e. our generic jms rar can't support it because it doesn't know
the api for different jms backends.

Somebody could also write a version of the deployer/bean for WSMQ
using whatever admin api WSMQ provides.
I'm just going to provide the JBoss Messaing version.

All that's required within the EJB3 layer (beyond what has already
been done in the xml) is being able to annotate the
message driven bean to trigger the behaviour with something like:


  | @org.jboss.ejb3.annotations.CreateDestination
  | public class MyMDB extends ...
  | 

So what needs doing to handle that, i.e. scan the mdb for the annotation and update the 
new metadata.

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

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



More information about the jboss-dev-forums mailing list