We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The RabbitMQ 3.7.0 has introduced a breaking change in the parameters to get messages from the queue:
rabbitmq/rabbitmq-management#68 rabbitmq/rabbitmq-management#521 rabbitmq/rabbitmq-server#1496
Invoke-RestMethod : {"error":"bad_request","reason":"[{key_missing,ackmode}]"} At C:\Program Files\WindowsPowerShell\Modules\RabbitMQTools\1.2\Public\Get-RabbitMQMessage.ps1:131 char:13 + $result = Invoke-RestMethod $url -Credential $Credentials ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand Invoke-RestMethod : {"error":"bad_request","reason":"[{key_missing,ackmode}]"} At C:\Program Files\WindowsPowerShell\Modules\RabbitMQTools\1.2\Public\Get-RabbitMQMessage.ps1:131 char:13 + $result = Invoke-RestMethod $url -Credential $Credentials ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
This quick fix in the Get-RabbitMQMessage.ps1 is working
$body = @{ "count" = $Count "requeue" = -not [bool]$Remove "encoding" = $Encoding "ackmode" = @("ack_requeue_true","ack_requeue_false")[[bool]$Remove] }
The text was updated successfully, but these errors were encountered:
https://github.com/RamblingCookieMonster/RabbitMQTools/issues/33
89dce34
No branches or pull requests
The RabbitMQ 3.7.0 has introduced a breaking change in the parameters to get messages from the queue:
rabbitmq/rabbitmq-management#68
rabbitmq/rabbitmq-management#521
rabbitmq/rabbitmq-server#1496
This quick fix in the Get-RabbitMQMessage.ps1 is working
The text was updated successfully, but these errors were encountered: