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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

What is the purpose of routePolicy in ESB ?

Hi,

 

I have one route already created. I'm trying to understand that.

 

Here is the structure.

 

cConfig component 

 

import org.apache.camel.impl.ThrottlingInflightRoutePolicy;

ThrottlingInflightRoutePolicy maxInflightPolicy = new ThrottlingInflightRoutePolicy();
maxInflightPolicy.setMaxInflightExchanges(20);

 

My First Question here is, Is setMaxInflightExchanges count is the max number of messages which can fit inside a queue ?

 

 

cFile--->cJavaDSLProcessor----->cSetHeader----->cLog----->cSetHeader--->cConvertBodyTo---->cMessageRouter--->SoOn------

 

Below are the component's settings:

 

1) In cFile there is some directory path is present 

 

Question: Does cFile read files or just pass the name and path of file ? What's happening in this case ? Does cFile always receive the path of file from queue set up in route ?

 

 

2) In cJavaDSL Processor below code is mentioned

 

.handleFault().routePolicy(maxInflightPolicy).threads(15).maxPoolSize(25)

 

Question: What's the purpose of this code ?  I'm not able to find these method anywhere online. Could please anyone help to understand this ?

 

3) In cSetHeader component follow details are mentioned

 

Name(MessageInterface)  Language(Constant) value("0") 

 

Question: This component is setting header with a name of MessageInterface and value is "0". What does it means ? What's a purpose behind that ?

 

Thanks in advance...!

 

 

 

 

 

 

 

 

Labels (2)
2 Replies
Anonymous
Not applicable
Author

Hello,

We have redirected your issue to our ESB experts and will keep you posted.

Thanks for your time.

Best regards

Sabrina

Anonymous
Not applicable
Author