MDB Deployment ignores activation-config
----------------------------------------

         Key: JBAS-65
         URL: http://jira.jboss.com/jira/browse/JBAS-65
     Project: JBoss Application Server
        Type: Bug
  Components: EJBs  
    Versions: JBossAS-4.0.1 Final    
 Environment: Sun JVM 5
JBOSS: 4.0.1 RC1
    Reporter: Michael Kopp
 Assigned to: Scott M Stark 


I use ejb-jar.xml with EJB spec 2.1.

Jboss ignores the message-selector on the following MDB:

<message-driven >
 <description><![CDATA[]]></description>

 <ejb-name>TransactionWriterBean</ejb-name>

 <ejb-class>com.ftisoft.streetlamp.ejb.TransactionWriter</ejb-class>

 <messaging-type>javax.jms.MessageListener</messaging-type>
 <transaction-type>Container</transaction-type>
 <message-destination-type>javax.jms.Topic</message-destination-type>
 <activation-config>
   <activation-config-property>
     
<activation-config-property-name>destinationType</activation-config-property-name>
     
<activation-config-property-value>javax.jms.Topic</activation-config-property-value>
   </activation-config-property>
   <activation-config-property>
     
<activation-config-property-name>messageSelector</activation-config-property-name>
     <activation-config-property-value>streetlampWritten &lt;> 
true</activation-config-property-value>
   </activation-config-property>
 </activation-config>

 <resource-ref >
    <res-ref-name>jdbc/HibernateFactory</res-ref-name>
    <res-type>net.sf.hibernate.SessionFactory</res-type>
    <res-auth>Container</res-auth>
 </resource-ref>

</message-driven>

Furthermore I see the following Warnings during deployment:

11:14:34,971 WARN [JMSContainerInvoker] No message-driven-destination given; 
using; guessing type
11:14:35,142 WARN [JMSContainerInvoker] No message-driven-destination given; 
using; guessing type
11:14:35,365 WARN [JMSContainerInvoker] Could not determine destination type, 
defaults to: javax.jms.Topic
11:14:35,691 WARN [JMSContainerInvoker] No message-driven-destination given; 
using; guessing type
11:14:35,717 WARN [JMSContainerInvoker] No message-driven-destination given; 
using; guessing type 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to