<?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; JMS</title>
	<atom:link href="http://www.deltalounge.net/wpress/tag/jms/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>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>
		<item>
		<title>What is in the queue?</title>
		<link>http://www.deltalounge.net/wpress/2009/04/what-is-in-the-queue/</link>
		<comments>http://www.deltalounge.net/wpress/2009/04/what-is-in-the-queue/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 07:26:55 +0000</pubDate>
		<dc:creator>PeterPaul</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SOA Suite]]></category>
		<category><![CDATA[Service Bus]]></category>
		<category><![CDATA[AS]]></category>
		<category><![CDATA[ESB]]></category>
		<category><![CDATA[HermesJMS]]></category>
		<category><![CDATA[JMS]]></category>
		<category><![CDATA[queue]]></category>

		<guid isPermaLink="false">http://www.deltalounge.net/wpress/?p=20</guid>
		<description><![CDATA[One of our customers asked me exactly this question. They have an  Oracle ESB and it seemed that it could not handle all incoming requests. With the queues being a decoupling point between the incoming requests and the related transactions to the back office systems, its size can be an indication of just how busy [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 83px"><img title="Async queue" src="http://www.soapatterns.org/asynchronous_queuing.png" alt="Async queue" width="73" height="21" /><p class="wp-caption-text">Async queue</p></div>
<p>One of our customers asked me exactly this question. They have an  <a href="http://www.oracle.com/technology/products/integration/esb/index.html">Oracle ESB</a> and it seemed that it could not handle all incoming requests. With the queues being a decoupling point between the incoming requests and the related transactions to the back office systems, its size can be an indication of just how busy the system is.</p>
<p>As I couldn&#8217;t find the answer using the Oracle Enterprise Manager <a href="http://www.oracle.com/technology/products/oem/index.html">Oracle Enterprise Manager</a> and its MBeans, I started to look on the web for a tool. The tool I found and started to use was <a href="http://www.hermesjms.com/confluence/display/HJMS/Home">HermesJMS</a>. This helps you interact with JMS providers making it easy to browse or search queues and topics, copy messages around and delete them.</p>
<div class="wp-caption alignright" style="width: 266px"><img title="HermesJMS screenshot" src="http://www.deltalounge.net/wpress/wp-content/uploads/2009/04/screenshothermesjms.gif" alt="HermesJMS screenshot" width="256" height="192" /><p class="wp-caption-text">HermesJMS screenshot</p></div>
<p>The HermesJMS requires Java 1.6. It has a clear installation guide <a href="http://www.hermesjms.com/confluence/display/HJMS/Installing">installation guide</a> and it is tested for multiple JMS providers. Besides the guide we needed for the Oracle AS <a href="http://www.hermesjms.com/confluence/display/HJMS/Oracle"> </a>there is also another <a href="http://mike-lehmann.blogspot.com/2006/09/i-was-working-with-oracleas-jms-over.html">blog</a> describing the install and use of HermesJMS.</p>
<p>Using HermesJMS we were able to answer this customers question.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deltalounge.net/wpress/2009/04/what-is-in-the-queue/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
