Hi,
As per error message "Operation 'getMessageContent' can only be
performed over a secure (HTTPS) connection", you need to use https in
order to call getMessageContent. The message content can contain
sensitive private information. In order to protect that information
from eye dropping a secure transport is required by default. You can
remove this restriction by setting attribute
allowConfidentialOperationsOnInsecureChannels to true on HTTP port.
The statistics queueDepthMessages=0 indicate that there is no message
on the queue. Thus, an operation getMessingInfo returns an empty
array: [].
Kind Regards,
Alex
On Thu, 11 Feb 2021 at 20:48, bltw15 <beelertnitiw...@gmail.com> wrote:
>
> Thank you for pointing that out Alex.
>
> I tried again with curl ( I was using Postman)
> curl --user guest -X POST -d '{"messageId":1}'
> http://localhost:8080/api/latest/queue/default/default/TempQueue344060fa-b39c-4953-87bd-b98567f61e4e/getMessageContent
> Enter host password for user 'guest':
> {
> "errorMessage" : "Operation 'getMessageContent' can only be performed over
> a secure (HTTPS) connection"
> }
>
> can you point me to what it is I'm missing?
>
> getMessingInfo returns an empty array: []
>
> Although I think there are messages getting into the queue, but may be it's
> also blocked from getting the content for the same reason above?
> Statistics:
> availableBytes 0
> availableBytesHighWatermark 7080
> availableMessages 0
> availableMessagesHighWatermark 3
> bindingCount 1
> consumerCount 1
> consumerCountWithCredit 1
> oldestMessageAge 0
> persistentDequeuedBytes 0
> persistentDequeuedMessages 0
> persistentEnqueuedBytes 0
> persistentEnqueuedMessages 0
> queueDepthBytes 0
> queueDepthBytesHighWatermark 9440
> queueDepthMessages 0
> queueDepthMessagesHighWatermark 4
> totalDequeuedBytes 121445600
> totalDequeuedMessages 51460
> totalEnqueuedBytes 121445600
> totalEnqueuedMessages 51460
> totalExpiredBytes 0
> totalExpiredMessages 0
> totalMalformedBytes 0
> totalMalformedMessages 0
> unacknowledgedBytes 0
> unacknowledgedMessages 0
>
>
>
> --
> Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org