Slide 6
Slide 6 text
CPI runtime node: Techniques to access underlying layers
Linux SUSE
SAP JVM
Apache Felix
Apache Karaf
Apache Camel
Additional SAP CPI
Specific Components
JVM layer (runtime & services)
• Java runtime properties
System, Runtime.runtime
• Groovy runtime properties
GroovySystem
• JVM startup arguments
RuntimeMXBean.inputArguments
• Platform MXBeans
Operating System, Runtime, Thread,
Memory, Garbage Collector, Class
Loading, etc.
• MBeans
Felix and Karaf shell commands, etc.
• Class loaders
• Attach API
OSGi layer
• OSGi bundle context
FrameworkUtil.getBundle({…}).bundleC
ontext
Information about bundles (versions,
resources, etc.), operations on bundles
• Service references
• OSGi shell commands execution
• Events – Event Admin Service
System environment layer
• Environment properties
System.getenv()
• Access to some directories (such as
home – /usr/sap/ljs/home) and files
File(‘{…}’).bytes, File(‘{…}’).text
• Access to Linux pseudo-filesystem /
proc
Information about filesystems and
mount points, networking layer,
processes (/proc/{pid}), statistics about
CPU and memory usage, etc.
• Directories monitoring in real time
(WatchService for FileSystems / Paths)
Integration framework layer
• Camel context
Message.exchange.context
Includes properties (such as Camel
version) and context objects (such as
endpoints, components, routes)