0 Replies Latest reply on Mar 11, 2010 8:05 AM by Leandro Colen

    using javax.resource.cci.MessageListener (public Record onMessage(Record input)

    Leandro Colen Newbie



      I need some guidance in order to deploy a MDB that uses different onMessage method.

      According to EJB specs :

      "The message-driven bean can employ different listener interfaces to consume different message types in addition to JMS".

      I'm trying to use javax.resource.cci.MessageListener method public Record onMessage(Record message).


      Here's the deploy error :


      org.jboss.deployers.spi.DeploymentException: MessagingType 'javax.resource.cci.MessageListener' not found in resource deployment jboss.jca:service=RARDeployment,name='jms-ra.rar'


      Can anyone give me some tips ?