Merge "Issue #626 changed MessageGenerator to remove trailing newlines to match how the header attribute is set by edex_bridge" into development
Former-commit-id: 7133113e8385c22a27a369727ddf850d4f811ea3
This commit is contained in:
commit
9e64731265
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