rollback_reply

rollback_reply is an http response message to the rollback service request.

For the Simple Messaging API, rollback_reply contains no information in the http response message body, but sets the following extension-header fields:

ums.service: rollback_reply
ums.mom: openmq
ums.status: 200
For the XML Messaging API, rollback_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:mom="openmq"
ums:service="rollback_reply"
ums:status="200"/>
For both the Simple Messaging API and the XML Messaging API, a 200 status code indicates the rollback service request was successful. All other status codes indicate the rollback service request might not be successful.

1. Simple Messaging API Example:

The following is a rollback_reply response message.

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
ums.service: rollback_reply
ums.mom: openmq
ums.status: 200
Content-Type: text/plain;charset=UTF-8
Content-Length: 0
Date: Tue, 02 Sep 2008 23:04:05 GMT
2. XML Messaging API Example:

The following is a rollback_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: Tue, 02 Sep 2008 23:06:25 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="rollback_reply"
ums:mom="openmq"
ums:status="200"/>
</ums:MessageHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body/>
</SOAP-ENV:Envelope>
Back to UMS protocol page.