Sorry if it's the wrong place for posting this.
I'm working on a JCA 1.5 connector for using a messaging system.
But I don't want to publish incoming messaging on a JMS queue or Topic.
I use a 2.1 MDB for my tests.
Because it's 2.1, my MDB descriptor (in the <message-driven> tag) don't need this:
<message-driven-destination>
<destination-type></destination-type>
</message-driven-destination>
but it needs this:
<message-destination-type></message-destination-type>
But I was having this error on my server.log:
19:31:28,597 WARN [JMSContainerInvoker] No message-driven-destination given; using;
guessing type
19:31:28,597 WARN [JMSContainerInvoker] Could not determine destination type,
defaults to: javax.jms.Topic
I took a look at the sources, and in
org.jboss.metadata.MessageDrivenMetaData.java
line 298, i found
Element destination = getOptionalChild(element, "message-driven-destination");
wich is bad because there is no more such tag in 2.1 EJB deployer xml-schema.
(http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd).
So am I mistaken or is there really a bug?
Thanks
--
Mansuy
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850106#3850106
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850106
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development