-
Jun 16th, 2012, 10:18 AM
#1
a seperate jms template for each queue
Hi,
I am writing an application, where i need to take messages from db queues(multiple queues) and put into active mq queues(multiple queues).
I am initializing a separate jms template for each active mq queue. But the throughput is sharing. I mean to say, the throughput which i am achieving with one queue(one jms template) is same as the summarized throughput achieved with multiple queues (multiple jms templates).
when only one jms template(for queue FOO.TEST_QUEUE1) is there, i am able to push 360 messages/10 seconds
with three jms templates(for queues FOO.TEST_QUEUE1, FOO.TEST_QUEUE2, FOO.TEST_QUEUE3) also i am able to push the same number of messages. that means 360 messages/10 seconds summarizing all the jmstemplates throughput. 120 messages with each jms template.
more info.
I tried giving a separate connectionfactory for each jms template. but no improvement.
Can anyone help?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules