Skip to content

How to use phase4 with S3 storage #82

Answered by phax
mvolkert asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks Marco, for asking the question here :)

There are two levels of data storage that you might consider:

  • The "dumps", that are optionally created when sending and receiving messages and
  • The messages on the business level, that are sent and/or received

What you anyone need to do, is to add S3 as a build dependency (e.g. to your pom.xml):

    <dependency>
      <groupId>software.amazon.awssdk</groupId>
      <artifactId>s3</artifactId>
      <version>2.17.192</version>
    </dependency>

Assuming you want to replace the "outgoing dumper" to write to S3, you could do something like this:

  private static final class S3OutgoingDumper extends AbstractAS4OutgoingDumperWithHeaders
  {
    pr…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@mvolkert
Comment options

@ml-deb
Comment options

@phax
Comment options

@ml-deb
Comment options

@phax
Comment options

Answer selected by mvolkert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants