Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
To be reviewed
-
Resolution: Won't Fix or Usage Issue
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Core: Expressions
-
Labels:None
-
User impact:Medium
-
Similar Issues:None
Description
Currently it is not possible to overwrite the payload in the enricher. It should be possible to set something like:
<enrich target="#[payload]" source="#[bean:test]">
<some-mp/>
</enrich>
This is by design really, otherwise what you have is a transformer which should really be implemented with <expression-transformer>/