geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ardf69 <ard...@gmail.com>
Subject Re: JCA and MDB
Date Mon, 22 Jun 2009 13:24:11 GMT

Hi all,
I did some more checks and I found something really strange. I tried to read
the file config.ser in the META-INF for the ear and I found:

<xml-fragment version="2.1" id="ejb-jar_ID" metadata-complete="true"
xmlns:jav="http://java.sun.com/xml/ns/javaee">
  <jav:display-name>UBQ_JSR212_EJB_Frontend</jav:display-name>
  <jav:enterprise-beans>
    <jav:message-driven id="UBQ_JSR212_EJB_Frontend.jar/FrontendMDB">
      <jav:ejb-name>FrontendMDB</jav:ejb-name>
      <jav:ejb-class>it.ubiquity.sams.jms.FrontendBean</jav:ejb-class>
      <jav:messaging-type>javax.jms.MessageListener</jav:messaging-type>
      <jav:transaction-type>Container</jav:transaction-type>
     
<jav:message-destination-type>javax.jms.Queue</jav:message-destination-type>
      <jav:activation-config>
        <jav:activation-config-property>
         
<jav:activation-config-property-name>queuePrefix</jav:activation-config-property-name>
         
<jav:activation-config-property-value>f</jav:activation-config-property-value>
        </jav:activation-config-property>
        <jav:activation-config-property>
         
<jav:activation-config-property-name>destination</jav:activation-config-property-name>
         
<jav:activation-config-property-value>UBQ_JSR212_EJB_Frontend.jar/FrontendMDB</jav:activation-config-property-value>
        </jav:activation-config-property>
        <jav:activation-config-property>
         
<jav:activation-config-property-name>destinationType</jav:activation-config-property-name>
         
<jav:activation-config-property-value>javax.jms.Queue</jav:activation-config-property-value>
        </jav:activation-config-property>
      </jav:activation-config>
    </jav:message-driven>
  </jav:enterprise-beans>
  <jav:assembly-descriptor>
    <jav:container-transaction>
      <jav:method>
        <jav:ejb-name>FrontendMDB</jav:ejb-name>
        <jav:method-name>*</jav:method-name>
      </jav:method>
      <jav:trans-attribute>NotSupported</jav:trans-attribute>
    </jav:container-transaction>
    <jav:exclude-list/>
  </jav:assembly-descriptor>
</xml-fragment>

but in the ejb-jar.xml I didn't set the tags message-destination-type and
the activation-configs destination and destinationType. To me this seems to
be a bug!!!!
Can you confirm this?

Ciao Angelo
-- 
View this message in context: http://www.nabble.com/JCA-and-MDB-tp24106976s134p24147183.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message