[
https://issues.apache.org/activemq/browse/SM-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41436#action_41436
]
Bruce Snyder commented on SM-834:
---------------------------------
The {{ClassNotFoundException}} is due to the fact that the commons-io
dependency is marked with an optional scope in the {{pom.xml}} for the
servicemix-core module where the {{SimpleFlatFileMarshaler}} lives. AFAIK the
only way to deal with this is to add the dependency to the runtime classpath by
dropping it in the lib/optional directory as you've already done.
Guillaume, why does the {{SimpleFlatFileMarshaler}} live in the servicemix-core
module if it has a dependency on commons-io? Wouldn't it be a better idea to
move this into a module other than the core?
> Provide File Marshalling for CSV/variable, fixed and heirarchial messages
> -------------------------------------------------------------------------
>
> Key: SM-834
> URL: https://issues.apache.org/activemq/browse/SM-834
> Project: ServiceMix
> Issue Type: New Feature
> Components: servicemix-components
> Affects Versions: 3.1
> Reporter: Juergen Mayrbaeurl
> Assignee: Guillaume Nodet
> Fix For: 3.2
>
> Attachments: FileExtensionPropertyExpression.java,
> servicemix-core.diff, SimpleFlatFileMarshaler.java,
> zpv-contrib-servicemix-file.zip
>
>
> Provide file marshalling for file binding components similar to Parser
> Service Engine from Bostech ChainBuilder ESB
> (http://chainforge.net/chainbuilder/index.html)
> Sources as starting point attached. They show how to get CSV or fixed-length
> flat files on the bus in a generic way.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.