Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
bdurand
Creator
Creator

[resolved] Simple route to use cTalendJob

Hi,
I'm new in ESB world.
With a route I try to send a message from myActiveMQ to a subjob with TOS 6.2.1.
The code in the subjob is never executed. If I copy the doc example with the cSetHeader and the constant body it works.
the code in cProcessor is : 
context.mybody=exchange.getIn().getBody(String.class);
System.out.println("context : "+context.mybody );
//auto propagate ???
exchange.getOut().setBody(exchange.getIn().getBody());
exchange.getOut().setHeaders(exchange.getIn().getHeaders());

Please, any idea what I don't do correctly ?
What is the best way to send data to a subjob ?
Best regards,
Ben
0683p000009MD8d.png 0683p000009MD31.png
Labels (2)
1 Solution

Accepted Solutions
bdurand
Creator
Creator
Author

OK, my route was named useMantis, same name for the job >> doesn't work. 

View solution in original post

1 Reply
bdurand
Creator
Creator
Author

OK, my route was named useMantis, same name for the job >> doesn't work.