Right now I'd settle for understanding what's wrong and hearing either 
confirmation that there is a bug in 4.0.2 or an example of a workaround for it. 
 

Even this doesn't work:

  | public class SubscriberTxBean 
  |     implements MessageDrivenBean, MessageListener
  | {
  |     private static Logger logger = 
Logger.getLogger(SubscriberTxBean.class.getName());
  |     private static final String subscriberName = "local/SubscriberTxBean";
  | 
  |     String getSubscriberName()
  |     {
  |         return subscriberName;
  |     }
  | 
  |     public void setMessageDrivenContext(
  |         MessageDrivenContext messageDrivenContext) throws EJBException {    
}
  | 
  |     public void ejbRemove() {    }
  | 
  |     public void onMessage(Message message) {
  |         logger.info("Processing message!");
  |     }
  | 
  |     public void ejbCreate() {}
  | 
  |     String getBinding()
  |     {
  |         return "singleton-message-driven-bean";
  |     }
  | 

anonymous wrote : 12:19:19,486 WARN  [verifier] EJB spec violation:
  | Bean   : SubscriberTxBean
  | Section: 15.7.4
  | Warning: The message driven bean must declare one onMessage() method.
  | 


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

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


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to