Hi
PAX Jms should not degrade the performance. It depends how do you compare, especially the connection factory and the pooling.
How did you configure the connection factory in your bundle ?
Regards
JB
--
--
------------------
OPS4J - http://www.ops4j.org - op...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/dc425a85-23d9-4f47-a855-9d9d96a70689%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
To unsubscribe from this group and stop receiving emails from it, send an email to op...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to op...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/3c8d060e-8f7b-4c47-aee3-1b955d217aef%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/13c998f7-3dc2-4a5e-b894-8622ce1dbad4%40googlegroups.com.
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 of sessions (some producing, some consuming). In Camel, you
can define the number of sessions per connection.
For consuming, you can use the receive() method or a MessageListener. The session is also where you define the ACK mode (AUTO, CLIENT, DUPS, TRANSACTED).
If you need more details, don't hesitate to ping me directly ;)
Regards
JB
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/0f4804ab-4425-4a3d-a830-4d021f07422f%40googlegroups.com.
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
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/f44f861b-9793-4155-af05-57a60182c5a4%40googlegroups.com.
Why don't you set the connection factory directly on the camel-jms URI ?
For instance: <from uri="jms:queue:foo?connectionFactory=#jmsConsumerConnectionFactory"/>
Regards
JB
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/67d50e80-2975-4db6-b999-7a93066d0aaf%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/5cf80056-ba28-4ede-acb8-e704e1460ebe%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/c2367cf3-3cf6-4eca-ac4d-da340eed8273%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/a021ebc8-3de4-4e89-b7e2-beb318d8a961%40googlegroups.com.
I will take a look on your code.
I keep you posted later today.
Regards
JB
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/b608ac0c-1125-42fc-9f09-602a65a1d0e3%40googlegroups.com.
Hi:
Yes, that doesn't have a pool config right now. I was testing with and without pool configs in pax-jms, but then I might have pushed the one without pool config.I had to switch to blueprint based provider as I was able to process just 2-3 messages per second(with pax-jms) compared to 200-300 messages per second (with blueprint-based connectionfactory provider).I will investigate this and try to get a better picture of this problem, following your suggestion.I will post back on this thread if I manage to get the results.
Thank you.and wish you a nice holiday :)
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/b608ac0c-1125-42fc-9f09-602a65a1d0e3%40googlegroups.com.