serviceClient.sendReceiveNonBlocking (getEchoOMBlock("echo3",sequenceKey),callback3);
Thread.sleep(15000);
//assertions for the out sequence.
SequenceReport outgoingSequenceReport = SandeshaClient.getOutgoingSequenceReport(serviceClient);
assertEquals (outgoingSequenceReport.getCompletedMessages().size(),3);
assertTrue(outgoingSequenceReport.getCompletedMessages().contains(new Long(1)));
assertTrue(outgoingSequenceReport.getCompletedMessages().contains(new Long(2)));
assertTrue(outgoingSequenceReport.getCompletedMessages().contains(new Long(3)));
assertEquals(outgoingSequenceReport.getSequenceStatus(),SequenceReport.SEQUENCE_STATUS_TERMINATED);
assertEquals(outgoingSequenceReport.getSequenceDirection(),SequenceReport.SEQUENCE_DIRECTION_OUT);
ArrayList incomingReports = SandeshaClient.getIncomingSequenceReports(configContext);
assertEquals(incomingReports.size(),1);
SequenceReport incomingSequenceReport = (SequenceReport) incomingReports.get(0);
assertEquals (incomingSequenceReport.getCompletedMessages().size(),3);
assertTrue(incomingSequenceReport.getCompletedMessages().contains(new Long(1)));
assertTrue(incomingSequenceReport.getCompletedMessages().contains(new Long(2)));
assertTrue(incomingSequenceReport.getCompletedMessages().contains(new Long(3)));
assertEquals(incomingSequenceReport.getSequenceStatus(),SequenceReport.SEQUENCE_STATUS_TERMINATED);
assertEquals(incomingSequenceReport.getSequenceDirection(),SequenceReport.SEQUENCE_DIRECTION_IN);
//
assertTrue(callback1.isComplete());
System.out.println(callback2.getResult());
assertNotNull (callback1.getResult());