Fix typo for transforming a String message to uppercase.
This commit is contained in:
committed by
Marius Bogoevici
parent
8cc49f5d6d
commit
fe85d180b5
@@ -419,7 +419,7 @@ Or you can use a processor's channels in a transformer:
|
||||
public class TransformProcessor {
|
||||
@Transformer(inputChannel = Processor.INPUT, outputChannel = Processor.OUTPUT)
|
||||
public Object transform(String message) {
|
||||
return message.toUpper();
|
||||
return message.toUpperCase();
|
||||
}
|
||||
}
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user