You are not logged in.
Is it possible for customizing the SAM schema . I need to capture and log some additioanl custom attributes in SAM table in addition to th ddfault ones .
For eg , like the product ID which is business data needs to be logged . Can I alter SAM schema to include xustom attributes ?
currently you cannot modify the SAM schema, but we have an additional table (EVENTS_CUSTOMINFO) where you can add additional custom key / value pairs for a given SAM event. To add additional values to a SAM event you have to provide a Handler class, which adds the values. TESB already provide some sample handlers, the most interesting for your use case will be the CustomInfoHandler (https://github.com/Talend/tesb-rt-se/bl … ndler.java). I would suggest to take it as starting point for your specific handler. Chapter 4.5.3. of the 'Talend ESB Infrastructure Services Configuration Guide' describes how to add the handler to your application. You might also want to have a look into our SAM sample located at $TESB_HOME/examples/talend/tesb/sam/sam-example-client in our distribution, which shows how to integrate and use the CustomInfoHandler.
Hi , I fail to understand how to add the handlers to my service . The documentation says "Next, add a CustomInfoHandler to your application service or client".
What exactly does this mean . In my scenario
1)I create a proxy service using the cxf route in talend open studio .
2) From the studio this is packaged and placed in karaf runtime - ( the deploy folder ) .
In the above two steps nvolved where can add the handlers ( as docuemnted )
Appreciate your help