-
-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b1d3462
commit 09b55a8
Showing
5 changed files
with
172 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,26 @@ | ||
# Interoperability | ||
|
||
The Amazon SQS transport is not yet supporting configurable interoperability with non-Wolverine applications, but you | ||
can track [the backlog issue for that work here](https://github.com/JasperFx/wolverine/issues/402). | ||
Hey, it's a complicated world and Wolverine is a relative newcomer, so it's somewhat likely you'll find yourself needing to make a Wolverine application talk via AWS SQS to | ||
a non-Wolverine application. Not to worry (too much), Wolverine has you covered with the ability to customize Wolverine to Amazon SQS mapping. | ||
|
||
## Receive Raw JSON | ||
|
||
If you need to receive raw JSON from an upstream system *and* you can expect only one message type for the current | ||
queue, you can do that with this option: | ||
|
||
snippet: sample_receive_raw_json_in_sqs | ||
|
||
Likewise, to send raw JSON to external systems, you have this option: | ||
|
||
snippet: sample_publish_raw_json_in_sqs | ||
|
||
## Advanced Interoperability | ||
|
||
For any kind of advanced interoperability between Wolverine and any other kind of application communicating with your | ||
Wolverine application using SQS, you can build custom implementations of the `ISqsEnvelopeMapper` like this one: | ||
|
||
snippet: sample_custom_sqs_mapper | ||
|
||
And apply this to any or all of your SQS endpoints with the configuration fluent interface as shown in this sample: | ||
|
||
snippet: sample_apply_custom_sqs_mapping |
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