mq5.0-source.src.share.java.webapps.ums.protocol.send_reply.html Maven / Gradle / Ivy
send_reply is an http response message to the send
service request.
For the Simple Messaging API, send_reply contains no
information in the http response message body, but sets the following
extension-header fields:
ums.service: send_reply
ums.destination:
ums.domain:
ums.mom:
openmq
ums.status: 200
For the XML Messaging API,
send_reply includes a SOAP message in the http response
message body, and sets the following attributes of the Service
element of the SOAP message header :
<uns:Service
ums:service="send_reply"
ums:destination=
ums:domain=
ums:mom="openmq"
ums:status="200"/>
For both the Simple
Messaging API and the XML Messaging API, a 200 status code indicates
the send service request was successful. All other status
codes indicate the send service request might not be
successful.
1. Simple Messaging API
Example:
The following is a send_reply response message.
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
ums.service:
send_reply
ums.destination: simpleMessagingQ
ums.domain:
queue
ums.mom: openmq
ums.status: 200
Content-Type:
text/plain;charset=UTF-8
Content-Length: 0
Date: Tue, 02 Sep
2008 21:59:58 GMT
2.
XML Messaging API Example:
The following is a send_reply response message that
includes a SOAP message with Service element attribute values in the
header.
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Accept:
text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Content-Type: text/xml;charset=utf-8
Transfer-Encoding:
chunked
Date: Sat, 23 Aug 2008 01:21:20 GMT
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
<ums:MessageHeader
xmlns:ums="https://mq.java.net/ums" ums:id="1.0"
ums:version="1.1">
<ums:Service
ums:service="send_reply"
ums:destination="XMLmessagingQ"
ums:domain="queue"
ums:mom="openmq"
ums:status="200"/>
</ums:MessageHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body/>
</SOAP-ENV:Envelope>
Back to UMS protocol page.