Re: Does pax-jms degrade the overall performance?

2019-06-18 Thread Grzegorz Grzybek
Hello But as you wrote, you had this blueprint: ... ... which means it's not related to pax-jms. But additionally you added pax-jms configuration (factory PID) that does one th

Re: Problems running pax exam with openjdk-11

2019-06-18 Thread Steinar Bang
> Freeman Fang : > You run into this error when building latest karaf master branch with JDK11? Yes. -- -- -- OPS4J - http://www.ops4j.org - ops4j@googlegroups.com --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe

Re: Does pax-jms degrade the overall performance?

2019-06-18 Thread Kushal Gautam
Hi: Here's what I have observed. If I provide the broker service by installing the broker bundle as an artifact (using the blueprint configuration as I had shared before), then there are altogether 41 connections(one is of Temp Advisory queue, I guess), because max-connections is set to 20 for

Re: Does pax-jms degrade the overall performance?

2019-06-18 Thread Kushal Gautam
I am using it like this: from("eai-consumer:queue:foo.xx.yy") ... ... Is there a performance lag for this as well ? On Tuesday, June 18, 2019 at 4:06:20 PM UTC+2, Jean-Baptiste Onofré wrote: > > Why don't you set the connection factory directly on the camel-jms URI ? > > For instance: uri="jm

Re: Does pax-jms degrade the overall performance?

2019-06-18 Thread Jean-Baptiste Onofré
Why don't you set the connection factory directly on the camel-jms URI ? For instance: Regards JB On 18/06/2019 16:02, Kushal Gautam wrote: > well, I am using them as: > > interface="javax.jms.ConnectionFactory" > filter="(osgi.jndi.service.name=jms/eai.consumer)" > availability="mandatory" />

Re: Does pax-jms degrade the overall performance?

2019-06-18 Thread Kushal Gautam
well, I am using them as: On Tuesday, June 18, 2019 at 3:59:28 PM UTC+2, Jean-Baptiste Onofré wrote: > > If you have two ConnectionFactory services, maybe you use only one > service, that would explain why you only have one connection (with o

Re: Does pax-jms degrade the overall performance?

2019-06-18 Thread Jean-Baptiste Onofré
If you have two ConnectionFactory services, maybe you use only one service, that would explain why you only have one connection (with one producer and one consumer). Regards JB On 18/06/2019 15:52, Kushal Gautam wrote: > Hi: > > ok. that's what I thought. > > So, here is my scenario. I have 4 kar

Re: Does pax-jms degrade the overall performance?

2019-06-18 Thread Kushal Gautam
Hi: ok. that's what I thought. So, here is my scenario. I have 4 karaf instances, and each instance has two pax-jms configurations(one for producer and one for consumer). But, in the connections tab, I see just one connection per instance. Is this a normal behavior? Because, I have two pax-jms

Re: Does pax-jms degrade the overall performance?

2019-06-18 Thread Jean-Baptiste Onofré
Hi, That's the way JMS works. You create a ConnectionFactory. The connection factory provides connections. A connection provides several sessions. A session is single threaded, and "assigned" to an action (consume or produce). So, inside a single connection (for one client), you can have bunch

Re: Does pax-jms degrade the overall performance?

2019-06-18 Thread Kushal Gautam
Hi again: I have a query on this issue. >From the connections tab in the activemq webconsle, I see that my hundreds of connections are reduced to very few connections. That helped me resolve some jms-error issues, where my packets were being dropped because my broker was overloaded. When I lo