Skip to content

Commit

Permalink
Fix delimiter issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
cqueiroz-pivotal committed Mar 28, 2016
1 parent 467dbb6 commit 582da68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected void doWrite(Message<?> message) throws Exception {
String data = (String)payload;
log.info("data:" + data);
if (delimiter != null) {
processor.onNext(Buffer.wrap(data));
processor.onNext(Buffer.wrap(data+delimiter));
} else {
processor.onNext(Buffer.wrap(data));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public String mapRow(ResultSet resultSet, int i) throws SQLException {
sb.append(columnDelimiter);
}

String row = sb.append(resultSet.getObject(columnsCount)).append("\t").toString();
String row = sb.append(resultSet.getObject(columnsCount)).toString();
log.info(row);
return row;
}
Expand Down

0 comments on commit 582da68

Please sign in to comment.