Manipulating the response of the JEJB transport by a Java Callout action

In this recipe, we show how to change the response and enrich the message by a value for the rating attribute. For that, we have to create a Java class that we will call from the message flow of the proxy service through a Java Callout action:

Manipulating the response of the JEJB transport by a Java Callout action

We have created a simple Java class as shown in the following screenshot:

Manipulating the response of the JEJB transport by a Java Callout action

As we can see, this Java class has one method, which enriches the value of the rating attribute of a customer object based on the value of the first name attribute. ...

Get Oracle Service Bus 11g Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.