Select Project Properties. How to Create Static Routing Rules

Creating Oracle Mediator Routing Rules 19-37 Table 19–5 discusses the methods in the CalloutMediatorMessage interface. Note: If you change the message properties of an Oracle Mediator by using a Java callout in the preRoutingRule method or the preRouting method, then you must explicitly copy the changed property to the outbound message by using Oracle Mediator assignment functionality. For example, if you are changing the jca.file.FileName property in a Java callout, then you must update the Oracle Mediator assignment statement as follows: assign copy target=out.property.jca.file.FileName expression=in.property.jca.file.FileName assign Table 19–5 Description of Methods in the CalloutMediatorMessage Interface Method Description addPayload This method sets a payload of the Oracle Mediator messages. addProperty This method adds a property to the Oracle Mediator messages. addHeader This method adds a header to the Oracle Mediator messages. getProperty This method retrieves Oracle Mediator message properties by providing the property name. getProperties This method retrieves Oracle Mediator message properties. getId This method retrieves the instance ID of the Oracle Mediator messages. This instance ID is the Oracle Mediator instance ID created for that particular message. getPayload This method retrieves a payload of the Oracle Mediator messages. getHeaders This method retrieves a header of the Oracle Mediator messages. getComponentDN This method retrieves a componentDN for the Oracle Mediator service component. Notes: ■ The oracle.tip.mediator.common.api.AbstractJavaCallou tImpl class is a dummy implementation 1 of the IJavaCallout interface. This class defines all the methods present in the IJavaCallout interface. Therefore, you can extend this class to override only a few specific methods of the IJavaCallout interface. ■ Details of the processing occurring within the Java callout are not displayed in the Oracle Mediator audit trail screen. 1 Dummy implementation of an interface means that the implementation class provides definitions for all the methods declared in the particular interface, but one or more defined methods may have an empty method body. Extending a dummy implementation class is much easier because you can choose to override only a subset of the methods, unlike implementing an interface and defining all the methods.