public interface FlowMessageFactory
Modifier and Type | Method and Description |
---|---|
EntryMessage |
newEntryMessage(Message message)
Creates a new entry message based on an existing message.
|
ExitMessage |
newExitMessage(EntryMessage message)
Creates a new exit message based on no return value and an existing entry message.
|
ExitMessage |
newExitMessage(Object result,
EntryMessage message)
Creates a new exit message based on a return value and an existing entry message.
|
ExitMessage |
newExitMessage(Object result,
Message message)
Creates a new exit message based on a return value and an existing message.
|
EntryMessage newEntryMessage(Message message)
message
- the original messageExitMessage newExitMessage(Object result, Message message)
result
- the return value.message
- the original messageExitMessage newExitMessage(EntryMessage message)
message
- the original entry messageExitMessage newExitMessage(Object result, EntryMessage message)
result
- the return value.message
- the original entry messageCopyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.