IHeaderHelperBean.java Interface for headerHelperBean
The following example shows the IHeaderHelperBean.java
interface for the headerHelperBean
bean:
package oracle.soa.platform.component.spring.beans; /** * Interface for getting and setting header properties. * These properties will be set on the normalized message - and passed on * to the respective reference that the local reference is wired to on * composite level. * <br/> * To use this bean from within your context, declare property * with ref="headerHelperBean". E.g. * <property name="headerHelper" ref="<b>headerHelperBean</b>"/> */ public interface IHeaderHelperBean { /** * Get a property from the normalized message header. Note that these * properties are defined, and are the same ones, one can get/set via * mediator or bpel process * @param pKey the property key, case sensitive * @return the value, or null in case not found */ public String getHeaderProperty (String pKey); /** * Set a property on the normalized message header. Note that these * properties are defined, and are the same ones, one can get/set via * mediator or bpel process * @param pKey the property key, case sensitive * @param pValue the value to be set */ public void setHeaderProperty (String pKey, String pValue); }