Creating a custom logger in a BPEL process

In this recipe, we will define a custom logger for a BPEL process. We will define a custom logger as an addition to the already existing loggers available for BPEL processes. The custom loggers are used in a scenario where there is a special requirement that ODL cannot fulfill, for example, if some logging information needs to be sent over the TCP socket, or if we want to provide special formatting types for logging.

Getting ready

Before we start with the recipe, we need to deploy a BPEL process. We will use the BPEL process from the Calling web services in sequence recipe defined in Chapter 2, Calling Services from BPEL. We defined two web services. The first one gives us the list of available hotels in ...

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.