[ http://jira.jboss.com/jira/browse/JBAS-1282?page=comments#action_12315314 ] Michael Kopp commented on JBAS-1282: ------------------------------------
Please see the http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd at line 1391. After the messaging-type element the message-driven-beanType contains: <xsd:element name="transaction-type" type="j2ee:transaction-typeType"/> <xsd:element name="message-destination-type" type="j2ee:message-destination-typeType" minOccurs="0"/> <xsd:element name="message-destination-link" type="j2ee:message-destination-linkType" minOccurs="0"/> <xsd:element name="activation-config" type="j2ee:activation-configType" minOccurs="0"/> There is a message-destination-type element and the annotation verifies that it is to be used to specify the type: java.jmx.Queue or java.jms.Topic Please reopen this feature request. > Fallback to message-destination-type > ------------------------------------ > > Key: JBAS-1282 > URL: http://jira.jboss.com/jira/browse/JBAS-1282 > Project: JBoss Application Server > Type: Feature Request > Components: EJBs > Versions: JBossAS-4.0.1 Final > Environment: Java version: 1.5.0,Sun Microsystems Inc. > Java VM: Java HotSpot(TM) Server VM 1.5.0-b64,Sun Microsystems Inc. > OS-System: Linux 2.4.21-4.EL,i386 > Reporter: Michael Kopp > Assignee: Adrian Brock > Priority: Trivial > > > I have two MDB's that have no activation config. They actually don't need one > as the only relevant information is the destination type which is already > stated in the message-destination-type tag. > Nevertheless I get the following message for these two MDB's: > No message-driven-destination given; using; guessing type > When I add the activation-config this message vanishes. > Therefore I suggest to use the message-destination-type in case the > 'destinationType' property is not present in the activation config (or the > activation config is missing). -- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
