Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle SOA Suite 12c(12.1.3.0.0) Coherence Adapter TTL(TimeToLive) not expiring cache

3146670Jan 29 2018 — edited Feb 13 2018

Hi Folks,

Recently I have been performing coherence implementation and using Oracle SOA Suite 12c(12.1.3.0.0). I am using Coherence adapter available in SOA Suite 12c for the implementation. However, the caching is working fine but I am not able to expire the cache.

Below two possibilities I have already tried -

  1. I have configured TTL (TimeToLive)  attribute to 60000ms i.e. 1 minute during Coherence adapter configuration for PUT operation but the cache was not expiring. Here I have used the available JNDI eis/Coherence/Local during adapter configuration.
  2. Created a custom adapter configuration file and use it as CacheConfig in JNDI configuration of new JNDI (eis/Coherence/CustomConfig). Set <expiry-delay> and <flush-delay> attribute with <transactional-scheme> . Done necessary changes in composite and test it. Cache won't expire.

Any idea what I have been missing here or anything wrong.

Below is my custom adapter config-

<?xml version="1.0"?>

<!DOCTYPE cache-config SYSTEM "cache-config.dtd">

<cache-config>

<caching-scheme-mapping>

<cache-mapping>

<cache-name>local-cache</cache-name>

<scheme-name>no-trans-ttl</scheme-name>

</cache-mapping>

</caching-scheme-mapping>

<caching-schemes>

<transactional-scheme>

<scheme-name>no-trans-ttl</scheme-name>

<service-name>LocalCache</service-name>

<autostart>false</autostart>

<expiry-delay>60000</expiry-delay>

<flush-delay>10</flush-delay>

</transactional-scheme>

</caching-schemes>

</cache-config>

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 13 2018
Added on Jan 29 2018
4 comments
1,568 views