|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message type not supported by the mqweb server |
« View previous topic :: View next topic » |
Author |
Message
|
liamf |
Posted: Wed Aug 28, 2024 2:47 am Post subject: Message type not supported by the mqweb server |
|
|
Novice
Joined: 22 Apr 2021 Posts: 13
|
This issue was reported by mqweb server while i was trying to retrieve message from IBMMQ with REST API.
I've created a simple messageflow with IBM ACE 12, it consist of one HTTP INPUT node, one Mapping node, one HTTP Reply node and one MQ Publication node.
So, after i sent an JSON message to messageflow, i got a expected response immediately, and this JSON message was write into Topic as well.
But I can't get this JSON messge out from Queue.
Here is how i define the JSON message:
Code: |
SET OutputRoot.JSON.Data = InputRoot.JSON.Data;
SET OutputRoot.Properties.Topic = 'T.TEST'; |
Should i set any other properties so that mqweb server could understand this JSON formatted message?
The request URL with DELETE method:
Code: |
http://xx.xx.xx.xx:xxxx/ibmmq/rest/v2/messaging/qmgr/QMGR/queue/Q.TEST/message |
The response from mqweb server goes like:
Code: |
{
"error": [
{
"msgId": "MQWB0309E",
"action": "Resubmit the request, correcting any issues.",
"completionCode": 0,
"reasonCode": 0,
"type": "rest",
"message": "MQWB0309E: The received or browsed message type is unsupported by the mqweb server.",
"explanation": "The mqweb server successfully received an MQ message, but was of an unsupported message type."
}
]
} |
[/code] |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|