@ManagedResource @IntegrationManagedResource public interface RecipientListRouterManagement
Modifier and Type | Method and Description |
---|---|
void |
addRecipient(String channelName)
Add a recipient with channelName.
|
void |
addRecipient(String channelName,
String selectorExpression)
Add a recipient with channelName and expression.
|
Collection<?> |
getRecipients() |
int |
removeRecipient(String channelName)
Remove all recipients that match the channelName.
|
int |
removeRecipient(String channelName,
String selectorExpression)
Remove all recipients that match the channelName and expression.
|
void |
replaceRecipients(Properties recipientMappings)
Replace recipient.
|
void |
setRecipientMappings(Map<String,String> recipientMappings)
Set recipients.
|
@ManagedOperation void addRecipient(String channelName, String selectorExpression)
channelName
- The channel name.selectorExpression
- The expression to filter the incoming message.@ManagedOperation void addRecipient(String channelName)
channelName
- The channel name.@ManagedOperation int removeRecipient(String channelName)
channelName
- The channel name.@ManagedOperation int removeRecipient(String channelName, String selectorExpression)
channelName
- The channel name.selectorExpression
- The expression to filter the incoming message@ManagedAttribute Collection<?> getRecipients()
@ManagedOperation void replaceRecipients(Properties recipientMappings)
recipientMappings
- contain channelName and expression.@ManagedAttribute void setRecipientMappings(Map<String,String> recipientMappings)
recipientMappings
- contain channelName and expression.