Sequence report of incoming sequences never gets status
SEQUENCE_STATUS_TERMINATED
----------------------------------------------------------------------------------
Key: SANDESHA2-66
URL: https://issues.apache.org/jira/browse/SANDESHA2-66
Project: Apache Sandesha2
Issue Type: Bug
Environment: Axis2 1.1, Sandesha2 1.1
Reporter: Thilo Frotscher
I wrote a client application that uses outgoing an incoming sequences. In this
application I use the following code to wait until an incoming sequence is
terminated:
List reports = SandeshaClient.getIncomingSequenceReports(ctx);
for (Iterator iter = reports.iterator(); iter.hasNext();) {
SequenceReport report = (SequenceReport) iter.next();
LOG.info("Waiting for termination of incoming sequence
" + report.getSequenceID());
while (report.getSequenceStatus() !=
SequenceReport.SEQUENCE_STATUS_TERMINATED)
Thread.sleep(500);
LOG.info("Incoming sequence terminated.");
}
Even though a TerminateSequence message is received for my incoming sequence,
the report's property sequenceStatus is never set to SEQUENCE_STATUS_TERMINATED
and therefore the loop never ends.
Here is my log output - it shows that the loop is waiting for a sequence ID to
be terminated, and that the correct TerminateSequence message is received.
INFO: Waiting for termination of incoming sequence
urn:uuid:948EC6C07CB83E14871169447556828
INFO: InFlowLogHandler: <?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<wsa:To>http://10.1.1.5:6066/axis2/services/BookingService25377109/CheckAvailability</wsa:To>
<wsa:ReplyTo>
<wsa:Address>http://localhost:8888/axis2/services/BookingService</wsa:Address></wsa:ReplyTo>
<wsa:MessageID>urn:uuid:FE48E7B9B3FCB574841169447572165</wsa:MessageID>
<wsa:Action>http://schemas.xmlsoap.org/ws/2005/02/rm/TerminateSequence</wsa:Action>
</soapenv:Header>
<soapenv:Body>
<wsrm:TerminateSequence xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm">
<wsrm:Identifier>urn:uuid:948EC6C07CB83E14871169447556828</wsrm:Identifier>
</wsrm:TerminateSequence>
</soapenv:Body>
</soapenv:Envelope>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]