Member since
05-20-2014
38
Posts
0
Kudos Received
0
Solutions
12-09-2014
10:27 AM
This does not work for merging with text substitution for the same reason I mentioned in my previous comment, but you are right, it is include functionality. I was probably biased towards the use case for which I created this thread. 🙂 Thanks.
... View more
10-17-2014
01:04 AM
I assumed so, but wanted to confirm that there is no state sharing "behind the scenes", especially in the Command building process. Thanks for the confirmation.
... View more
10-17-2014
01:02 AM
Sure. FreeMarker is a good idea, especially now that they have switched to the Apache 2.0 License.
... View more
05-29-2014
07:23 AM
Thanks for the prompt answer! Adding to the Morphlines Reference Guide, the tryRules block has to be placed inside the commands block, e.g. morphlines : [
{
id : morphline1
importCommands : ["org.kitesdk.**", "org.apache.solr.**"]
commands : [
{
readLine {
charset : UTF-8
}
}
{
tryRules {
catchExceptions : false
throwExceptionIfAllRulesFailed : true
rules : [
# next rule of tryRules cmd:
{
commands : [
{ ... }
{ ... }
]
}
# next rule of tryRules cmd:
{
commands : [
{ ... }
{ ... }
]
}
}
}
]
}
... View more