close_reply
close_reply is an http
response message to the close
service request..
For the Simple Messaging API, close_reply contains no information in the http response message body, but sets the following extension-header fields:
ums.service: close_reply
ums.mom: openmq
ums.status: 200
For the XML Messaging API, close_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 :
<ums:Service
ums:service="close_reply"
ums:mom="openmq"
ums:status="200"/>
For
both the Simple Messaging API and the XML Messaging API, a 200 status
code indicates the close service request was successful. All
other status codes indicate the close service request might
not be successful.
1. Simple Messaging API Example:
The following is a close_reply response message.
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
ums.service:
close_reply
ums.mom: openmq
ums.status: 200
Content-Type:
text/plain;charset=UTF-8
Content-Length: 0
Date: Wed, 03 Sep
2008 17:51:47 GMT
2.
XML Messaging API Example:
The following is a close_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: Wed, 03 Sep 2008 17:18:53 GMT
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
<ums:MessageHeader
xmlns:ums="https://mq.dev.java.net/ums" ums:id="1.0"
ums:version="1.0">
<ums:Service
ums:service="close_reply"
ums:mom="openmq"
ums:status="200"/>
</ums:MessageHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body/>
</SOAP-ENV:Envelope>
Back to UMS protocol page.