Allow Enum types in Messages, fix cast of Message to Enum by tnleeuw · Pull Request #10279 · frankframework/frankframework

Changes

I'm not sure about this change. The change in Message breaks getting the ExitState enum out of the session, in some tests. And possibly that is not just the unit-tests that are broken. So it kinda makes necessary some more complicated changes in PipeLineSession -- Changes that looked good at first but then started to doubt more and more before the change in Message made them necessary.

@nielsm5, what do you think about it?

Pull Request Checklist

Title

  • Title expresses the business value (who benefits + what outcome)

Issues

Backports

  • Backport PRs created (if needed) and linked

Documentation

  • FF! Doc updated (user-facing behavior/config)
  • FF! Manual updated (if applicable)
  • Javadoc updated/generated (developer-facing APIs)

Tests

  • Unit tests added/updated
  • E2E/Integration tests added/updated (if applicable)

Breaking changes

  • Breaking change recorded in markdown file
  • Migration notes included (if needed)