2 Replies Latest reply on Nov 27, 2008 7:38 AM by aloubyansky

    jboss_5_0.xsd metadata

    aloubyansky

      I'd like to clarify MDB container configuration elements in jboss_5_0.xsd.

      Actually it would be really great if you guys could have a look at the message-driven-beanType and give some feedback, e.g. maybe there is something missing or something is legacy and can be removed (e.g. configuration-name, security-proxy, etc).

      But the first thing I'd like to clarify is activation-config element vs default-activation-config. Pre-JBoss-5 the DTD had only activation-config. In JBoss-5 the XSD now has only the default-activation-config. Could you please tell the difference and whether we need to add activation-config to jboss_5_0.xsd?

      And here, if you can spot other things, is the message-driven-beanType from jboss_5_0.xsd. Thanks.

       <xsd:complexType name="message-driven-beanType">
       <xsd:annotation>
       <xsd:documentation> The message-driven element holds information specific to jboss and not
       declared in ejb-jar.xml about a message-driven bean, such as container configuration and
       resources. The bean should already be declared in ejb-jar.xml, with the same ejb-name.
       </xsd:documentation>
       </xsd:annotation>
      
       <xsd:sequence>
       <xsd:group ref="jboss:descriptionGroup"/>
       <xsd:element name="ejb-name" type="javaee:ejb-nameType"/>
       <xsd:element name="destination-jndi-name" type="jboss:destination-jndi-nameType"
       minOccurs="0"/>
       <xsd:element name="local-jndi-name" type="jboss:local-jndi-nameType" minOccurs="0"/>
       <xsd:element name="jndi-binding-policy" type="jboss:jndi-binding-policyType" minOccurs="0"/>
       <xsd:element name="mdb-user" type="jboss:mdb-userType" minOccurs="0"/>
       <xsd:element name="mdb-passwd" type="jboss:mdb-passwdType" minOccurs="0"/>
       <xsd:element name="mdb-client-id" type="jboss:mdb-client-idType" minOccurs="0"/>
       <xsd:element name="mdb-subscription-id" type="jboss:mdb-subscription-idType" minOccurs="0"/>
       <xsd:element name="resource-adapter-name" type="jboss:resource-adapter-nameType" minOccurs="0"/>
       <xsd:element name="exception-on-rollback" type="xsd:boolean" minOccurs="0"/>
       <xsd:element name="timer-persistence" type="xsd:boolean" minOccurs="0"/>
       <xsd:element name="configuration-name" type="javaee:string" minOccurs="0"/>
       <xsd:element name="invoker-bindings" type="jboss:invoker-bindingsType" minOccurs="0"/>
       <xsd:element name="security-proxy" type="javaee:string" minOccurs="0"/>
      
       <xsd:element name="ejb-ref" type="jboss:ejb-refType" minOccurs="0"
       maxOccurs="unbounded"/>
       <xsd:element name="ejb-local-ref" type="jboss:ejb-local-refType" minOccurs="0"
       maxOccurs="unbounded"/>
       <xsd:element name="service-ref" type="jboss:service-refType" minOccurs="0"
       maxOccurs="unbounded"/>
       <xsd:element name="security-identity" type="jboss:security-identityType" minOccurs="0"/>
       <xsd:element name="resource-ref" type="jboss:resource-refType" minOccurs="0"
       maxOccurs="unbounded"/>
       <xsd:element name="resource-env-ref" type="jboss:resource-env-refType" minOccurs="0"
       maxOccurs="unbounded"/>
       <xsd:element name="message-destination-ref" type="jboss:message-destination-refType"
       minOccurs="0" maxOccurs="unbounded"/>
      
       <xsd:element name="security-identity" type="jboss:security-identityType" minOccurs="0" maxOccurs="1"/>
       <xsd:element name="security-domain" type="jboss:security-domainType" minOccurs="0"/>
       <xsd:element name="method-attributes" type="jboss:method-attributesType" minOccurs="0"/>
       <xsd:element name="depends" type="jboss:dependsType" minOccurs="0" maxOccurs="unbounded"/>
       <xsd:element name="ior-security-config" type="jboss:ior-security-configType" minOccurs="0"/>
       <xsd:element name="ejb-timeout-identity" type="jboss:security-identityType" minOccurs="0" maxOccurs="1"/>
       <xsd:element name="annotation" type="jboss:annotationType" minOccurs="0" maxOccurs="unbounded"/>
       <xsd:element name="ignore-dependency" type="jboss:ignore-dependencyType" minOccurs="0"/>
       <xsd:element name="aop-domain-name" type="jboss:aop-domain-nameType" minOccurs="0"/>
       <xsd:element name="pool-config" type="jboss:pool-configType" minOccurs="0"/>
       <xsd:element name="jndi-ref" type="jboss:jndi-refType" minOccurs="0" maxOccurs="unbounded"/>
       <xsd:element name="activation-config" type="jboss:activation-configType" minOccurs="0"/>
       <xsd:element name="default-activation-config" type="jboss:activation-configType" minOccurs="0"/>
       <xsd:element name="create-destination" type="xsd:boolean" minOccurs="0"/>
       </xsd:sequence>
       <xsd:attribute name="id" type="xsd:ID"/>
       </xsd:complexType>