Skip to content

Commit

Permalink
Make Message File and MDN File modules tempdir attribute individually
Browse files Browse the repository at this point in the history
configurable by properties.
  • Loading branch information
uhurusurfa committed Sep 11, 2023
1 parent 587afb9 commit f5a12f7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Server/src/config/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@
module.DbTrackingModule.enabled="true"
module.MDNFileModule.enabled="true"
module.MDNFileModule.filename="$properties.storageBaseDir$/$mdn.msg.sender.as2_id$-$mdn.msg.receiver.as2_id$/mdn/$date.yyyy-MM-dd$/$mdn.msg.headers.message-id$"
module.MDNFileModule.tempdir="$properties.storageBaseDir$/temp"
module.MessageFileModule.enabled="true"
module.MessageFileModule.filename="$properties.storageBaseDir$/$msg.sender.as2_id$-$msg.receiver.as2_id$/inbox/$msg.headers.message-id$"
module.MessageFileModule.header="$properties.storageBaseDir$/$msg.sender.as2_id$-$msg.receiver.as2_id$/msgheaders/$date.yyyy-MM-dd$/$msg.headers.message-id$"
module.MessageFileModule.tempdir="$properties.storageBaseDir$/temp"
module.DirectoryResenderModule.enabled="true"
module.DirectoryResenderModule.resenddelay="60"
module.AS2ReceiverModule.http.enabled="true"
Expand Down Expand Up @@ -187,13 +189,13 @@
classname="org.openas2.processor.storage.MDNFileModule"
filename="$properties.module.MDNFileModule.filename$"
protocol="as2"
tempdir="$properties.storageBaseDir$/temp"/>
tempdir="$properties.module.MDNFileModule.tempdir$"/>
<module enabled="$properties.module.MessageFileModule.enabled$"
classname="org.openas2.processor.storage.MessageFileModule"
filename="$properties.module.MessageFileModule.filename$"
header="$properties.module.MessageFileModule.header$"
protocol="as2"
tempdir="$properties.storageBaseDir$/temp"/>
tempdir="$properties.module.MessageFileModule.tempdir$"/>
<module enabled="$properties.module.AS2ReceiverModule.http.enabled$"
classname="org.openas2.processor.receiver.AS2ReceiverModule"
port="$properties.module.AS2ReceiverModule.http.port$"
Expand Down

0 comments on commit f5a12f7

Please sign in to comment.