The following testcase works fine for me:

  | package org.jboss.test.cts.ejb;
  | 
  | import javax.ejb.MessageDrivenBean;
  | import javax.ejb.MessageDrivenContext;
  | import javax.jms.MessageListener;
  | import javax.jms.Message;
  | import javax.jms.TextMessage;
  | 
  | /** Test of signature validation across inheritence hiearchy
  |  * 
  |  * @author [EMAIL PROTECTED]
  |  * @version $Revision:$
  |  */
  | public abstract class AbstractMDB implements MessageListener, 
MessageDrivenBean
  | {
  |    public void onMessage(Message message)
  |    {
  |       if( message instanceof TextMessage )
  |       {
  |          TextMessage tm = (TextMessage) message;
  |          onTextMessage(tm);
  |       }
  |    }
  | 
  |    public void setMessageDrivenContext(MessageDrivenContext ctx)
  |    {  
  |    }
  | 
  |    public void ejbCreate()
  |    {
  |    }
  | 
  |    public void ejbRemove()
  |    {
  |    }
  | 
  |    public abstract void onTextMessage(TextMessage tm);
  | }
  | 


  | package org.jboss.test.cts.ejb;
  | 
  | import javax.jms.TextMessage;
  | 
  | /**
  |  * @author [EMAIL PROTECTED]
  |  * @version $Revision:$
  |  */
  | public class ConcreteMDB extends AbstractMDB
  | {
  |    public void onTextMessage(TextMessage tm)
  |    {
  |       System.out.println("ConcreteMDB: "+tm);
  |    }
  | }
  | 

Submit a bug report with an example that is failing to:
http://jira.jboss.com/jira/browse/JBAS


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859853#3859853

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859853


-------------------------------------------------------
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-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to