You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "kevinboone (via GitHub)" <gi...@apache.org> on 2024/03/08 07:54:54 UTC

[I] jms-amqp-10-sink opens a new connection for each exchange [camel-kamelets]

kevinboone opened a new issue, #1936:
URL: https://github.com/apache/camel-kamelets/issues/1936

   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.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org