Skip to content

Commit

Permalink
Merge pull request #156 from assimbly/155-cannot-find-data-format-in-…
Browse files Browse the repository at this point in the history
…registry-with-ref-zipfiledataformat

zipFileDataFormat - className bind correction + transform checkedZipFileDataFormat to zipFile
  • Loading branch information
skin27 authored Dec 7, 2023
2 parents 0e73254 + 508f112 commit c9a92a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ private static String camel2ToCamel3(String input, String flowId){
map.put("form2xml:","formtoxml:");
map.put("univocity-csv","univocityCsv");
map.put("checkedZipFileDataFormat:unmarshal?usingIterator=true","zipFile:unmarshal?usingIterator=true");
map.put("<custom ref=\"checkedZipFileDataFormat\"/>","<custom ref=\"zipFileDataFormat\"/>");
map.put("<custom ref=\"checkedZipFileDataFormat\"/>","<zipFile/>");
map.put("<custom ref=\"zipFileDataFormat\"/>","<zipFile/>");
map.put("exchange.getIn().hasAttachments","exchange.getIn(org.apache.camel.attachment.AttachmentMessage.class).hasAttachments");
map.put("<simple>${exchange.getIn().hasAttachments}</simple>","<method beanType=\"org.assimbly.mail.component.mail.SplitAttachmentsExpression\" method=\"hasAttachments\"/>");
map.put("<ref>splitAttachmentsExpression</ref>","<method beanType=\"org.assimbly.mail.component.mail.SplitAttachmentsExpression\"/>");
map.put("<custom ref=\"zipFileDataFormat\"/>","<zipFile/>");
map.put("<unmarshal><custom ref=\"checkedZipFileDataFormat\"/></unmarshal>","<process ref=\"Unzip\"/>");
map.put("file://tenants","file:///data/.assimbly/tenants");
map.put("DovetailQueueName","AssimblyQueueName");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public void setDefaultBlocks() throws Exception {
bindByName("QueueMessageChecker","org.assimbly.throttling.QueueMessageChecker");
bindByName("XmlToHl7Converter","org.assimbly.hl7.XmlEncoder");
bindByName("AttachmentAttacher","org.assimbly.mail.component.mail.AttachmentAttacher");
bindByName("zipFileDataFormat","org.assimbly.archive.zipFileDataFormat");
bindByName("zipFileDataFormat","org.assimbly.archive.ZipFileDataFormat");
//bindByName("checkedZipFileDataFormat","org.assimbly.archive.CheckedZipFileDataFormat");

addServiceByName("org.assimbly.mail.component.mail.MailComponent");
Expand Down

0 comments on commit c9a92a9

Please sign in to comment.