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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

reQueue message if SOAP calls fails

Hi Community !

 

I'm quiet new to Talend and i'm still learning but here's my issue :

 

I've a route which takes a xml message from the Queue and pass it to the cSOAP component.

I'd like to find a way to requeue the message if the SOAP call fails, is it possible ? 

Should i use a job to do that ?

 

 0683p000009M27W.png

It currently uses a cErrorHandler but it doesn't fit my needs.

 

I use :

- Talend ESB 7.1.1.20181026_1147

- ActiveMQ

 

Thanks !

Labels (4)
13 Replies
Anonymous
Not applicable
Author

Hello !

 

When you says :

 

2) after your Exception component, add a cSetBody that will put your property into 
the body again, then add a cJMS component to send the message back to the queue.

 cErrorHandler can't be a start Node. 

 

0683p000009M248.png

Loko
Creator II
Creator II

Hi

Instead of gfcErrorHandler, use cOnexception --> cProcessor

 

Then you can call any java code you want, in cProcessor or from a bean for easier development.

Anonymous
Not applicable
Author

Hi !


Thanks for your help, i'll try to make it work following your guidance. I'm not used to ESB routes so i need to learn 0683p000009MAB6.png

 

  use a cSetProperty to store the initial message body into a property


Not sure how i can do that .... 

Loko
Creator II
Creator II

cProcessor : 

exchange.getIn().setProperty( "pInitialBody", exchange.getIn().getBody(String.class)) ;