Adding Custom Language Fields

You can add custom fields to MATRIXX Data Containers (MDCs) to hold custom language information, such as a product offer name in Arabic, which are included in Event Detail Records (EDRs) and notifications.

Custom fields require that you create an MDC to hold your attributes (for example, "Name_EN" and "Name_AR"). After you have added the fields to a custom MDC, you must select the custom MDC as the Product Offer Extension MDC and set the values. The values will be automatically populated in events and notifications.

In addition to adding the fields to a custom MDC, you must do the following:

  • In mtx_notifier_camel.xml, add a new Camel processor/bean after the following:
    messageParser <!-- NotificationMessageParser -->
    		  <to uri=
    		  "messageParser"
    		   />
  • In the new processor/bean, extract the custom attributes and add them into the Exchange's header map.
  • In the notification templates, use the following construct to access the new attributes:
    	$ {header.newKey}