Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

danny_john
2012-06-12 10:22:43

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

danny_john
2012-05-24 12:10:10

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

danny_john
2012-05-24 11:43:18

Many Thanks zsolt forr the reply , I will try out

zbe
2012-05-23 14:52:51

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

danny_john
2012-05-22 12:10:03

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

Board footer

Powered by FluxBB