summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMelek Zribi2013-09-19 10:24:25 (EDT)
committerStephan Born2013-10-23 08:18:54 (EDT)
commit12e35fd6fb8bd511d9d9a7f9a56a5784394a8a22 (patch)
tree0b8d392242fa2551bb21cfb4c04647cec9b79354
parent3beb4ccca1cbc1549d2ab6a43e1610f125da7c8c (diff)
downloadorg.eclipse.stardust.engine-12e35fd6fb8bd511d9d9a7f9a56a5784394a8a22.zip
org.eclipse.stardust.engine-12e35fd6fb8bd511d9d9a7f9a56a5784394a8a22.tar.gz
org.eclipse.stardust.engine-12e35fd6fb8bd511d9d9a7f9a56a5784394a8a22.tar.bz2
Jira-ID: CRNT-30512
Camel Trigger(File Trigger): TIF file should be opened in TIFF viewer / (CRNT-30511 Unable to Parse if input type is PDF) git-svn-id: https://svn.csa.sungard.com/repos/ipp2/product/trunk/stardust/engine@67425 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b Signed-off-by: Melek Zribi <Melek.Zribi@sungard.com>
-rw-r--r--stardust-engine-camel/src/main/java/org/eclipse/stardust/engine/extensions/camel/converter/DocumentDataConverter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/stardust-engine-camel/src/main/java/org/eclipse/stardust/engine/extensions/camel/converter/DocumentDataConverter.java b/stardust-engine-camel/src/main/java/org/eclipse/stardust/engine/extensions/camel/converter/DocumentDataConverter.java
index 5274028..7b297c1 100644
--- a/stardust-engine-camel/src/main/java/org/eclipse/stardust/engine/extensions/camel/converter/DocumentDataConverter.java
+++ b/stardust-engine-camel/src/main/java/org/eclipse/stardust/engine/extensions/camel/converter/DocumentDataConverter.java
@@ -85,7 +85,7 @@ public class DocumentDataConverter implements DataConverter {
((GenericFile) messageContent).getBody());
logger.debug("*** FileLength = " +((GenericFile) messageContent).getFileLength());
} else if (messageContent instanceof String) {
- jcrDocumentContent = (byte[]) messageContent;
+ jcrDocumentContent = ((String) messageContent).getBytes();
}
DmsFileArchiver dmsFileArchiver = new DmsFileArchiver(
ClientEnvironment.getCurrentServiceFactory());