O'Reilly logo

Oracle Service Bus 11g Development Cookbook by Eric Elzinga, Mischa Kölliker, Jan van Zoggel, Edwin Biemond, Guido Schmutz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enabling/disabling a Validate action dynamically

In the previous recipe, we have seen how to use a Validate action for performing message validation. The problem of using message validation is that it can involve quite some overhead and often it's no longer necessary after some period of testing. Instead of removing it from the code, it would be nice to keep it in the code, so that it can be enabled dynamically if needed. This recipe will show how this can be achieved with a Java Callout and an If Else action.

Enabling/disabling a Validate action dynamically

The Java Callout action will invoke a Java method which accesses a bean configured by the Spring framework application context. This bean ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required