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

30secs delay on consumer.receive() in spite of shorter timeout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 10.1.0.CR1, 10.1.0.Final
    • 10.0.0.Final
    • JMS
    • None
    • Hide
      1. Start WildFly 10.0.0.Final instance with standalone-full.xml
      2. mvn clean test -Dtest=ArtemisHornetQClientTest

      You'll see receive() is blocked 30secs in spite of 1000ms is specified as a timeout. If it doesn't happen, restart WildFly instance and try again. It's 80% reproducible on my machine.

      Show
      Start WildFly 10.0.0.Final instance with standalone-full.xml mvn clean test -Dtest=ArtemisHornetQClientTest You'll see receive() is blocked 30secs in spite of 1000ms is specified as a timeout. If it doesn't happen, restart WildFly instance and try again. It's 80% reproducible on my machine.

      consumer.receive() is blocked 30secs even if shorter timeout is specified. Attached a maven project including testcases.
      The ArtemisStandaloneTest do same against embedded server, but this in contrast works fine. So the issue seems to happen only on WildFly via http upgrade connection.

        1. artemis-hornetq-client.tgz
          13 kB
          Jeff Mesnil
        2. artemis-hornetq-client.tgz
          12 kB
          Jeff Mesnil
        3. artemis-hornetq-client.tgz
          4 kB
          Tomo Igarashi

              jmesnil1@redhat.com Jeff Mesnil
              toigaras@redhat.com Tomo Igarashi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: