コード例 #1
0
ファイル: TestCaseRunner.java プロジェクト: rbecher/bpelunit
 public void putWSIncomingMessage(PartnerTrack head, IncomingMessage message)
     throws InterruptedException {
   fIncomingBlackboard.putObject(head, message);
 }
コード例 #2
0
ファイル: TestCaseRunner.java プロジェクト: rbecher/bpelunit
 public void putWSOutgoingMessageSent(OutgoingMessage message) throws InterruptedException {
   fSentBlackBoard.putObject(message, true);
 }
コード例 #3
0
ファイル: TestCaseRunner.java プロジェクト: rbecher/bpelunit
 /**
  * Sends back a message as an answer to a previously-received incoming message via {@link
  * #receiveMessage(PartnerTrack)}. The message will be sent back using the still-open HTTP
  * Connection.
  *
  * <p>This call will not return until either the message has been delivered, or a timeout has
  * occurred, or the thread was interrupted.
  *
  * @param partnerTrack
  * @param message
  * @throws TimeoutException
  * @throws InterruptedException
  */
 public void sendBackMessage(PartnerTrack partnerTrack, OutgoingMessage message)
     throws TimeoutException, InterruptedException {
   fOutgoingBlackboard.putObject(partnerTrack, message);
   fSentBlackBoard.getObject(message);
 }