0 Replies Latest reply on Aug 22, 2013 6:31 AM by PrashanthKumar Vuthuru

    The attribute activationConfig is undefined for the annotation type MessageDriven

    PrashanthKumar Vuthuru Newbie

      Am Getting FollowingError When Am Writing MessageDriven Annotation In Jboss 6.


      Am Running This One From Eclipse It's Showing Same Error Becuase of that reason I Compiled From CommandPrompt Then Also Am Getting Same

      Error please Any One Knows About it Tell me Solution


      Thanking you In Advance


      """""""""""""""""The attribute activationConfig is undefined for the annotation type MessageDriven.""""""""""""""""""""""""""""""""""""""""""""""


      import java.io.PrintStream;

      import javax.ejb.MessageDriven;

      import javax.ejb.MessageDrivenContext;

      import javax.jms.JMSException;

      import javax.jms.Message;

      import javax.jms.MessageListener;

      import javax.jms.ObjectMessage;

      import org.jboss.ejb3.annotation.ResourceAdapter;



      @MessageDriven(name="EmailMessageBean", activationConfig={@javax.ejb.ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"), @javax.ejb.ActivationConfigProperty(propertyName="destination", propertyValue="queue/A")})


      public class EmailMessageBean

        implements MessageListener


        //My Logic