Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Donatien1
Partner - Contributor III
Partner - Contributor III

Multithreading with cJMS

Hello everyone,

 

I'm new with Talend ESB but I worked a lot with other ESB like Tibco Business Works, Oracle Service Bus or IBM Websphere Message Broker.

 

I'm trying to create a multithreading element with a cJMS component, with one cJMS I would like to have many consumer on a same queue.

With other ESB, I just have to set the number of connections, but with Talend ESB, I have checked the "Used pooledConnectionFactory" and set the MaxConnections to 10 and MaxActive to 10.

The result doesn't correspond to what I need, I got only one listener on my queue.

 

Is anyone can help me?

 

Donatien

Labels (2)
1 Solution

Accepted Solutions
Donatien1
Partner - Contributor III
Partner - Contributor III
Author

Hello Sabrina,

 

Yes I have set the connection pool, but no differences on my tests.

You can find screenshots in attachment.

 

Regards.

Donatien


config_cJMS.PNG
config_CMQConnFact.PNG
JMS_multithread_design.PNG

View solution in original post

5 Replies
Anonymous
Not applicable

Hello,

You can use the mediation routes (Camel routes) where you can control the parallelism using the ActiveMQ connection pool settings.

Would you mind posting your current route design screenshot on forum?

Best regards

Sabrina

Donatien1
Partner - Contributor III
Partner - Contributor III
Author

Hello Sabrina,

 

Yes I have set the connection pool, but no differences on my tests.

You can find screenshots in attachment.

 

Regards.

Donatien


config_cJMS.PNG
config_CMQConnFact.PNG
JMS_multithread_design.PNG
Anonymous
Not applicable

Hello,

For your cJMS connections, the Connection Pools are not created? Is there any error message?

Can you please clarify in which Talend version/edition you are?

Best regards

Sabrina

Donatien1
Partner - Contributor III
Partner - Contributor III
Author

Hello,

 

I have stop the project for weeks and when I go on it again, my tests are working with the configuration that is describe in my previous message.

I don't know why it does not work before...

 

Regards

Anonymous
Not applicable

Hello,

Feel free to let us know if there is any problem for your job.

Best regards

Sabrina