{
    "_tests":[
    {
      "_name": "Acknowledgement Modes - NON_PERSISTENT";
      "_iterations":[
        {
          "_messageSize": 1024,
          "_maximumDuration": 30000,
          "_acknowledgeMode": 1,
          "_deliveryMode": 1
        },
        {
          "_messageSize": 1024,
          "_maximumDuration": 30000,
          "_acknowledgeMode": 0,
          "_deliveryMode": 1
        }
      ],
      "_queues":[
        {
          "_name": "direct://amq.direct//testQueue",
          "_attributes":
            {
              "x-qpid-capacity": 10485760,
              "x-qpid-flow-resume-capacity": 8388608
            }
        }
      ],
      "_clients":[
        {
          "_name": "producingClient",
          "_connections":[
            {
              "_name": "connection1",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session1",
                  "_producers": [
                    {
                      "_name": "Producer1",
                      "_destinationName": "direct://amq.direct//testQueue"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "_name": "consumingClient",
          "_connections":[
            {
              "_name": "connection1",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session1",
                  "_consumers": [
                    {
                      "_name": "Consumer1",
                      "_destinationName": "direct://amq.direct//testQueue"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "_name": "Acknowledgement Modes - PERSISTENT";
      "_iterations":[
        {
          "_messageSize": 1024,
          "_maximumDuration": 30000,
          "_acknowledgeMode": 1,
          "_deliveryMode": 2
        },
        {
          "_messageSize": 1024,
          "_maximumDuration": 30000,
          "_acknowledgeMode": 0,
          "_deliveryMode": 2
        }
      ],
      "_queues":[
        {
          "_name": "direct://amq.direct//testQueue?durable='true'",
          "_durable" : "true"
        }
      ],
      "_clients":[
        {
          "_name": "producingClient",
          "_connections":[
            {
              "_name": "connection1",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session1",
                  "_producers": [
                    {
                      "_name": "Producer1",
                      "_destinationName": "direct://amq.direct//testQueue?durable='true'"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "_name": "consumingClient",
          "_connections":[
            {
              "_name": "connection1",
              "_factory": "connectionfactory",
              "_sessions": [
                {
                  "_sessionName": "session1",
                  "_consumers": [
                    {
                      "_name": "Consumer1",
                      "_destinationName": "direct://amq.direct//testQueue?durable='true'"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
