You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Jason Jackson <ja...@itechag.com.INVALID> on 2024/03/27 15:10:46 UTC

ActiveMQ Classic to IBM MQ Bridge Throughput

I am using ActiveMQ Classis 5.18.3, I am working on upgrading to 6.1.0.

Until I am able to perform the update I have created a bridge using Spring/Camel built into ActiveMQ to IBM MQ.

I am able to connect to IBM MQ and send/receive message without any issues.

My ActiveMQ to IBM MQ bridge begins and uses the following:

	<bean id=QMGR1" class="org.apache.camel.component.jms.JKmsComponent">
		<property name="configuration">
			<bean class="org.apache.camel.component.jms.JmsConfiguration">
				<property name="connectionFactory">
					<bean calss="com.ibm.mq.jms.MQQueueConnectionFactory">

While the connection works and messages are passed the issue I am experiencing is with throughput.  I am only ale pass approximately 63 messages per second.

Does anyone have any suggestion on what changes could possibly be made to increase the message throughput between the two products?

Jason


RE: ActiveMQ Classic to IBM MQ Bridge Throughput

Posted by Jason Jackson <ja...@itechag.com.INVALID>.
Thnks for the information

I was working on caching but the Camel that is shipped with ActiveMQ does not appear to provide the same functionality and/or use the same settings that a full Camel installation provides; there is also the possibility I am setting something incorrectly as well.

Are there are suggestions on how caching should be set-up/configure for Spring/Camel within an ActiveMQ instance?

As for concurrentConsumers I am using this option, I set a minimum and maximum number.  I have noticed that there appears to be a threshold hit on the maximum number of consumers; any number above 50 does not make a difference.

Jason Jackson
Senior Manager

Main Office: 703-639-0709
Direct: 202-888-3973
Cellular: 863-370-5324
Fax: 571-431-7618
http://www.itechag.com/



-----Original Message-----
From: Anton Roskvist <an...@apache.org>
Sent: Thursday, March 28, 2024 11:03 AM
To: users@activemq.apache.org
Subject: Re: ActiveMQ Classic to IBM MQ Bridge Throughput

[You don't often get email from antonr@apache.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Hi Jason,

There are quite a few variables to consider for this, but from the top of my head I'd suggest you look into increasing the "cache-level" and "concurrentConsumers" properties of camel-jms and possibly provide pooling or caching of your connections using something like Springs "CachingConnectionFactory" or PooledJMS (https://github.com/messaginghub/pooled-jms").

Strong YMMV disclaimer depending on your specific setup and requirements though, make sure to test these things properly.

Re: ActiveMQ Classic to IBM MQ Bridge Throughput

Posted by Anton Roskvist <an...@apache.org>.
Hi Jason,

There are quite a few variables to consider for this, but from the top of my head I'd suggest you look into increasing the "cache-level" and "concurrentConsumers" properties of camel-jms and possibly provide pooling or caching of your connections using something like Springs "CachingConnectionFactory" or PooledJMS (https://github.com/messaginghub/pooled-jms").

Strong YMMV disclaimer depending on your specific setup and requirements though, make sure to test these things properly.