Introduction
Oracle Integration Cloud (OIC) provides scheduled integrations to execute jobs at fixed intervals. While configuring schedules looks straightforward, many developers face confusion around the minimum time supported for Simple and iCal schedules.
This blog clarifies the official limits, common use cases, and recommended solution patterns.
Minimum Schedule Time Supported in OIC
🔹 Simple Schedule
Minimum supported time: 10 minutes
Configured via UI dropdown options
Intervals less than 10 minutes are not allowed
🔹 iCal Schedule
Minimum supported time: 1 minute
Uses iCal (RFC 5545) expressions
Offers more flexibility than Simple schedule
Key takeaway:
Use Simple Schedule for standard batch jobs
Use iCal Schedule when you need 1-minute granularity
Business Use Case Scenario
An organization needs to: Poll ERP / HCM / Database / FTP. Fetch newly created or updated records. Push data to downstream systems quickly
Expectation
Data should be processed near real time (1–5 minutes)
Challenge
Simple schedule does not support less than 10 minutes. Incorrect assumptions may lead to delayed processing
Solution Approaches
✅ Solution 1: Use iCal Schedule for 1-Minute Polling
Best when polling is mandatory
Steps:
Create a Scheduled Integration
Select iCal-based schedule
Use expression:
Copy code
FREQ=MINUTELY;INTERVAL=1;
Maintain last processed timestamp
Fetch only delta records
✔️ Faster execution
✔️ Supported by OIC
⚠️ Use carefully for high-volume systems
✅ Solution 2: App-Driven Integration (Recommended)
Best practice for real-time needs
Steps:
Create an App-Driven Orchestration
Expose REST endpoint using REST Adapter
Source system triggers OIC instantly
Process and route data to targets
✔️ True real-time
✔️ No polling overhead
✔️ Scalable design
⚠️ Solution 3: Simple Schedule + Smart Design
When real-time is not mandatory
Steps:
Configure Simple schedule (10 minutes)
Use delta logic (timestamp / status flag)
Avoid duplicate processing
✔️ Stable
✔️ Easy to maintain
What to Avoid
❌ Assuming Simple schedule supports 5 minutes
❌ Forcing cron tricks below supported limits
❌ Excessive 1-minute polling without volume control
Conclusion
Understanding OIC scheduler limits helps in choosing the right integration pattern.
Design guidance:
Batch processing → Simple Schedule (10 min)
Near real-time polling → iCal (1 min)
Real-time integration → App-Driven / Events
Choosing the correct approach improves performance, scalability, and maintainability of OIC integrations.
No comments:
Post a Comment