Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3850

CacheWritingMessageHandler doesn't use EvaluationContext for cache entries expressions

    XMLWordPrintable

    Details

      Description

      The code looks like:

      	cacheValues.put(expressionEntry.getKey().getValue(message), expressionEntry.getValue().getValue(message));
      

      Where both should be evaluated with the integrationEvaluationContext to have, for example, a BeanFactory access.

      In addition add an overloaded setCacheEntryExpressions(Map<Expression, Expression>)
      to provide more flexibility for the Java Config.

        Attachments

          Activity

            People

            Assignee:
            abilan Artem Bilan
            Reporter:
            abilan Artem Bilan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: