Issue #626 changed MessageGenerator to remove trailing newlines to match how the header attribute is set by edex_bridge
Change-Id: I8f36144524ea0010307e9c605a3e931a054a588d Former-commit-id: 93b823807d2b0d56964993fed8f316f131e6cfa4
This commit is contained in:
parent
3cf933fa4c
commit
5b7a553c07
1 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,8 @@ public class MessageGenerator implements Processor {
|
|||
String messageHeader = WMOHeaderFinder.find(file);
|
||||
if (messageHeader == null) {
|
||||
messageHeader = fileName;
|
||||
} else {
|
||||
messageHeader = messageHeader.trim();
|
||||
}
|
||||
|
||||
arg0.getIn().setBody(file.toString());
|
||||
|
|
Loading…
Add table
Reference in a new issue