Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce flexibility and improve JMS sink (#1807)
Remove `sessionFn`, `flushFn` and `sendFn`. They would prevent implementing ex-once in the future without breaking changes. Use transactions for sending: this is recommended for ActiveMQ and WebLogic JMS as an optimization. `MessageProducer.send` is synchronous normally, but in transactions it's async and `commit()` waits for all in-flight sends.
- Loading branch information
1 parent
52f00bb
commit c4aa54e
Showing
5 changed files
with
43 additions
and
136 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