Hello there! I've just created my first MDB using xdoclet annotations.
It seems that it is not creating jboss.xml properly. Here's some
snippets:
MDB annotation:
/**
* @ejb.bean name="ImportacaoVidasMDB"
* display-name="Name for ImportacaoVidasMDB"
* description="Description for ImportacaoVidasMDB"
* acknowledge-mode="Auto-acknowledge"
* destination-type="javax.jms.Queue"
* destination-jndi-name = "queue/importacaoVidas"
*/
ejb-jar.xml:
<message-driven >
<description><![CDATA[Description for
ImportacaoVidasMDB]]></description>
<display-name>Name for ImportacaoVidasMDB</display-name>
<ejb-name>ImportacaoVidasMDB</ejb-name>
<ejb-class>com.xxx.business.administrarvida.ejb.ImportacaoVidasMDB</ejb-class>
<transaction-type>Container</transaction-type>
<acknowledge-mode>Auto-acknowledge</acknowledge-mode>
<message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
</message-driven-destination>
</message-driven>
jboss.xml
<message-driven>
<ejb-name>ImportacaoVidasMDB</ejb-name>
<destination-jndi-name></destination-jndi-name>
</message-driven>
As you can see it is not setting the destination-jndi-name hence, the
deploy fails. Is this a bug of this version?
Thanks
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user