-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updating poms for 9.3.50-SNAPSHOT development * updating poms for branch'release/9.3.49' with non-snapshot versions * updating develop poms to master versions to avoid merge conflicts * Updating develop poms back to pre merge state * Adds cast function to Mappers * Adds the ability to register a sink as a service by implementing the MessageSink interface --------- Co-authored-by: runner <runner@fv-az1532-127.r45ftdqj0iiudj1ovfs3chqk3e.ex.internal.cloudapp.net> Co-authored-by: greg h <[email protected]>
- Loading branch information
1 parent
8974923
commit 3804d04
Showing
8 changed files
with
49 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
runtime/src/main/java/com/fluxtion/runtime/output/MessageSink.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.fluxtion.runtime.output; | ||
|
||
import java.util.function.Consumer; | ||
|
||
/** | ||
* A sink for an EventProcessor. Implement this interface and register with : | ||
* | ||
* {@link com.fluxtion.runtime.EventProcessor#registerService(Object, Class, String)} | ||
* @param <T> the type of message published to the Sink | ||
*/ | ||
public interface MessageSink<T> extends Consumer<T> { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters