I am trying to fetch a value stored in AssignTo variable in Lookup Cache policy in its following AssignMessage policy.
Lookup Cache policy:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<LookupCache async="false" continueOnError="false" enabled="true" name="Lookup-Cache-1">
<DisplayName>Lookup Cache-1</DisplayName>
<CacheResource>CollectionCache</CacheResource>
<AssignTo>CacheResult</AssignTo>
<CacheKey>
<Prefix>Collection</Prefix>
<KeyFragment>VendorId</KeyFragment>
<KeyFragment ref="request.header.VendorId"/>
</CacheKey>
<Scope>Exclusive</Scope>
</LookupCache>
In the next Assign message policy if I give {response.content},I am able to get the message retrieved from Lookup cache.
But if I use variable : {CacheResult} or {CacheResult.content},its showing empty.
Is there anything wrong with my Lookup policy?