
public class NoOpMessageInterpolator extends Object implements MessageInterpolator
MessageInterpolator that does nothing, just returns the given
message template as-is.| Constructor and Description |
|---|
NoOpMessageInterpolator() |
| Modifier and Type | Method and Description |
|---|---|
String |
interpolate(String template,
Map<String,Object> variables)
Interpolates the message template using the given variables.
|
public String interpolate(String template, Map<String,Object> variables)
MessageInterpolatorinterpolate in interface MessageInterpolatortemplate - The message to interpolate.variables - Map of variables that will be accessible for the template.Copyright © 2017. All rights reserved.