I don't think you can directly access the cache data in a java class.
What you need to do is instead of having a Response cache policy use a lookup cache policy. Use the policy to retrieve any specific entry from the cache as needed and then populate a flow variable with the retrieved value.
You can then access the flow variable in the java callout.
Sarthak
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 |