|
|
|
@@ -195,7 +195,7 @@ public class Postback |
|
|
|
private PostbackStatus post(List<String> reportList) |
|
|
|
{ |
|
|
|
StringBuffer xml = new StringBuffer(XML_VERSION_1_0_ENCODING_UTF_8); |
|
|
|
xml.append("<"); xml.append(xmlTopElement); xml.append(">"); |
|
|
|
xml.append("<" + xmlTopElement + " reports=\"" + reportList.size() + "\">\r\n"); |
|
|
|
for (String report : reportList) |
|
|
|
{ |
|
|
|
xml.append(report + "\r\n"); |
|
|
|
@@ -405,7 +405,7 @@ public class Postback |
|
|
|
{ |
|
|
|
if (postQueue.size() < maxQueueSize) |
|
|
|
{ |
|
|
|
myLogger.debug("Queueing report" + report); |
|
|
|
myLogger.debug("Queueing report " + report); |
|
|
|
postQueue.add(report); |
|
|
|
postQueue.notify(); |
|
|
|
return true; |
|
|
|
|