Originally posted by: paul.brett
Using the IBM WebSphere TX Launcher Agent with the WTX Launcher as a simple web server is easy enough.
When you pair that with the RSS 2.0 Schema (available from here) you can make it a powerful RSS feed server as well!
Check out the enclosed example. I used a two map approach, with RUN() map caching de-activated, so that I could edit 'Test2' while the servers were running, and just hit refresh on my web page to see the results. Test1 is under the control of the Launcher, so any changes are only picked-up during a Launcher re-start.
The system has backups turned on by default, so a URL of 'http://ibmthink012057/listener?input1=abc' gives me an input backup of:
X-Session-Id: a,10:21:52.026
Content-Length: 0
Host: ibmthink012057
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Cache-Control: max-age=0
X-HTTP-Request-Line: GET /listener?input1=abc HTTP/1.1
and an output backup of:
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2">
<channel>
<title>IBM WebSphere TX</title>
<link>http://www.ibm.com</link>
<item>
<title>This is a response from the Launcher Agent and Launcher working together</title>
<description>Your input request was : abc</description>
</item>
</channel>
</rss>
Obviously the content I have used is somewhat lacking, but you can see the basic technique. Anything the WTX server can get to, can be transformed, and published in an RSS feed.
Thank-you.
Paul
Follow me on Twitter
#IBM-Websphere-Transformation-Extender#DataExchange#IBMSterlingTransformationExtender