public class ChannelReadRecipe extends Object
The recipe is made up of two parts to make it easy to forward the request to a channel with a different name.
| Constructor and Description | 
|---|
ChannelReadRecipe(String channelName,
                 ChannelHandlerReadSubscription readSubscription)
Creates a new read recipe for the given channel. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
String | 
getChannelName()
The name of the channel to read. 
 | 
ChannelHandlerReadSubscription | 
getReadSubscription()
The read subscription parameters. 
 | 
int | 
hashCode()  | 
String | 
toString()  | 
public ChannelReadRecipe(String channelName, ChannelHandlerReadSubscription readSubscription)
channelName - the name of the channel to connect toreadSubscription - the subscription parameters for the readpublic String getChannelName()
public ChannelHandlerReadSubscription getReadSubscription()
Copyright © 2015. All rights reserved.