Procedure for adding properties like confidentiality, priority, etc... 

Step-by-step guide

You can add your own user-defined property which will be included in the message header.

The way to do it is by:

Adding the property in the sending and receiving Pmode like in the following example where a new property called lastnameProperty is created:

<properties>

                                                <property name="originalSenderProperty"

                                                                                key="originalSender"

                                                                                datatype="string"

                                                                                required="true"/>

                                                <property name="finalRecipientProperty"

                                                                                key="finalRecipient"

                                                                                datatype="string"

                                                                                required="true"/>

                                                <property name="lastnameProperty"

                                                                                key="lastname"

                                                                                datatype="string"

                                                                                required="true"/>

                                                <propertySet name="eDeliveryPropertySet">

                                                                <propertyRef property="finalRecipientProperty"/>

                                                                <propertyRef property="originalSenderProperty"/>

                                                                <propertyRef property="lastnameProperty"/>

                                                </propertySet>


The next step is to send a message using metadata.xml (fs plugin example) where the property value is set like here:

<MessageProperties>

        <!--1 or more repetitions:-->

        <!--originalSender and finalRecipient are mandatory-->

        <Property name="originalSender">urn:oasis:names:tc:ebcore:partyid-type:unregistered:C1</Property>

        <Property name="finalRecipient">urn:oasis:names:tc:ebcore:partyid-type:unregistered:C4</Property>

        <ns:Property name="lastname">SMITH</ns:Property>

    The message.xml file received will then include the new property.

  • No labels