@@ -41,6 +41,7 @@ public class ChannelXmlElement {
4141 private boolean developerMode ;
4242 private boolean throttling = true ;
4343 private String maxTransmissionStorageFilesCapacityInMB ;
44+ private String maxInstantRetry ;
4445 private String type = "com.microsoft.applicationinsights.channel.concrete.inprocess.InProcessTelemetryChannel" ;
4546
4647 public String getType () {
@@ -106,6 +107,16 @@ public void setMaxTransmissionStorageFilesCapacityInMB(String maxTransmissionSto
106107 this .maxTransmissionStorageFilesCapacityInMB = maxTransmissionStorageFilesCapacityInMB ;
107108 }
108109
110+
111+ public String getMaxInstantRetry () {
112+ return maxInstantRetry ;
113+ }
114+
115+ @ XmlElement (name ="MaxInstantRetry" )
116+ public void setMaxInstantRetry (String maxInstantRetry ) {
117+ this .maxInstantRetry = maxInstantRetry ;
118+ }
119+
109120 public Map <String , String > getData () {
110121 HashMap <String , String > data = new HashMap <String , String >();
111122 if (developerMode ) {
@@ -116,6 +127,7 @@ public Map<String, String> getData() {
116127 data .put ("EndpointAddress" , endpointAddress );
117128 }
118129
130+
119131 if (!Strings .isNullOrEmpty (maxTelemetryBufferCapacity )) {
120132 data .put ("MaxTelemetryBufferCapacity" , maxTelemetryBufferCapacity );
121133 }
@@ -128,6 +140,10 @@ public Map<String, String> getData() {
128140 data .put ("MaxTransmissionStorageFilesCapacityInMB" , maxTransmissionStorageFilesCapacityInMB );
129141 }
130142
143+ if (!Strings .isNullOrEmpty (maxInstantRetry )) {
144+ data .put ("MaxInstantRetry" , maxInstantRetry );
145+ }
146+
131147 data .put ("Throttling" , throttling ? "true" : "false" );
132148
133149 return data ;
0 commit comments