How to change field names in a list

How to change field names in a list

book

Article ID: KB0074540

calendar_today

Updated On:

Products Versions
TIBCO Streaming 10.4 and later

Description

I have a requirement to change the field names of the list elements matching to a target prefix name.  This prefix name changes frequently and is sometimes not known until deployment time.  How can I rename these list fields in TIBCO Streaming?

Resolution

Use the custom operator provided in the Escaped Identifier Mapper Community sample.  This sample may be loaded in Studio by going to File > Import Samples and Community Content.  This project contains a custom Java operator that performs the renaming according to a specified prefix that you choose.

Issue/Introduction

How to change field names in a list