Configuring custom handlers

This recipe explains how to configure different logging handlers in the Oracle SOA Suite. Although many of the logging handlers already exist, occasionally we may need some special functionality, such as the ability to log into databases or logging via web services. The number of log handler classes in the Oracle SOA Suite is quite limited. Actually, if you check the logging.xml file, you'll only find two types: oracle.core.ojdl.weblogic.DomainLogHandler and oracle.core.ojdl.logging.ODLHandlerFactory. For this recipe, we will define a custom handler and use it in our configuration. The custom handler will enable each instance of the BPEL process to log into its own logfile.

How to do it…

The following steps describe the ...

Get BPEL and Java Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.