Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# OpenAS2 Server
# Version 4.3.0
# Version 4.4.0
# RELEASE NOTES
-----
The OpenAS2 project is pleased to announce the release of OpenAS2 4.3.0
The OpenAS2 project is pleased to announce the release of OpenAS2 4.4.0

The release download file is: OpenAS2Server-4.3.0.zip
The release download file is: OpenAS2Server-4.4.0.zip

The zip file contains a PDF document (OpenAS2HowTo.pdf) providing information on installing and using the application.
## NOTE: Testing covers Java 11 to 21.
## Java 8 is NO LONGER SUPPORTED.

Version 4.3.0 - 2025-04-20
Version 4.4.0 - 2025-05-10

This is an enhancement release.

1. Support retaining the original file name as received into the OpenAS2 server before processing so that it can be referenced in dynamic variables.
1. Log the file size of the file being processed in the AS2 vmessage builder.

##Upgrade Notes
See the openAS2HowTo appendix for the general process on upgrading OpenAS2.
Expand Down
2 changes: 1 addition & 1 deletion Server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- DO NOT CHANGE THIS "groupId" WITHOUT CHANGING XMLSession.getManifestAttributes.MANIFEST_VENDOR_ID_ATTRIB -->
<groupId>net.sf.openas2</groupId>
<artifactId>OpenAS2</artifactId>
<version>4.3.0</version>
<version>4.4.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ protected Message processDocument(File fileToSend, String filename) throws OpenA
if (fileSizeThresholdStr != null && fileSizeThresholdStr.length() > 0) {
fileSizeThreshold = Long.parseLong(fileSizeThresholdStr);
}
if (fileSizeThreshold > 0 && fileToSend.length() > fileSizeThreshold) {
long fileToSendLength = fileToSend.length();
if (fileSizeThreshold > 0 && fileToSendLength > fileSizeThreshold) {
if (logger.isDebugEnabled()) {
logger.debug("File size threshold exceeded and file will be split into multiple files: " + filename);
}
String newFileNamePrefix = msg.getPartnership().getAttribute(Partnership.PA_SPLIT_FILE_NAME_PREFIX);
if (newFileNamePrefix == null) {
newFileNamePrefix = "";
Expand All @@ -102,6 +106,7 @@ protected Message processDocument(File fileToSend, String filename) throws OpenA
new Thread(fileSplitter).start();
return null;
} else {
logger.info("Processing file for sending using AS2 - name: " + filename + " :: Size: " + fileToSendLength);
addMessageMetadata(msg, filename);
File pendingFile = new File(msg.getAttribute(FileAttribute.MA_PENDINGFILE));
try {
Expand Down
6 changes: 6 additions & 0 deletions changes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
**IMPORTANT NOTE**: Please review upgrade notes in the RELEASE-NOTES.md if you are upgrading

Version 4.4.0 - 2025-05-10

This is an enhancement release.

1. Log the file size of the file being processed in the AS2 vmessage builder.

Version 4.3.0 - 2025-04-20

This is an enhancement release.
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.sf.openas2</groupId>
<artifactId>OpenAS2</artifactId>
<version>4.3.0</version>
<version>4.4.0</version>
<name>OpenAS2</name>
<packaging>pom</packaging>

Expand Down Expand Up @@ -167,13 +167,13 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.18.3</version>
<version>2.19.0</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jaxb-annotations</artifactId>
<version>2.18.3</version>
<version>2.19.0</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
Expand Down