Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9762

JMS message is not received when using a non-transactional JMSConnectionFactoryDefinition

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 15.0.0.Beta1, 15.0.0.Final
    • None
    • None
    • None
    • Hide

      1-Deploy attached reproducer WAR.
      2-Access http://localhost:8080/jms-jms-nonxa-jsf-1.0-SNAPSHOT/index.xhtml and click on "Test" button.
      3-Check logs to see a message like:

      Message received (async): Hello...
      

      Message won't be written in log.
      Expected: message should be written (MDB should receive the message).

      Show
      1-Deploy attached reproducer WAR. 2-Access http://localhost:8080/jms-jms-nonxa-jsf-1.0-SNAPSHOT/index.xhtml and click on "Test" button. 3-Check logs to see a message like: Message received (async): Hello... Message won't be written in log. Expected: message should be written (MDB should receive the message).

    Description

      When using a JMSConnectionFactoryDefinition annotation, and specifying a non transactional connection factory, message is not being sent (or at least received by MDB). Example:

      @JMSConnectionFactoryDefinitions(
          value = {
              @JMSConnectionFactoryDefinition(
                  name = "java:app/jms/nonXAconnectionFactorySample",
                  transactional = false, 
                   properties = {
                   "connectors=in-vm",}
              )
          }
      )
      

      When using an MDB message isn't received. Removing "transactional" attribute makes it work again.

      Attachments

        Issue Links

          Activity

            People

              jondruse@redhat.com Jiri Ondrusek
              jondruse@redhat.com Jiri Ondrusek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: