<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Restricting the number of JMS / MQ connections made by the OSB</title>
	<atom:link href="http://blog.xebia.com/2009/12/02/restricting-the-number-of-jms-mq-connections-made-by-the-osb/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.xebia.com/2009/12/02/restricting-the-number-of-jms-mq-connections-made-by-the-osb/</link>
	<description>Software development done right!</description>
	<lastBuildDate>Wed, 08 Feb 2012 14:41:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Nikhil</title>
		<link>http://blog.xebia.com/2009/12/02/restricting-the-number-of-jms-mq-connections-made-by-the-osb/#comment-113764</link>
		<dc:creator>Nikhil</dc:creator>
		<pubDate>Thu, 24 Nov 2011 04:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=3781#comment-113764</guid>
		<description>Hi,

We have 2 clustered weblogic servers (3 managed servers in each cluster and 1 jms server per managed server). The PS on 1st cluster is reading from a JMS queue on 2nd cluster. I noticed that the number of threads i.e consumers seen on the JMS queue was 32 on each JMS server in the 2nd cluster (this should be usually 16). When i create a workmanager in 1st cluster and give thread count as 2, the expected result is that each jms server should show 2 as consumer count i.e 6 threads for 3 managed servers but instead i see 4 as consumer count on each server i.e 12 threads for 3 managed servers. Is this a known issue?

Regards,
Nikhil</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>We have 2 clustered weblogic servers (3 managed servers in each cluster and 1 jms server per managed server). The PS on 1st cluster is reading from a JMS queue on 2nd cluster. I noticed that the number of threads i.e consumers seen on the JMS queue was 32 on each JMS server in the 2nd cluster (this should be usually 16). When i create a workmanager in 1st cluster and give thread count as 2, the expected result is that each jms server should show 2 as consumer count i.e 6 threads for 3 managed servers but instead i see 4 as consumer count on each server i.e 12 threads for 3 managed servers. Is this a known issue?</p>
<p>Regards,<br />
Nikhil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tjeerd Kaastra</title>
		<link>http://blog.xebia.com/2009/12/02/restricting-the-number-of-jms-mq-connections-made-by-the-osb/#comment-100127</link>
		<dc:creator>Tjeerd Kaastra</dc:creator>
		<pubDate>Thu, 03 Feb 2011 09:27:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=3781#comment-100127</guid>
		<description>Hi Ernie,

Well, actually the service bus by default uses simultaneous processing. These workmanagers work per node so if your cluster uses two nodes, both of them actually use at least one thread to read the queue. And hence there is a fair chance that you will have two messages processed simultaneous.
I guess I do not have an out-of-the-box solution to this. WebLogic JMS has the unit-of-work settings to achieve this but I am not sure if you can use the same solution with MQ (over JMS).

Best regards,


Tjeerd</description>
		<content:encoded><![CDATA[<p>Hi Ernie,</p>
<p>Well, actually the service bus by default uses simultaneous processing. These workmanagers work per node so if your cluster uses two nodes, both of them actually use at least one thread to read the queue. And hence there is a fair chance that you will have two messages processed simultaneous.<br />
I guess I do not have an out-of-the-box solution to this. WebLogic JMS has the unit-of-work settings to achieve this but I am not sure if you can use the same solution with MQ (over JMS).</p>
<p>Best regards,</p>
<p>Tjeerd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ernie Mcginty</title>
		<link>http://blog.xebia.com/2009/12/02/restricting-the-number-of-jms-mq-connections-made-by-the-osb/#comment-100027</link>
		<dc:creator>Ernie Mcginty</dc:creator>
		<pubDate>Mon, 31 Jan 2011 18:48:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=3781#comment-100027</guid>
		<description>Hi, I have a requirement to use an OSB MQ proxy service to pick messages off of a queue one at a time sequentially.  How do these settings work in a clustered environment, there is nothing that indicates an active passive configuration like the MQ JCA adapter has with it&#039;s singleton property.  How do I know that for 2 OSB servers each isn&#039;t taking request off of the queue concurrently?</description>
		<content:encoded><![CDATA[<p>Hi, I have a requirement to use an OSB MQ proxy service to pick messages off of a queue one at a time sequentially.  How do these settings work in a clustered environment, there is nothing that indicates an active passive configuration like the MQ JCA adapter has with it&#8217;s singleton property.  How do I know that for 2 OSB servers each isn&#8217;t taking request off of the queue concurrently?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tjeerd Kaastra</title>
		<link>http://blog.xebia.com/2009/12/02/restricting-the-number-of-jms-mq-connections-made-by-the-osb/#comment-96633</link>
		<dc:creator>Tjeerd Kaastra</dc:creator>
		<pubDate>Mon, 27 Sep 2010 08:58:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=3781#comment-96633</guid>
		<description>Hi Krishna,

If I understand this correctly, you are trying to use the MaxThreadsConstraint to restrict the number of messages that may be handled simultaneous. But to achieve this, you should use Throttling. The MaxThreadsConstraint only limits the number of threads which can be used for example to limit the number of listening threads on a queue. You can check the number of open connections from your OSB server to your JMS server to see that this setting works (e.g. by using netstat or lsof on unix to see the established tcp connections).

Throttling on the other hand limits the number of messages that can be processed by the business service. So if your business service cannot cope with too many concurrent messages, you can edit your business service and go to the Operational Settings tab. There you can set the Throttling State to enabled and enter the number of simultaneous messages in the field Maximum Concurrency. 
You could also set the max no. of messages to be held back in the Throttling Queue setting or the max wait time in Message Expiration but beware that these settings might remove messages if the load gets high!

I hope that this explains things better. Regards, Tjeerd</description>
		<content:encoded><![CDATA[<p>Hi Krishna,</p>
<p>If I understand this correctly, you are trying to use the MaxThreadsConstraint to restrict the number of messages that may be handled simultaneous. But to achieve this, you should use Throttling. The MaxThreadsConstraint only limits the number of threads which can be used for example to limit the number of listening threads on a queue. You can check the number of open connections from your OSB server to your JMS server to see that this setting works (e.g. by using netstat or lsof on unix to see the established tcp connections).</p>
<p>Throttling on the other hand limits the number of messages that can be processed by the business service. So if your business service cannot cope with too many concurrent messages, you can edit your business service and go to the Operational Settings tab. There you can set the Throttling State to enabled and enter the number of simultaneous messages in the field Maximum Concurrency.<br />
You could also set the max no. of messages to be held back in the Throttling Queue setting or the max wait time in Message Expiration but beware that these settings might remove messages if the load gets high!</p>
<p>I hope that this explains things better. Regards, Tjeerd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krishna</title>
		<link>http://blog.xebia.com/2009/12/02/restricting-the-number-of-jms-mq-connections-made-by-the-osb/#comment-96601</link>
		<dc:creator>krishna</dc:creator>
		<pubDate>Fri, 24 Sep 2010 19:24:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=3781#comment-96601</guid>
		<description>Hi,

I tried using this approach for setting MaxThreadsConstraint for a proxy service in OSB 11g. But i dont think its actually working. When i give concurrent requests at a time. It simply pass overs everything with out any delay. I am not able to confirm that the DIspatch policy Max Trheads constraint is working. Could you please help. Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I tried using this approach for setting MaxThreadsConstraint for a proxy service in OSB 11g. But i dont think its actually working. When i give concurrent requests at a time. It simply pass overs everything with out any delay. I am not able to confirm that the DIspatch policy Max Trheads constraint is working. Could you please help. Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  blog.xebia.com/2009/12/02/restricting-the-number-of-jms-mq-connections-made-by-the-osb/feed/ ) in 0.49653 seconds, on Feb 9th, 2012 at 9:31 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 9th, 2012 at 10:31 pm UTC -->
