Web Service acting as a router

Five Stars

Web Service acting as a router

Hi!

 

I have Talend Open Studio for ESB and I am trying to create a web service that will act as a router to other web services based on an input parameter.

 

From what i gather i would have something like this:

tESBProviderRequest -> (some component that can choose the correct WS to invoke based on the XML parameter) ->

     tESBConsumer1 -> tESBProviderResponse1

     tESBConsumer2 -> tESBProviderResponse2

     tESBConsumer3 -> tESBProviderResponse3

 

Can anyone point me in the right direction as to which component i can use to make the selection?

 

Thanks

 

Forteen Stars

Re: Web Service acting as a router

do You already check provided by Talend Studio demo Jobs?

for example with name "ContextBasedRoute"?

 

if You want work with DI part and use exactly tESBProviderRequest/tESBProviderResponse

You can use run-If trigger and route job by parameters

-----------
Five Stars

Re: Web Service acting as a router

I checked the content based routing but I am having difficulty finding out how to configure the When Trigger. How would I build a simple language expression that compares the value of a parameter?

Let's say I have an input parameter in my web service called Operation, I tried ${body.Operation} == 'something' but it doesn't work. Is there any tutorial on this apart from the apache camel simple page?

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read