Advertisement
bogatyr285

aws sqs get bunch messages

Nov 2nd, 2018
747
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.91 KB | None | 0 0
  1. bogatyr@bogatyr-PC:~/work/sandbox/ds$ curl -d "Action=ReceiveMessage&Version=2012-11-05&AttributeName=All&MaxNumberOfMessages=10&WaitTimeSeconds=10" https://sqs.eu-central-1.amazonaws.com/306632954799/SQS_FOR_TEST | xmllint --format -
  2.  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  3.                                 Dload  Upload   Total   Spent    Left  Speed
  4. 100  2198  100  2098  100   100    599     28  0:00:03  0:00:03 --:--:--   627
  5. <?xml version="1.0"?>
  6. <ReceiveMessageResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/">
  7.  <ReceiveMessageResult>
  8.    <Message>
  9.      <MessageId>0043ff32-edd7-4a28-a560-4d9be6732944</MessageId>
  10.      <ReceiptHandle>AQEBolrzn8P6xs/yreD741JXJoL3cv2bD3HrVHn60wI8qToB5Dn7CYJ2zu1qMRGZuUg98t01vrMcbTG5pWGVVgkXi4bGHTb2zI11bkOBgCNYcogJ8qIlTj6HRd5ITofoljH7yGyQ9+V8vb6iOVYeQh9J9ezk2zTPzNbOhwHER4VUIfUAZZlmNOjiqdKRqfWPrpAEnTHFIhpmnaZcDFJstiaYkIICir9whtn4neosdX3xRTY/sIm71Hs+uuP5VbASiNrFpaTgdGiJyZZhob3A8ku+Itd/iaOezJv3P5f8CKD3QqqRB7jI52KcY4ewkmhTTFiXSQOwWtlqFN17sfCvEnZWw+F00Ia3EnMeshh30AKCG/OQmB7LHBJcLgauO/h0hTCgzF9OjGfctIwDTiYdUuPwjg==</ReceiptHandle>
  11.      <MD5OfBody>c4ca4238a0b923820dcc509a6f75849b</MD5OfBody>
  12.      <Body>1</Body>
  13.      <Attribute>
  14.        <Name>SenderId</Name>
  15.        <Value>AIDAJHLCJ7JBM6UMILCE6</Value>
  16.      </Attribute>
  17.      <Attribute>
  18.        <Name>ApproximateFirstReceiveTimestamp</Name>
  19.        <Value>1541161345296</Value>
  20.      </Attribute>
  21.      <Attribute>
  22.        <Name>ApproximateReceiveCount</Name>
  23.        <Value>1</Value>
  24.      </Attribute>
  25.      <Attribute>
  26.        <Name>SentTimestamp</Name>
  27.        <Value>1541161285295</Value>
  28.      </Attribute>
  29.    </Message>
  30.    <Message>
  31.      <MessageId>26faf15f-7cb5-419a-83e9-42ae19744cab</MessageId>
  32.      <ReceiptHandle>AQEBbpR4nwCNpT8zIargKJb45fE8OPqI83MEFvko75eitUKQmGHl5up5aAzptch+Ge18cPX9rI09VDb4xmuH5jKJajKjbKXZYFioCuygoct62MVPNAsdFU3B+Ipi6X2GLr21xVmavmBv3L/difwD9lTAT0rKNzdatU3T497nLyMGysgIBqhPIl3U/v0wtP8GDESrh9mRfJ2KgnveJ0HaMyMjvqAiebOYbNidzG25eQZEks6Qi+YA9ebmzmYEfOia1Crbea7sWjVyNV/Kwx7h/KlONwuyjx4Sn3f+ZZ6I3DbrZktUCMURu+z9bx0VpPbg6dRoCtb2NaiH0md2l1cJ9Z2FG0Cg3Wf9C53URMDfZChhUwPcIeOPtxg5HRbrbnRUwwLdqNfVZlfS260Ahkwd3wmhWg==</ReceiptHandle>
  33.      <MD5OfBody>c81e728d9d4c2f636f067f89cc14862c</MD5OfBody>
  34.      <Body>2</Body>
  35.      <Attribute>
  36.        <Name>SenderId</Name>
  37.        <Value>AIDAJHLCJ7JBM6UMILCE6</Value>
  38.      </Attribute>
  39.      <Attribute>
  40.        <Name>ApproximateFirstReceiveTimestamp</Name>
  41.        <Value>1541161345300</Value>
  42.      </Attribute>
  43.      <Attribute>
  44.        <Name>ApproximateReceiveCount</Name>
  45.        <Value>1</Value>
  46.      </Attribute>
  47.      <Attribute>
  48.        <Name>SentTimestamp</Name>
  49.        <Value>1541161285300</Value>
  50.      </Attribute>
  51.    </Message>
  52.  </ReceiveMessageResult>
  53.  <ResponseMetadata>
  54.    <RequestId>2af442c6-4b12-5565-acba-169008ac6b54</RequestId>
  55.  </ResponseMetadata>
  56. </ReceiveMessageResponse>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement