Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5114

MessageDriven EJB3 does not create destination automatically

    Details

      Description

      When deploying this bean

      @MessageDriven(activationConfig =

      { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/RequestQueue") }

      )
      public class OrganizationJMSEndpoint extends JMSTransportSupportEJB3
      {
      // provide logging
      private static final Logger log = Logger.getLogger(OrganizationJMSEndpoint.class);

      @WebMethod
      public String getContactInfo(String organization) throws RemoteException

      { log.info("getContactInfo: " + organization); return "The '" + organization + "' boss is currently out of office, please call again."; }

      }

      the RequestQueue is not create automatically. This works in jboss-4.2.3

      Please see related issue for test details.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  adrian.brock Adrian Brock
                  Reporter:
                  thomas.diesler Thomas Diesler
                • Votes:
                  2 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: