<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>deltalounge &#187; Messaging</title>
	<atom:link href="http://www.deltalounge.net/wpress/tag/messaging/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.deltalounge.net/wpress</link>
	<description>Service Orientation, Software Development, Oracle, Life Hacking</description>
	<lastBuildDate>Thu, 29 Jul 2010 20:15:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Program SOA Symposium 2010 available</title>
		<link>http://www.deltalounge.net/wpress/2010/07/progra-soa-symposium-2010/</link>
		<comments>http://www.deltalounge.net/wpress/2010/07/progra-soa-symposium-2010/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 13:02:47 +0000</pubDate>
		<dc:creator>PeterPaul</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Patterns]]></category>
		<category><![CDATA[Service Orientation]]></category>
		<category><![CDATA[Erl]]></category>
		<category><![CDATA[governance]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[Messaging]]></category>
		<category><![CDATA[Service]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[SOASymposium]]></category>
		<category><![CDATA[work smart]]></category>

		<guid isPermaLink="false">http://www.deltalounge.net/wpress/?p=936</guid>
		<description><![CDATA[The agenda for the SOA Symposium 2010 has been posted. Again there are very interesting sessions during this 2 day conference. The largest and most comprehensive in the field of SOA and Cloud Computing. The Real World SOA Case Studies track offers a great opportunity to learn from the experience of others. In this track [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.soasymposium.com/agenda2010.php">agenda</a> for the <a href="http://www.soasymposium.com/default.php">SOA Symposium 2010</a> has been posted. Again there are very interesting sessions during this 2 day conference. The largest and most comprehensive in the field of SOA and Cloud Computing. The <a href="http://www.soasymposium.com/track2010.php#case">Real World SOA Case Studies</a> track offers a great opportunity to learn from the experience of others. In this track you will find:</p>
<blockquote><p>Real-life accounts of successful and failed SOA projects discussed first-hand by those that experienced the project lifecycles and have a story to tell. These veteran practitioners will provide advice and insights regarding challenges, pitfalls, proven practices, and general project information that demonstrates the intricacies of implementing and governing service-oriented solutions in the real world. </p></blockquote>
<p>I will be presenting the first session in this track on <a href="http://www.soasymposium.com/agenda2010.php#using_a">Using a Service Bus to Connect the Supply Chain</a>. If you have any topics or questions in advance that you think I should address, please post them in the comments. Hope to meet you in Berlin.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deltalounge.net/wpress/2010/07/progra-soa-symposium-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring AQ</title>
		<link>http://www.deltalounge.net/wpress/2009/12/monitoring-aq/</link>
		<comments>http://www.deltalounge.net/wpress/2009/12/monitoring-aq/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 08:28:01 +0000</pubDate>
		<dc:creator>PeterPaul</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Service Bus]]></category>
		<category><![CDATA[Advanced Queueing]]></category>
		<category><![CDATA[AS]]></category>
		<category><![CDATA[Fusion Middleware]]></category>
		<category><![CDATA[Messaging]]></category>

		<guid isPermaLink="false">http://www.deltalounge.net/wpress/?p=589</guid>
		<description><![CDATA[Although there were already several posts on querying AQ, like &#8220;in the queue&#8221; and &#8220;enqueue&#8220;, the next one is great when monitoring queues. We are using this to monitor AQ, especially for Oracle ESB (hence the commented addition): 1 2 3 4 5 6 7 8 9 SELECT aq.name , aq.queue_table , aq.queue_type , v$aq.* [...]]]></description>
			<content:encoded><![CDATA[<p>Although there were already several posts on querying AQ, like &#8220;<a href="http://www.deltalounge.net/wpress/2009/04/what-is-in-the-oracle-advanced-queue/">in the queue</a>&#8221; and &#8220;<a href="http://www.deltalounge.net/wpress/2009/07/will-aq-enqueue-and-dequeue-messages/">enqueue</a>&#8220;, the next one is great when monitoring queues. We are using this to monitor AQ, especially for Oracle ESB (hence the commented addition):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> aq<span style="color: #66cc66;">.</span>name
<span style="color: #66cc66;">,</span>      aq<span style="color: #66cc66;">.</span>queue_table
<span style="color: #66cc66;">,</span>      aq<span style="color: #66cc66;">.</span>queue_type
<span style="color: #66cc66;">,</span>      v$aq<span style="color: #66cc66;">.*</span> 
<span style="color: #993333; font-weight: bold;">FROM</span>   v$aq
<span style="color: #66cc66;">,</span>      all_queues aq
<span style="color: #993333; font-weight: bold;">WHERE</span>  aq<span style="color: #66cc66;">.</span>qid <span style="color: #66cc66;">=</span> v$aq<span style="color: #66cc66;">.</span>qid
<span style="color: #808080; font-style: italic;">-- use if looking for ESB AQ: and    aq.queue_table = 'ESB_JAVA_DEFERRED';</span>
;</pre></td></tr></table></div>

<p>The query will result in something like:</p>
<p><a href="http://www.deltalounge.net/wpress/wp-content/uploads/2009/12/screenshot.54.jpg"><img src="http://www.deltalounge.net/wpress/wp-content/uploads/2009/12/screenshot.54.jpg" alt="Monitoring AQ query results" title="Monitoring AQ query results" width="731" height="148" class="alignleft size-full wp-image-597" /></a></p>
<p>It contains the following metrics:</p>
<ul>
<li>Waiting &#8211; Number of waiting message;</li>
<li>Ready &#8211; Number of messages with status ready;</li>
<li>Expired &#8211; Number of expired messages; </li>
<li>Total Wait &#8211; Total waiting time per queue; </li>
<li>Average Wait &#8211; Average waiting time per queue.</li>
</ul>
<p>A describtion of the AQ and Streams views can be found <a href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14257/aq_views.htm">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deltalounge.net/wpress/2009/12/monitoring-aq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tuning AQ for Oracle ESB</title>
		<link>http://www.deltalounge.net/wpress/2009/12/tuning-aq-for-oracle-esb/</link>
		<comments>http://www.deltalounge.net/wpress/2009/12/tuning-aq-for-oracle-esb/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 10:30:59 +0000</pubDate>
		<dc:creator>PeterPaul</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SOA Suite]]></category>
		<category><![CDATA[Service Bus]]></category>
		<category><![CDATA[Advanced Queueing]]></category>
		<category><![CDATA[AS]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[ESB]]></category>
		<category><![CDATA[Fusion Middleware]]></category>
		<category><![CDATA[JVM]]></category>
		<category><![CDATA[Messaging]]></category>

		<guid isPermaLink="false">http://www.deltalounge.net/wpress/?p=573</guid>
		<description><![CDATA[If you are using AQ within Oracle ESB there might be a point in time you want to tune AQ performance. In this post you&#8217;ll find the results of Metalink research, and our experience on a production system. Queue compatibility When creating the ORAESB schema (in version 10.1.3.3) using the script $ORACLE_HOME/integration/esb/sql/oracle/create_esb_topics.sql, the queues are [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using AQ within Oracle ESB there might be a point in time you want to tune AQ performance. In this post you&#8217;ll find the results of Metalink research, and our experience on a production system.</p>
<h3>Queue compatibility</h3>
<p>When creating the ORAESB schema (in version 10.1.3.3) using the script <code>$ORACLE_HOME/integration/esb/sql/oracle/create_esb_topics.sql</code>, the queues are created with 8.1 compatibility. This is solved in 10.1.3.4. To alter this find the statement</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;">dbms_aqadm<span style="color: #66cc66;">.</span>create_queue_table
    <span style="color: #66cc66;">&#40;</span> Queue_table <span style="color: #66cc66;">=&gt;</span> qtablename
    <span style="color: #66cc66;">,</span> Queue_payload_type <span style="color: #66cc66;">=&gt;</span> <span style="color: #ff0000;">'SYS.AQ$_JMS_TEXT_MESSAGE'</span>
    <span style="color: #66cc66;">,</span> multiple_consumers <span style="color: #66cc66;">=&gt;</span> true
    <span style="color: #66cc66;">,</span> compatible <span style="color: #66cc66;">=&gt;</span> <span style="color: #ff0000;">'8.1'</span>
    <span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>and change this to:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;">dbms_aqadm<span style="color: #66cc66;">.</span>create_queue_table
    <span style="color: #66cc66;">&#40;</span> Queue_table <span style="color: #66cc66;">=&gt;</span> qtablename
    <span style="color: #66cc66;">,</span> Queue_payload_type <span style="color: #66cc66;">=&gt;</span> <span style="color: #ff0000;">'SYS.AQ$_JMS_TEXT_MESSAGE'</span>
    <span style="color: #66cc66;">,</span> multiple_consumers <span style="color: #66cc66;">=&gt;</span> true
    <span style="color: #66cc66;">,</span> compatible <span style="color: #66cc66;">=&gt;</span> <span style="color: #ff0000;">'10.2'</span>
    <span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>if you already created the queues, use this statement:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;">dbms_aqadm<span style="color: #66cc66;">.</span>migrate_queue_table
    <span style="color: #66cc66;">&#40;</span> queue_table <span style="color: #66cc66;">=&gt;</span> <span style="color: #ff0000;">'ESB_JAVA_DEFERRED'</span>
    <span style="color: #66cc66;">,</span> compatible <span style="color: #66cc66;">=&gt;</span> <span style="color: #ff0000;">'10.2'</span>
    <span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>If you&#8217;re not sure check the compatibility with this query:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> queue_table
<span style="color: #66cc66;">,</span>      compatible
<span style="color: #66cc66;">,</span>      recipients
<span style="color: #993333; font-weight: bold;">FROM</span>   dba_QUEUE_tables
<span style="color: #993333; font-weight: bold;">WHERE</span>  owner <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'ORAESB'</span>
;</pre></td></tr></table></div>

<h3>Streams pool size</h3>
<p>Verify the current stream_pool_size using the following query:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> component
<span style="color: #66cc66;">,</span>      current_size<span style="color: #66cc66;">/</span><span style="color: #cc66cc;">1024</span><span style="color: #66cc66;">/</span><span style="color: #cc66cc;">1024</span> <span style="color: #ff0000;">&quot;CURRENT_SIZE&quot;</span>
<span style="color: #66cc66;">,</span>      min_size<span style="color: #66cc66;">/</span><span style="color: #cc66cc;">1024</span><span style="color: #66cc66;">/</span><span style="color: #cc66cc;">1024</span> <span style="color: #ff0000;">&quot;MIN_SIZE&quot;</span>
<span style="color: #66cc66;">,</span>      user_specified_size<span style="color: #66cc66;">/</span><span style="color: #cc66cc;">1024</span><span style="color: #66cc66;">/</span><span style="color: #cc66cc;">1024</span> <span style="color: #ff0000;">&quot;USER_SPECIFIED_SIZE&quot;</span>
<span style="color: #66cc66;">,</span>      last_oper_type <span style="color: #ff0000;">&quot;TYPE&quot;</span> 
<span style="color: #993333; font-weight: bold;">FROM</span>   v$sga_dynamic_components
;</pre></td></tr></table></div>

<p>look for the <strong>streams pool</strong>. There are several Metalink notes on this setting (including 316889.1, 102926.1 and 335516.1). The latter has a general recommandetion per RDBMS version:</p>
<ul>
<li>11g: set STREAMS_POOL_SIZE to be greater or equal to 100 MB;</li>
<li>10gR2: set SGA_TARGET > 0 and STREAMS_POOL_SIZE=0 to enable autotuning of the Streams pool;</li>
<li>10gR1: use the STREAMS_POOL_SIZE init.ora parameter to configure the Streams memory allocation;</li>
</ul>
<p>And of course you could use <code>V$STREAMS_POOL_ADVICE</code> to get advice for your specific situation.</p>
<h3>Upgrade the JDK</h3>
<p>A <a href="http://www.deltalounge.net/wpress/2009/11/oracle-esb-using-aq-on-aix-performance-boost/">described here</a> upgrading the JDK can also give a performance boost.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deltalounge.net/wpress/2009/12/tuning-aq-for-oracle-esb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Will AQ enqueue and dequeue messages</title>
		<link>http://www.deltalounge.net/wpress/2009/07/will-aq-enqueue-and-dequeue-messages/</link>
		<comments>http://www.deltalounge.net/wpress/2009/07/will-aq-enqueue-and-dequeue-messages/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 22:00:10 +0000</pubDate>
		<dc:creator>PeterPaul</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Advanced Queueing]]></category>
		<category><![CDATA[JMS]]></category>
		<category><![CDATA[Messaging]]></category>
		<category><![CDATA[queue]]></category>

		<guid isPermaLink="false">http://www.deltalounge.net/wpress/?p=296</guid>
		<description><![CDATA[Whether or not your Oracle Advanced Queue (AQ) will enqueue and dequeue messages can be determined with a simple query: 1 2 3 4 5 6 7 8 SELECT name , queue_table , enqueue_enabled , dequeue_enabled , max_retries , retry_delay FROM user_queues ; The query example is based on user_queues and in that case it [...]]]></description>
			<content:encoded><![CDATA[<p>Whether or not your <a href="http://en.wikipedia.org/wiki/Oracle_AQ">Oracle Advanced Queue</a> (AQ) will enqueue and dequeue messages can be determined with a simple query:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> name
<span style="color: #66cc66;">,</span>      queue_table
<span style="color: #66cc66;">,</span>      enqueue_enabled
<span style="color: #66cc66;">,</span>      dequeue_enabled
<span style="color: #66cc66;">,</span>      max_retries
<span style="color: #66cc66;">,</span>      retry_delay
<span style="color: #993333; font-weight: bold;">FROM</span>   user_queues
;</pre></td></tr></table></div>

<p>The query example is based on <code>user_queues</code> and in that case it has to be performed as the owner of the queue. The result wil be something like:<br />
<div id="attachment_298" class="wp-caption alignright" style="width: 760px"><img src="http://www.deltalounge.net/wpress/wp-content/uploads/2009/07/aq-enqueue-dequeue.jpg" alt="AQ enqueu dequeue" title="aq-enqueue-dequeue" width="750" height="438" class="size-full wp-image-298" /><p class="wp-caption-text">AQ enqueu dequeue</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.deltalounge.net/wpress/2009/07/will-aq-enqueue-and-dequeue-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is in the (Oracle Advanced) queue?</title>
		<link>http://www.deltalounge.net/wpress/2009/04/what-is-in-the-oracle-advanced-queue/</link>
		<comments>http://www.deltalounge.net/wpress/2009/04/what-is-in-the-oracle-advanced-queue/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 08:08:21 +0000</pubDate>
		<dc:creator>PeterPaul</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Service Bus]]></category>
		<category><![CDATA[Advanced Queueing]]></category>
		<category><![CDATA[JMS]]></category>
		<category><![CDATA[Messaging]]></category>

		<guid isPermaLink="false">http://www.deltalounge.net/wpress/?p=27</guid>
		<description><![CDATA[As a quick follow up on the previous post&#8230; If you are using a JMS queue with Oracle´s Advanced Queueing or Streams (as they have been extended to) the previously described tool can´t help you out. For this case a blog by a former colleague helps us out. This approach boils down to&#8230; Find the [...]]]></description>
			<content:encoded><![CDATA[<p>As a quick follow up on the previous post&#8230; If you are using a JMS queue with <a href="http://en.wikipedia.org/wiki/Oracle_Advanced_Queuing">Oracle´s Advanced Queueing</a> or <a href="http://www.oracle.com/technology/products/dataint/htdocs/streams_fo.html">Streams</a> (as they have been extended to) the <a href="http://www.deltalounge.net/wpress/archives/20">previously</a> described tool can´t help you out.</p>
<p>For this case a <a href="http://rwijk.blogspot.com/2009/02/whats-in-my-jms-queue.html">blog</a> by a former colleague helps us out. This approach boils down to&#8230;</p>
<h4>Find the queue you want to monitor.</h4>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> owner
<span style="color: #66cc66;">,</span>      queue_table
<span style="color: #66cc66;">,</span>      type
<span style="color: #66cc66;">,</span>      user_comment
<span style="color: #993333; font-weight: bold;">FROM</span>   all_queue_tables</pre></td></tr></table></div>

<h4>Perform a query.</h4>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> msgid
<span style="color: #66cc66;">,</span>      enq_time
<span style="color: #66cc66;">,</span>      enq_uid
<span style="color: #66cc66;">,</span>      qt<span style="color: #66cc66;">.</span>user_data<span style="color: #66cc66;">.</span>text_vc
<span style="color: #993333; font-weight: bold;">FROM</span>   my_queue_table qt  <span style="color: #808080; font-style: italic;">--alter the table name</span>
<span style="color: #993333; font-weight: bold;">WHERE</span>  q_name <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'MY_QUEUE'</span> <span style="color: #808080; font-style: italic;">--alter the queue name</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.deltalounge.net/wpress/2009/04/what-is-in-the-oracle-advanced-queue/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
