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

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

      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.

        1. server.log
          18 kB
          Joshua Jackson

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

              Created:
              Updated:
              Resolved: