Skip to content

Commit fc25912

Browse files
updating readme and publishing
1 parent e7fee8e commit fc25912

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ repositories {
5454

5555
You can just drop the jar file in.
5656

57-
[injectionApi-1.1.1.jar](https://github.com/socketlabs/socketlabs-java/releases/download/1.1.1/injectionApi-1.1.1.jar)
57+
[injectionApi-1.2.1.jar](https://github.com/socketlabs/socketlabs-java/releases/download/1.2.1/injectionApi-1.2.1.jar)
5858

59-
[injectionApi-1.1.1-sources.jar](https://github.com/socketlabs/socketlabs-java/releases/download/1.1.1/injectionApi-1.1.1-sources.jar)
59+
[injectionApi-1.2.1-sources.jar](https://github.com/socketlabs/socketlabs-java/releases/download/1.2.1/injectionApi-1.2.1-sources.jar)
6060

61-
[injectionApi-1.1.1-javadoc.jar](https://github.com/socketlabs/socketlabs-java/releases/download/1.1.1/injectionApi-1.1.1-javadoc.jar)
61+
[injectionApi-1.2.1-javadoc.jar](https://github.com/socketlabs/socketlabs-java/releases/download/1.2.1/injectionApi-1.2.1-javadoc.jar)
6262

6363
Alternately, you can simply [clone this repository](https://github.com/socketlabs/socketlabs-java.git) directly to include the source code in your project.
6464

@@ -191,6 +191,9 @@ This example demonstrates how to embed an image in your message.
191191
### [Basic send with a web proxy](https://github.com/socketlabs/socketlabs-java/tree/master/examples/src/main/java/examples/basic/BasicSendWithProxy.java)
192192
This example demonstrates how to use a proxy with your HTTP client.
193193

194+
### [Basic send with retry enabled](https://github.com/socketlabs/socketlabs-java/tree/master/examples/src/main/java/examples/basic/BasicSendWithRetry.java)
195+
This example demonstrates how to use the retry logic with your HTTP client.
196+
194197
### [Basic send with invalid file attachment](https://github.com/socketlabs/socketlabs-java/tree/master/examples/src/main/java/examples/basic/invalid/BasicSendWithInvalidAttachment.java)
195198
This example demonstrates the results of attempting to do a send with an invalid attachment.
196199

@@ -229,6 +232,7 @@ For more information about AMP please see [AMP Project](https://amp.dev/document
229232

230233
<a name="version"></a>
231234
# Version
235+
* 1.2.1 - Adding optional retry logic for Http requests. If configured, the request will retry when certain 500 errors occur (500, 502, 503, 504)
232236
* 1.1.1 - Adding request timeout value on the client for Http requests
233237
* 1.1.0 - Adds Amp Html Support
234238
* 1.0.0 - Initial Release

examples/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ dependencies {
1616
testCompile group: 'junit', name: 'junit', version: '4.12'
1717
compile 'com.fasterxml.jackson.core:jackson-core:2.11.0'
1818
compile 'com.fasterxml.jackson.core:jackson-databind:2.11.0'
19-
compile group: 'com.socketlabs', name: 'injectionApi', version: '1.1.1'
19+
compile group: 'com.socketlabs', name: 'injectionApi', version: '1.2.1 '
2020
}

injectionApi/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
def baseGroupId = "com.socketlabs"
88
def baseArtifactId = 'injectionApi'
99
def computeVersion() {
10-
def baseVersion = "1.1.1"
10+
def baseVersion = "1.2.1"
1111
def release = true
1212
if (release)
1313
return "${baseVersion}"

injectionApi/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.socketlabs</groupId>
66
<artifactId>injectionApi</artifactId>
7-
<version>1.1.1</version>
7+
<version>1.2.1</version>
88
<name>socketlabs-java</name>
99
<description>SocketLabs Email Delivery Java library</description>
1010
<url>https://github.com/socketlabs/socketlabs-java/</url>
@@ -23,15 +23,15 @@
2323
<id>david-schrenker</id>
2424
<name>David Schrenker</name>
2525
<email>david.schrenker@socketlabs.com</email>
26-
<organization>org.apache.maven.model.Organization@15ba5d1c</organization>
26+
<organization>org.apache.maven.model.Organization@4d9a0b1c</organization>
2727
<roles>
2828
<role>Developer</role>
2929
</roles>
3030
</developer>
3131
<developer>
3232
<id>rbrazuk</id>
3333
<name>Ross Brazuk</name>
34-
<organization>org.apache.maven.model.Organization@3cf2a6e7</organization>
34+
<organization>org.apache.maven.model.Organization@201c6b36</organization>
3535
<roles>
3636
<role>Developer</role>
3737
</roles>
@@ -40,7 +40,7 @@
4040
<contributors>
4141
<contributor>
4242
<name>Ryan Lydzinski</name>
43-
<organization>org.apache.maven.model.Organization@2e482819</organization>
43+
<organization>org.apache.maven.model.Organization@6c83948b</organization>
4444
<roles>
4545
<role>Intern</role>
4646
</roles>

0 commit comments

Comments
 (0)