One Star

[resolved] Pass SOAP message from job to route

Hi! I currently have started using TOS 5.5.1 and I've stuck in one problem. 
I have a job that calls web service and reads its response tFixedFlowInput=>tXMLMap=>tESBConsumer=>tRouteOutput and tRouteInput just to be able to connect this job with route.
This example works great, it sens soap message and receive response as expected but I cannot figure out how to pass this soap response message to route? 
I have used something like this:
cTimer=>cTalendJob=>cMessageRouter (and so on) but it looks like cTalendJob don't pass my soap message as output.
Thanks in advance. 
1 ACCEPTED SOLUTION

Accepted Solutions
Employee

Re: [resolved] Pass SOAP message from job to route

Hi,
to pass response back to route you just need to put tMap component between tESBConsumer and tRouteOutput.
In the tRouteOutput edit schema and add column: body (Document type). And after that set type Body for this column in 'Camel' table.
In the tMap just link tESBConsumer.payload and tRouteOutput.body.
By this response document will be sent back to route.
Thanks,
Yuri
1 REPLY
Employee

Re: [resolved] Pass SOAP message from job to route

Hi,
to pass response back to route you just need to put tMap component between tESBConsumer and tRouteOutput.
In the tRouteOutput edit schema and add column: body (Document type). And after that set type Body for this column in 'Camel' table.
In the tMap just link tESBConsumer.payload and tRouteOutput.body.
By this response document will be sent back to route.
Thanks,
Yuri