Multithreading with cJMS

Six Stars

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


Accepted Solutions
Six Stars

Re: Multithreading with cJMS

Hello Sabrina,

 

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

You can find screenshots in attachment.

 

Regards.

Donatien


All Replies
Moderator

Re: Multithreading with cJMS

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

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: Multithreading with cJMS

Hello Sabrina,

 

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

You can find screenshots in attachment.

 

Regards.

Donatien

Moderator

Re: Multithreading with cJMS

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

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: Multithreading with cJMS

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

Moderator

Re: Multithreading with cJMS

Hello,

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

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.