Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-210

Errors from artemis and jms-client during test

XMLWordPrintable

    • Hide

      Broker:
      Startup script for artemis:
      https://github.com/grs/quilt/blob/master/artemis/run_artemis.sh

      It basically starting artemis on a given port with the queue 'amqp-test' and address 'amqp-test'.

      Receiver:
      Using qpid-proton/examples/java/messenger (master branch) as receiver:

      ./recv -a amqp://localhost:5672/amqp-test -n 0

      Sender:
      Download https://github.com/rhiot/iot-spec and modify https://github.com/rhiot/iot-spec/blob/master/src/main/java/io/rhiot/spec/transport/QpidJMSTransport.java#L110 to use NON_PERSISTENT delivery mode. It might fail with defaults as well.

      After buildling, invoked like this: for i in `seq 1 10`; do java -jar target/iot-spec-1.0-SNAPSHOT.jar -c src/main/resources/test-amqp.yaml; done

      The contents of src/main/resources/test-amqp.yaml:

      name: example
      duration: 70000

      devices:

      • name: sensor
        size: 1
        driver:
        type: amqp-telemetry-device
        brokerURL: amqp://localhost:5672
        delay: 0
        dataDestination: 'amqp-test'
      Show
      Broker: Startup script for artemis: https://github.com/grs/quilt/blob/master/artemis/run_artemis.sh It basically starting artemis on a given port with the queue 'amqp-test' and address 'amqp-test'. Receiver: Using qpid-proton/examples/java/messenger (master branch) as receiver: ./recv -a amqp://localhost:5672/amqp-test -n 0 Sender: Download https://github.com/rhiot/iot-spec and modify https://github.com/rhiot/iot-spec/blob/master/src/main/java/io/rhiot/spec/transport/QpidJMSTransport.java#L110 to use NON_PERSISTENT delivery mode. It might fail with defaults as well. After buildling, invoked like this: for i in `seq 1 10`; do java -jar target/iot-spec-1.0-SNAPSHOT.jar -c src/main/resources/test-amqp.yaml; done The contents of src/main/resources/test-amqp.yaml: name: example duration: 70000 devices: name: sensor size: 1 driver: type: amqp-telemetry-device brokerURL: amqp://localhost:5672 delay: 0 dataDestination: 'amqp-test'
    • AMQ 7.0.2 sprint 1

      I have a setup with 1 sender client, 1 artemis broker and 2 receiver clients. My goals was to get an idea of artemis throughput.

      The sender client is a qpid JMS client run through a test tool called 'iot-spec'. Message size is 32 bytes. The sender sends messages continously, and the receiver clients receives them.

      The sender client uses DeliveryMode.NON_PERSISTENT.

      When running the client 10 times for 60 seconds, somehow one of the runs will give these errors. Error logs for Artemis and the sender are attached.

      Artemis version A-MQ 7.0.0
      Qpid JMS: 0.7.0

        1. artemis_error_3.log
          97 kB
        2. artemis_errors_2.log
          99 kB
        3. artemis_errors.log
          53 kB
        4. qpid_jms.log
          3 kB

              mtaylor1@redhat.com Martyn Taylor (Inactive)
              lulf@redhat.com Ulf Lilleengen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: