You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
Hi ,
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 ?
thanks
danny
Offline

Danny,
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.
Regards,
Zsolt
Offline
Many Thanks zsolt forr the reply , I will try out
Offline
Whiel using the handlers , is it possible to access data /info from soap header ?
the data needed to be logegd is sent to ESba s soap header .
Otherwise i need to chnage the WSDL , any suggestions please
Offline
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
regards
danny
Offline
Pages: 1