Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JMS Kamelets: Support connection pooling #1936

Open
kevinboone opened this issue Mar 8, 2024 · 0 comments
Open

JMS Kamelets: Support connection pooling #1936

kevinboone opened this issue Mar 8, 2024 · 0 comments
Assignees
Milestone

Comments

@kevinboone
Copy link

In a simple route like the one below, I observe that the jms-amqp-10-sink is opening, using, and closing a new connection for each exchange that is generated.

public class Hello extends RouteBuilder
   {
   @Override
   public void configure() throws Exception {

   from("timer:java?period=1000")
     .setBody()
     .simple ("Hello, World")
     .log ("${body}")
     .to ("kamelet:jms-amqp-10-sink?remoteURI=amqp://localhost:61616&destinationName=foo");
     }
}

It would be nice if connection could be pooled in some way. It would be even nicer if the pooling parameters could be made configurable.

Tested on version 4.4.0 of Camel-JBang.

@oscerd oscerd self-assigned this Mar 8, 2024
@oscerd oscerd added this to the 4.5.0 milestone Mar 8, 2024
@oscerd oscerd changed the title jms-amqp-10-sink opens a new connection for each exchange JMS Kamelets: Support connection pooling Mar 11, 2024
@oscerd oscerd modified the milestones: 4.5.0, 4.6.0 Apr 2, 2024
@oscerd oscerd modified the milestones: 4.6.0, 4.7.0 May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants