Warning instead of error for non-present type filter class

Issue: SPR-16356
This commit is contained in:
Juergen Hoeller
2018-01-08 13:41:23 +01:00
parent 0d151b0212
commit 4adc820714
3 changed files with 33 additions and 36 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2014 the original author or authors.
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -150,7 +150,7 @@ class JmsListenerContainerParser extends AbstractListenerContainerParser {
if (!("auto".equals(cache) || "consumer".equals(cache))) {
parserContext.getReaderContext().warning(
"'cache' attribute not actively supported for listener container of type \"simple\". " +
"Effective runtime behavior will be equivalent to \"consumer\" / \"auto\".", containerEle);
"Effective runtime behavior will be equivalent to \"consumer\" / \"auto\".", containerEle);
}
}
else {