phax / as2-lib

A generic Java AS2 library, servlet and server
107 stars 43 forks source link

List of variable that can be used in "as2-servlet-configuration.xml" #27

Closed haegg78 closed 8 years ago

haegg78 commented 8 years ago

I have currently implemented the AS2 Servlet in a test suite where we are performing regression testing of our integration platform. I'm wondering which parameters are existing for generating a better dynamic filename? I'm specifically interested in the AS2 Filename and AS2 Subject. Example from the readme below. Is there a list of "variables" that can be used in the "as2-servlet-configuration.xml" file? <module classname="com.helger.as2lib.processor.storage.MessageFileModule" filename="%home%/inbox/$date.yyyy$/$date.MM$/$msg.sender.as2_id$-$msg.receiver.as2_id$-$msg.headers.message-id$" header="%home%/inbox/msgheaders/$date.yyyy$/$date.MM$/$msg.sender.as2_id$-$msg.receiver.as2_id$-$msg.headers.message-id$" protocol="as2" tempdir="%home%/temp"/>

phax commented 8 years ago

For incoming messages the following variables are available:

https://github.com/phax/as2-server/blob/master/doc/configurationDefinitions.html contains the original docs with some infos.

hth