[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: AS 5 profiles must have empty configuration, Java EE exa

clebert.suconic@jboss.com do-not-reply at jboss.com
Mon Apr 27 09:08:28 EDT 2009


I meant to say.. "it would be better" instead of "it doesn't work"

We need the destinations deployed before the EAR is installed.

Just an idea that would be exclusive for JBAS users.

Why we don't provide the user the possibility of also deploying Beans that will deploy destinations.

The user would be able to specify a XML like:


  |    <bean name="DestinationA" class="org.jboss.CreateDestination">
  |       <constructor>
  |          <parameter>
  |             <inject bean="MessaginServer"/>
  |          </parameter>
  |          <parameter>Topic
  |          </parameter>
  |          <parameter>Destination
  |          </parameter>
  |    </bean>


That would be really easy to do. Even the user could develop its own bean for that... so why not creating a standard way of doing it?

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

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



More information about the jboss-dev-forums mailing list