public class RedeliveryStreamSeparator extends Object implements MultiStreamSplitter
| Modifier and Type | Field and Description |
|---|---|
static String |
INITIAL_DELIVERY_STREAM |
static String |
REDELIVERY_STREAM |
| Constructor and Description |
|---|
RedeliveryStreamSeparator() |
| Modifier and Type | Method and Description |
|---|---|
String |
selectStream(List<Object> tuple,
Message message)
Given the tuple (the de-serialized message contents) and the message in its original serialized format, select
the stream this particular tuple should be emitted under.
|
List<String> |
streamNames() |
public static final String INITIAL_DELIVERY_STREAM
public static final String REDELIVERY_STREAM
public List<String> streamNames()
streamNames in interface MultiStreamSplitterpublic String selectStream(List<Object> tuple, Message message)
MultiStreamSplitterselectStream in interface MultiStreamSplittertuple - the de-serialized form of message as a list of objects (a tuple)message - the original RabbitMQ message before it was de-serialized (incl. amqp envelope information)Copyright © 2013-2015. All Rights Reserved.