INT-4153: Feed Java DSL and other improvements
JIRA: https://jira.spring.io/browse/INT-4153 * Remove deprecated `FeedFetcher` usage * Introduce `Resource` based ctor for the `FeedEntryMessageSource` * Add `SyndFeedInput` option and short-hand `preserveWireFeed` for internal `SyndFeedInput` instance * Reflect the changes in the XSD for Feed * Change ROME dependency from deprecated `rome-fetcher` to just `rome` as it is recommended by ROME team * Port Java DSL for Feed module and reflect aforementioned changes in the `Feed` factory and `FeedEntryMessageSourceSpec` as well * Document changes and mention Feed Java DSL, too
This commit is contained in:
committed by
Gary Russell
parent
1871b11e85
commit
507764a3d6
@@ -222,7 +222,7 @@ public abstract class HeaderEnricherParserSupport extends AbstractTransformerPar
|
||||
.error("The 'method' attribute cannot be used when a 'script' sub-element is defined", element);
|
||||
}
|
||||
|
||||
if (!(isValue ^ (isRef ^ (isExpression ^ isCustomBean)))) {
|
||||
if (isValue == (isRef ^ (isExpression ^ isCustomBean))) {
|
||||
parserContext.getReaderContext().error(
|
||||
"Exactly one of the 'ref', 'value', 'expression' or inner bean is required.", element);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user