HTTP listener process to receive the responses

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
times29
Premium Member
Premium Member
Posts: 202
Joined: Mon Sep 22, 2008 3:47 pm

HTTP listener process to receive the responses

Post by times29 »

Requestors of the Sync Contact service can initiate the service via MQ Series or HTTP(S) via the FxHub ESB based on the requestor's preference. In either case, the service will act asynchronously. The FxHub ESB will pass the request to the Routing Adapter Service and to the CRM Siebel environment and receive the Acknowledge response using MQ Series. The FxHub ESB will then route the response back to the requestor using MQ Series or HTTP(S) again based on the requestor's preference. We can even support splitting the request and response between protocols (request in HTTP, response in MQ). Since the service runs asynchronously, a requestor must develop a process to pull responses from the MQ queue or develop an HTTP listener process to receive the responses. Responses should be correlated to a request to ensure proper end to end execution.


Quick question on above article

Does datastage support HTTP listener process to receive the responses.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

I think you would need to use Information Services Director for that.
Choose a job you love, and you will never have to work a day in your life. - Confucius
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

...ISD is definitely a possibility, using its generic "Text over HTTP" binding, but ISD is more geared towards request/response patterns, and this one sounds more like a pure simplistic "ETL" pattern.... "wait for some data, and then write that into a target database". ISD feels like more complexity than is needed.

A simpler and easier way to do this would be to write a Java Class that does the kind of listening that you want/need, and then the appropriate parsing of what arrives, and sends it downstream for further processing.

Use the Java Pack or if in 9.1 or higher, the Java Integration Stage. There are lots of examples on how to integrate the classes into your Jobs, and the average Java programmer can probably put something together with HTTP fairly easily.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Post Reply