i suppose jboss_ejb3.jar and Jboss_ejb3x.jar all these are included I receive only complains about "activationConfig" from eclipse The attribute activationConfig is undefined for the annotation MessageDriven
I practicaly copied the code from the net I do not see anything else wrong in the code DO I MISSSPELL ??? package com.xxxx.bean; import org.jboss.annotation.ejb.Consumer; import javax.ejb.*; import java.sql.Timestamp; import com.xxxx.beanClient.*; @Consumer(activationConfig = ------------------ { @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"), @ActivationConfigProperty(propertyName="destination", propertyValue="queue/mdpojo") }) public class pojo_message implements message { public void send (String xml, String Meta) { // double result = calculate (start, end, growthrate, saving); // RecordManager.addRecord (new Timestamp(sent), result); System.out.println ("The MD message POJO is invoked "+ Meta +" : "+ xml); } } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926087#3926087 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926087 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user