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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBossAS-5.0.0.GA
    • JBossAS-5.0.0.CR2
    • JCA service
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              adrian.brock Adrian Brock (Inactive)
              tdiesler@redhat.com Thomas Diesler
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: