Author: ruwan Date: Wed Jan 7 09:17:26 2009 New Revision: 28277 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=28277
Log: Fixing an client issue of the MTOM sample Modified: branches/synapse/1.2.wso2v1/modules/samples/src/main/java/samples/userguide/MTOMSwAClient.java Modified: branches/synapse/1.2.wso2v1/modules/samples/src/main/java/samples/userguide/MTOMSwAClient.java URL: http://wso2.org/svn/browse/wso2/branches/synapse/1.2.wso2v1/modules/samples/src/main/java/samples/userguide/MTOMSwAClient.java?rev=28277&r1=28276&r2=28277&view=diff ============================================================================== --- branches/synapse/1.2.wso2v1/modules/samples/src/main/java/samples/userguide/MTOMSwAClient.java (original) +++ branches/synapse/1.2.wso2v1/modules/samples/src/main/java/samples/userguide/MTOMSwAClient.java Wed Jan 7 09:17:26 2009 @@ -81,6 +81,9 @@ } else if ("swa".equals(mode)) { sendUsingSwA(fileName, targetEPR); } + + // let the server read the stream before exit + Thread.sleep(1000); } public static MessageContext sendUsingSwA(String fileName, String targetEPR) throws IOException { _______________________________________________ Esb-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
