Skip to content

Commit

Permalink
#45-Fix fileconnector.readSpecifiedLines issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ErandikaH committed Nov 22, 2018
1 parent 4149a7e commit 949b575
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -46,9 +46,9 @@ public void connect(MessageContext messageContext) {
String contentType = (String) ConnectorUtils.lookupTemplateParamater(messageContext,
FileConstants.CONTENT_TYPE);
String from = (String) ConnectorUtils.lookupTemplateParamater(messageContext,
FileConstants.FROM);
FileConstants.START);
String to = (String) ConnectorUtils.lookupTemplateParamater(messageContext,
FileConstants.TO);
FileConstants.END);
FileObject fileObj = null;
StandardFileSystemManager manager = null;
try {
Expand Down
Expand Up @@ -68,6 +68,8 @@ public final class FileConstants {
public static final String DEFAULT_INCLUDE_PARENT_DIRECTORY = "false";
public static final String FROM = "from";
public static final String TO = "to";
public static final String START = "start";
public static final String END = "end";
public static final String NEW_LINE = "\n";
public static final String LAST_MODIFIED_TIME_START_TAG = "<result><lastModifiedTime>";
public static final String LAST_MODIFIED_TIME_END_TAG = "</lastModifiedTime></result>";
Expand Down

0 comments on commit 949b575

Please sign in to comment.