-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle errors during message serialization
- Loading branch information
Showing
16 changed files
with
82 additions
and
128 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
7 changes: 3 additions & 4 deletions
7
framework/src/main/java/com/github/dbmdz/flusswerk/framework/rabbitmq/Sender.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 |
---|---|---|
@@ -1,16 +1,15 @@ | ||
package com.github.dbmdz.flusswerk.framework.rabbitmq; | ||
|
||
import com.github.dbmdz.flusswerk.framework.model.Message; | ||
import java.io.IOException; | ||
import java.util.Collection; | ||
|
||
/** High-level interface for sending messages to RabbitMQ. */ | ||
public interface Sender { | ||
void send(Message message) throws IOException; | ||
void send(Message message); | ||
|
||
void send(Collection<Message> messages) throws IOException; | ||
void send(Collection<Message> messages); | ||
|
||
void send(Message... messages) throws IOException; | ||
void send(Message... messages); | ||
|
||
void sendRaw(byte[] message); | ||
} |
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
Oops, something went wrong.