<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>OpenAMQ - new forum threads</title>
		<link>http://www.openamq.org/forum/start</link>
		<description>Threads in forums of the site &quot;OpenAMQ&quot; - Enterprise AMQP Messaging</description>
				<copyright></copyright>
		<lastBuildDate>Sat, 04 Feb 2012 20:27:08 +0000</lastBuildDate>
		
					<item>
				<guid>http://www.openamq.org/forum/t-184696</guid>
				<title>problem with icl_mem_free()</title>
				<link>http://www.openamq.org/forum/t-184696/problem-with-icl-mem-free</link>
				<description>seems that icl_mem_free() not working in version OpenAMQ-1.3d0</description>
				<pubDate>Fri, 25 Sep 2009 15:08:40 +0000</pubDate>
				<wikidot:authorName>charan_manju</wikidot:authorName>				<wikidot:authorUserId>305947</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,<br /> I have allocated memory, using icl_mem_alloc() for byte pointer, to publish messages and set icl_mem_free() after using in amq_content_set_body(), Even though I am freeing the memory, it is saying memory corruption, while i am quitting using icl_system_terminate(). Please tell me what might be the problem.</p> <p>Thanks,<br /> Charan.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-184465</guid>
				<title>The message is getting stripped while publishing to queues</title>
				<link>http://www.openamq.org/forum/t-184465/the-message-is-getting-stripped-while-publishing-to-queues</link>
				<description>When I receive the published message, I found that it is stripped at the end.</description>
				<pubDate>Thu, 24 Sep 2009 12:48:52 +0000</pubDate>
				<wikidot:authorName>charan_manju</wikidot:authorName>				<wikidot:authorUserId>305947</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>I am getting some messages correctly without any problem, but some messages stripping at the end, and sometimes lost, or sometime adding junk data at the end. I am unable to find the reason, Is this might be due to using C++ API?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-181022</guid>
				<title>FATAL ERROR at icl_mem_fat.c:1275, in icl_mem_fat_free</title>
				<link>http://www.openamq.org/forum/t-181022/fatal-error-at-icl-mem-fat-c:1275-in-icl-mem-fat-free</link>
				<description>crash in icl library</description>
				<pubDate>Tue, 08 Sep 2009 15:15:35 +0000</pubDate>
				<wikidot:authorName>kpox</wikidot:authorName>				<wikidot:authorUserId>373569</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I occasionally run into this. I believe there is a race condition lurking somewhere here.<br /> '''<br /> FATAL ERROR at icl_mem_fat.c:1275, in icl_mem_fat_free<br /> Allocated item at 0x4e6b998 expected tag=0xfabb, actual tag=0xdead<br /> Please report this to <span class="wiki-email">gro.qmanepo.stsil|ved-qmanepo#gro.qmanepo.stsil|ved-qmanepo</span><br /> '''</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-179542</guid>
				<title>problem with connection-&gt;alive()</title>
				<link>http://www.openamq.org/forum/t-179542/problem-with-connection-alive</link>
				<description>I am getting connection-&gt;alive() as 0 even though connected to server.</description>
				<pubDate>Tue, 01 Sep 2009 14:27:26 +0000</pubDate>
				<wikidot:authorName>charan_manju</wikidot:authorName>				<wikidot:authorUserId>305947</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,<br /> I am getting problem with the connection-&gt;alive(), though i am connected to the server, still<br /> it is giving the value as zero. I am using OpenAMQ-1.3c5. Is there any alternative to find whether I am connected to the server or connection is lost?</p> <p>Thanks,<br /> Charan</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-179370</guid>
				<title>Problem with amq_client_session_wait() in OpenAMQ-1.3c5</title>
				<link>http://www.openamq.org/forum/t-179370/problem-with-amq-client-session-wait-in-openamq-1-3c5</link>
				<description>when I used amq_client_session_wait(connection-&gt;session, -1), it is waiting infinitely</description>
				<pubDate>Mon, 31 Aug 2009 13:26:39 +0000</pubDate>
				<wikidot:authorName>charan_manju</wikidot:authorName>				<wikidot:authorUserId>305947</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,<br /> I am using OpenAMQ-1.3c5, where in my app, I need to constantly look for the messages in the queue, but when the messages are not in the queue the it has to return immediately. So, I used amq_client_session_wait(connection-&gt;session, -1). But it is waiting for infinite amount of time.</p> <p>Thanks,<br /> Charan.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-178331</guid>
				<title>Getting the performance very slow</title>
				<link>http://www.openamq.org/forum/t-178331/getting-the-performance-very-slow</link>
				<description>I am getting same performance in both using direct mode and not using direct mode. I used all the possible options, to get the maximum performance, but I am getting only 200 msg/sec as the possible performance.</description>
				<pubDate>Tue, 25 Aug 2009 12:11:00 +0000</pubDate>
				<wikidot:authorName>charan_manju</wikidot:authorName>				<wikidot:authorUserId>305947</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>The options I used is<br /> 1)Direct mode: In direct mode I used with -direct 1 in the command line while starting amq_server and connection-&gt;direct=TRUE in my application.<br /> I also used the wireapi.cfg in the ibase folder to tune the direct mode for performance, I changed the batching value from 5000 to 100000, I am getting the big difference.<br /> 2)I also used the private_credit value, it has also not given me much difference.</p> <p>where should I have to correct to improve the performance?</p> <p>Thanks,<br /> Charan</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-176671</guid>
				<title>can&#039;t we use send and receive to and from the queue in the same application</title>
				<link>http://www.openamq.org/forum/t-176671/can-t-we-use-send-and-receive-to-and-from-the-queue-in-the-s</link>
				<description>I am able to send the message to the queue, when I tried to receive the application is aborting with error in amq_client_session.c</description>
				<pubDate>Tue, 18 Aug 2009 07:26:55 +0000</pubDate>
				<wikidot:authorName>charan_posa</wikidot:authorName>				<wikidot:authorUserId>330626</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,<br /> Actually, what I am doing is my application is getting blocked in amq_client_session_wait (), waiting for the next message, due to which I am not able to quit the application smoothly, so I am sending a "dummy message" to the queue while I am quitting application. I am able to send the message, while receiving, the application aborted with error in amq_client_session.c. Please tell me where I am going wrong.</p> <p>Thanks,<br /> Charan</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-172939</guid>
				<title>thread in my application is getting blocked due to amq_client_session_wait</title>
				<link>http://www.openamq.org/forum/t-172939/thread-in-my-application-is-getting-blocked-due-to-amq-clien</link>
				<description>I am working on a multithreaded application, where one of the threads is getting blocked due to amq_client_session_wait(), is there any work around.</description>
				<pubDate>Fri, 31 Jul 2009 13:12:03 +0000</pubDate>
				<wikidot:authorName>charan_posa</wikidot:authorName>				<wikidot:authorUserId>330626</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,<br /> I am working on a multithreaded app, in which one thread constantly waits for getting messages, from the queue, if the messages are not available, it is getting blocked in amq_client_session_wait() infinitely, it has to quit after some time. This is getting problem, when I want to quit the application, i can't able to quit it smoothly, since it is getting blocked. Is there any workaround for this?</p> <p>Thanks,<br /> Charan</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-169549</guid>
				<title>publisher to use queues or to use exchanges?</title>
				<link>http://www.openamq.org/forum/t-169549/publisher-to-use-queues-or-to-use-exchanges</link>
				<description>For single queue i used exchange to publish messages in a queue without binding, For more than one publisher and queues. Should I use different exchanges for each publisher or with the same exchange and each publisher binding to a queue.</description>
				<pubDate>Thu, 16 Jul 2009 10:35:23 +0000</pubDate>
				<wikidot:authorName>charan_posa</wikidot:authorName>				<wikidot:authorUserId>330626</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,<br /> I have two publishers writing in two separate queues, should i use two exchanges? or i have to use publisher binding to the queues in the same exchange? Please give me a solution, i am not abe to choose between bindings and exhanges.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-167710</guid>
				<title>Messages missing/lost</title>
				<link>http://www.openamq.org/forum/t-167710/messages-missing-lost</link>
				<description>When I am sending the messages to a particular queue, more than 1000 then some messages are missing when I am running an application which is continuously reading that queue.</description>
				<pubDate>Wed, 08 Jul 2009 10:28:31 +0000</pubDate>
				<wikidot:authorName>charan_posa</wikidot:authorName>				<wikidot:authorUserId>330626</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,<br /> I am able to send any number of messages to a particular queue when i am not running any other application.<br /> But when I am running the application which is continuously reading the queue, then if I send more than 1000 messages to that queue then some messages are lost, For example, i send 2000 messages, sometime i get 800, sometimes 1200, and when I kept<br /> the send application wait until the user exits, then also i received only 1500, still 500 are lost.<br /> Please give me your suggestions how to solve it.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-158416</guid>
				<title>linking errors in libsmt.a when my app is built linking libsmt.a</title>
				<link>http://www.openamq.org/forum/t-158416/linking-errors-in-libsmt-a-when-my-app-is-built-linking-libs</link>
				<description></description>
				<pubDate>Tue, 26 May 2009 10:49:14 +0000</pubDate>
				<wikidot:authorName>charan_posa</wikidot:authorName>				<wikidot:authorUserId>330626</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>When I built the smt, icl individually, the build succeeded without errors, Eventhough the functions are defined in the respective folders, i got the undefined reference errors.</p> <p>/root/charan/OpenAMQ-1.3c5/base2/smt/libsmt.a(smt_method_queue.o): In function ‘smt_method_queue_sync_new_’:<br /> smt_method_queue.c:(.text+0x5d4): undefined reference to ‘icl_cond_new_’<br /> /root/charan/OpenAMQ-1.3c5/base2/smt/libsmt.a(smt_method_queue.o): In function ‘smt_method_queue_free_’:<br /> smt_method_queue.c:(.text+0x1bb7): undefined reference to ‘icl_cond_destroy_’<br /> /root/charan/OpenAMQ-1.3c5/base2/smt/libsmt.a(smt_os_thread.o): In function ‘smt_os_thread_annihilate_’:<br /> smt_os_thread.c:(.text+0x48c): undefined reference to ‘icl_cond_destroy_’<br /> /root/charan/OpenAMQ-1.3c5/base2/smt/libsmt.a(smt_os_thread.o): In function ‘smt_terminate’:<br /> smt_os_thread.c:(.text+0x2830): undefined reference to ‘icl_cond_destroy_’<br /> /root/charan/OpenAMQ-1.3c5/base2/smt/libsmt.a(smt_os_thread.o): In function ‘smt_initialise’:<br /> smt_os_thread.c:(.text+0x2ce4): undefined reference to ‘icl_cond_new_’<br /> smt_os_thread.c:(.text+0x308d): undefined reference to ‘icl_cond_new_’</p> <p>I am getting these errors when i built the application. I am not understanding why it is not able to find, i included both libraries smt and icl with their respective paths in the makefile</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-158414</guid>
				<title>linking errors in libsmt.a when my app is built linking libsmt.a</title>
				<link>http://www.openamq.org/forum/t-158414/linking-errors-in-libsmt-a-when-my-app-is-built-linking-libs</link>
				<description>When I built the smt, icl individually, the build succeeded without errors,
Eventhough the functions are defined in the respective folders, i got the undefined reference errors.</description>
				<pubDate>Tue, 26 May 2009 10:45:26 +0000</pubDate>
				<wikidot:authorName>charan_posa</wikidot:authorName>				<wikidot:authorUserId>330626</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>/root/charan/OpenAMQ-1.3c5/base2/smt/libsmt.a(smt_method_queue.o): In function ‘smt_method_queue_sync_new_’:<br /> smt_method_queue.c:(.text+0x5d4): undefined reference to ‘icl_cond_new_’<br /> /root/charan/OpenAMQ-1.3c5/base2/smt/libsmt.a(smt_method_queue.o): In function ‘smt_method_queue_free_’:<br /> smt_method_queue.c:(.text+0x1bb7): undefined reference to ‘icl_cond_destroy_’<br /> /root/charan/OpenAMQ-1.3c5/base2/smt/libsmt.a(smt_os_thread.o): In function ‘smt_os_thread_annihilate_’:<br /> smt_os_thread.c:(.text+0x48c): undefined reference to ‘icl_cond_destroy_’<br /> /root/charan/OpenAMQ-1.3c5/base2/smt/libsmt.a(smt_os_thread.o): In function ‘smt_terminate’:<br /> smt_os_thread.c:(.text+0x2830): undefined reference to ‘icl_cond_destroy_’<br /> /root/charan/OpenAMQ-1.3c5/base2/smt/libsmt.a(smt_os_thread.o): In function ‘smt_initialise’:<br /> smt_os_thread.c:(.text+0x2ce4): undefined reference to ‘icl_cond_new_’<br /> smt_os_thread.c:(.text+0x308d): undefined reference to ‘icl_cond_new_’<br /> I am getting these errors when i built the application. I am not understanding why it is not able to find, i included both smt and icl with their respective paths</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-47454</guid>
				<title>JMS support</title>
				<link>http://www.openamq.org/forum/t-47454/jms-support</link>
				<description>Is JMS integration still forthcoming</description>
				<pubDate>Mon, 17 Mar 2008 22:09:19 +0000</pubDate>
				<wikidot:authorName>gthiruva</wikidot:authorName>				<wikidot:authorUserId>97693</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>I was wondering if there's any new news about JMS support on OpenAMQ. The last piece of info from November 2007 says that JMS support would be re-introduced within several weeks.</p> <p>Is that still the case? And what's the reason for the hold-up? Is this purely a legal issue? Or do you guys need some development help?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-37280</guid>
				<title>[openamq-dev] proposal &amp; patch: Debian packaging</title>
				<link>http://www.openamq.org/forum/t-37280/openamq-dev-proposal-patch:debian-packaging</link>
				<description>I&#039;ve made a Debian package for the OpenAMQ broker and here&#039;s the patch against 1.2c4.

Build with &quot;dpkg-buildpackage -rfakeroot&quot; and find an openamq-1.2c4_ARCH.deb in the parent directory. I&#039;ve successfully built it in Ubuntu Gutsy Gibbon and Dapper Drake versions, in both i386 and x86_64 flavours.</description>
				<pubDate>Thu, 24 Jan 2008 16:49:46 +0000</pubDate>
				<wikidot:authorName>esteve</wikidot:authorName>				<wikidot:authorUserId>72734</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <div class="code"> <pre> <code>Copyright (c) 2008 Esteve Fernandez &lt;esteve.fernandez@gmail.com&gt; Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</code> </pre></div> <div class="code"> <pre> <code>=== added directory 'debian' === added file 'debian/changelog' --- OpenAMQ-1.2c4.old/debian/changelog 1970-01-01 00:00:00 +0000 +++ OpenAMQ-1.2c4/debian/changelog 2008-01-22 18:22:21 +0000 @@ -0,0 +1,6 @@ +openamq (1.2c4-1) unstable; urgency=low + + * Initial release. + + -- Esteve Fernandez &lt;esteve.fernandez@gmail.com&gt; Mon, 21 Jan 2008 14:55:56 -0600 + === added file 'debian/compat' --- OpenAMQ-1.2c4.old/debian/compat 1970-01-01 00:00:00 +0000 +++ OpenAMQ-1.2c4/debian/compat 2008-01-22 18:22:21 +0000 @@ -0,0 +1,1 @@ +4 === added file 'debian/conffiles' --- OpenAMQ-1.2c4.old/debian/conffiles 1970-01-01 00:00:00 +0000 +++ OpenAMQ-1.2c4/debian/conffiles 2008-01-22 18:22:21 +0000 @@ -0,0 +1,1 @@ +/etc/openamq/amq_server_base.cfg === added file 'debian/control' --- OpenAMQ-1.2c4.old/debian/control 1970-01-01 00:00:00 +0000 +++ OpenAMQ-1.2c4/debian/control 2008-01-22 18:57:16 +0000 @@ -0,0 +1,28 @@ +Source: openamq +Section: net +Priority: optional +Maintainer: Esteve Fernandez &lt;esteve.fernandez@gmail.com&gt; +Build-Depends: debhelper (&gt;= 4.0.0), build-essential +Standards-Version: 3.6.2 + +Package: openamq +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Original reference implementation of AMQP, written in C/C++. + OpenAMQ is the original reference implementation of AMQP, + written in C/C++ by iMatix. + . + It's a complete AMQ message queueing broker that aims for performance, + ease of use, and high reliability. + +Package: openamq-doc +Architecture: all +Description: Documentation for openamq + OpenAMQ is the original reference implementation of AMQP, + written in C/C++ by iMatix. + . + It's a complete AMQ message queueing broker that aims for performance, + ease of use, and high reliability. + . + This package contains the reference documentation for OpenAMQ and all + the related components. === added file 'debian/copyright' --- OpenAMQ-1.2c4.old/debian/copyright 1970-01-01 00:00:00 +0000 +++ OpenAMQ-1.2c4/debian/copyright 2008-01-22 18:25:43 +0000 @@ -0,0 +1,10 @@ +This package was debianized by Esteve Fernandez &lt;esteve.fernandez@gmail.com&gt; on +Mon, 21 Jan 2008 14:55:56 -0600. + +It was downloaded from http://openamq.org/download/OpenAMQ-1.2c4.tar.gz + +Copyright Holder: iMatix Corporation. + +License: + +Distributed under the GNU General Public License. === added file 'debian/dirs' --- OpenAMQ-1.2c4.old/debian/dirs 1970-01-01 00:00:00 +0000 +++ OpenAMQ-1.2c4/debian/dirs 2008-01-22 18:24:03 +0000 @@ -0,0 +1,1 @@ +usr/bin === added file 'debian/docs' --- OpenAMQ-1.2c4.old/debian/docs 1970-01-01 00:00:00 +0000 +++ OpenAMQ-1.2c4/debian/docs 2008-01-22 18:23:35 +0000 @@ -0,0 +1,1 @@ +readme.txt === added file 'debian/openamq-doc.docs' --- OpenAMQ-1.2c4.old/debian/openamq-doc.docs 1970-01-01 00:00:00 +0000 +++ OpenAMQ-1.2c4/debian/openamq-doc.docs 2008-01-22 18:22:21 +0000 @@ -0,0 +1,1 @@ +debian/openamq-build/doc/ === added file 'debian/openamq-doc.install' === added file 'debian/openamq.default' --- OpenAMQ-1.2c4.old/debian/openamq.default 1970-01-01 00:00:00 +0000 +++ OpenAMQ-1.2c4/debian/openamq.default 2008-01-22 18:22:21 +0000 @@ -0,0 +1,10 @@ +# Defaults for openamq initscript +# sourced by /etc/init.d/openamq +# installed at /etc/default/openamq by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="--trace 1 -s /etc/openamq/amq_server_base.cfg" === added file 'debian/openamq.dirs' --- OpenAMQ-1.2c4.old/debian/openamq.dirs 1970-01-01 00:00:00 +0000 +++ OpenAMQ-1.2c4/debian/openamq.dirs 2008-01-22 18:22:21 +0000 @@ -0,0 +1,1 @@ +etc/openamq === added file 'debian/openamq.docs' --- OpenAMQ-1.2c4.old/debian/openamq.docs 1970-01-01 00:00:00 +0000 +++ OpenAMQ-1.2c4/debian/openamq.docs 2008-01-22 18:22:21 +0000 @@ -0,0 +1,1 @@ +readme.txt === added file 'debian/openamq.init' --- OpenAMQ-1.2c4.old/debian/openamq.init 1970-01-01 00:00:00 +0000 +++ OpenAMQ-1.2c4/debian/openamq.init 2008-01-22 18:22:21 +0000 @@ -0,0 +1,75 @@ +#! /bin/sh +# +# skeleton example file to build /etc/init.d/ scripts. +# This file should be used to construct scripts for /etc/init.d. +# +# Written by Miquel van Smoorenburg &lt;miquels@cistron.nl&gt;. +# Modified for Debian +# by Ian Murdock &lt;imurdock@gnu.ai.mit.edu&gt;. +# +# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl +# + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/bin/amq_server +NAME=openamq +DESC=openamq +USER=openamq +GROUP=openamq + +test -x $DAEMON || exit 0 + +# Include openamq defaults if available +if [ -f /etc/default/openamq ] ; then + . /etc/default/openamq +fi + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon -m -b --chuid $USER:$GROUP --start --quiet --pidfile /var/run/$NAME.pid \ + --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --chuid $USER:$GROUP --stop --pidfile /var/run/$NAME.pid + echo "$NAME." + ;; + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # echo "Reloading $DESC configuration files." + # start-stop-daemon --stop --signal 1 --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #;; + restart|force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart". + # + echo -n "Restarting $DESC: " + start-stop-daemon --chuid $USER:$GROUP --stop --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + sleep 1 + start-stop-daemon --chuid $USER:$GROUP --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" &gt;&amp;2 + echo "Usage: $N {start|stop|restart|force-reload}" &gt;&amp;2 + exit 1 + ;; +esac + +exit 0 === added file 'debian/openamq.install' --- OpenAMQ-1.2c4.old/debian/openamq.install 1970-01-01 00:00:00 +0000 +++ OpenAMQ-1.2c4/debian/openamq.install 2008-01-22 18:22:21 +0000 @@ -0,0 +1,2 @@ +debian/tmp/usr/bin +debian/tmp/etc/openamq === added file 'debian/openamq.postinst' --- OpenAMQ-1.2c4.old/debian/openamq.postinst 1970-01-01 00:00:00 +0000 +++ OpenAMQ-1.2c4/debian/openamq.postinst 2008-01-22 18:22:21 +0000 @@ -0,0 +1,24 @@ +#!/bin/sh +case "$1" in + configure) + if ! getent passwd openamq&gt;/dev/null; then + echo "Creating/updating openamq user/group account..." + adduser --home /var/lib/openamq \ + --gecos "OpenAMQ system user" \ + --system \ + --quiet --group --disabled-password openamq + fi + chown -R openamq:openamq /var/lib/openamq + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" &gt;&amp;2 + exit 1 + ;; +esac + +#DEBHELPER# === added file 'debian/rules' --- OpenAMQ-1.2c4.old/debian/rules 1970-01-01 00:00:00 +0000 +++ OpenAMQ-1.2c4/debian/rules 2008-01-22 18:22:21 +0000 @@ -0,0 +1,126 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +#Architecture +build: build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: configure-stamp + + # Add here commands to compile the arch part of the package. + #$(MAKE) + IBASE=$(CURDIR)/debian/openamq-build sh build.sh + touch build-arch-stamp + +build-indep: build-indep-stamp +build-indep-stamp: configure-stamp + + # Add here commands to compile the indep part of the package. + #$(MAKE) doc + touch build-indep-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP# + + # Add here commands to clean up after the build process. + rm -rf $(CURDIR)/debian/openamq-build + + dh_clean + +install: install-indep install-arch +install-indep: + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + + # Add here commands to install the indep part of the package into + # debian/&lt;package&gt;-doc. + #INSTALLDOC# + + dh_install -i + +install-arch: + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + + # Add here commands to install the arch part of the package into + # debian/tmp. + mkdir -p $(CURDIR)/debian/tmp/usr/bin + mkdir -p $(CURDIR)/debian/tmp/etc/openamq + #mkdir -p $(CURDIR)/debian/openamq/usr/share/doc/openamq + cp -a $(CURDIR)/debian/openamq-build/bin/amq_client $(CURDIR)/debian/tmp/usr/bin + cp -a $(CURDIR)/debian/openamq-build/bin/amq_server $(CURDIR)/debian/tmp/usr/bin + cp -a $(CURDIR)/debian/openamq-build/bin/amq_shell $(CURDIR)/debian/tmp/usr/bin + cp -a $(CURDIR)/debian/openamq-build/bin/amq_server_base.cfg $(CURDIR)/debian/tmp/etc/openamq + #cp -a $(CURDIR)/debian/openamq-build/doc $(CURDIR)/debian/openamq/usr/share/doc/openamq/docs + + dh_install -s +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime + dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb +# Build architecture independant packages using the common target. +binary-indep: build-indep install-indep + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build-arch install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-37276</guid>
				<title>proposal &amp; patch: --listen_address to set the address to listen on</title>
				<link>http://www.openamq.org/forum/t-37276/proposal-patch:listen-address-to-set-the-address-to-listen-o</link>
				<description>This patch against OpenAMQ-1.2c4 adds a new option (--listen_address) to the OpenAMQ broker for specifying the address to listen on.

Right now, OpenAMQ (1.2c4) listens on 0.0.0.0 (all interfaces), being able to listen on a specific IP is desirable as it prevents an OpenAMQ server from becoming available to the entire Internet if deployed in a publicly available server, for example.</description>
				<pubDate>Thu, 24 Jan 2008 16:43:52 +0000</pubDate>
				<wikidot:authorName>esteve</wikidot:authorName>				<wikidot:authorUserId>72734</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <div class="code"> <pre> <code>Copyright (c) 2008 Esteve Fernandez &lt;esteve.fernandez@gmail.com&gt; Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</code> </pre></div> <div class="code"> <pre> <code>=== modified file 'OpenAMQ-1.2c4/server/amq_server_agent.c' --- OpenAMQ-1.2c4.old/OpenAMQ-1.2c4/server/amq_server_agent.c 2008-01-22 14:19:18 +0000 +++ OpenAMQ-1.2c4/OpenAMQ-1.2c4/server/amq_server_agent.c 2008-01-22 17:47:18 +0000 @@ -20723,7 +20723,8 @@ else { apr_pool_create (&amp;pool, icl_global_pool); apr_pool_tag (pool, "amq_server_initialise_server)"); - apr_gethostname (buffer, ICL_SHORTSTR_MAX, pool); + icl_shortstr_cpy(buffer, amq_server_config_listen_address (amq_server_config)); + apr_sockaddr_info_get (&amp;sockaddr, buffer, APR_UNSPEC, 0, 0, pool); while (sockaddr) { @@ -20780,7 +20781,7 @@ } // Start listening for connections on socket - rc = smt_socket_passive (tcb-&gt;socket, thread, port, NULL, 500); + rc = smt_socket_passive (tcb-&gt;socket, thread, port, buffer, 500); } if (!tcb-&gt;socket || (rc != SMT_OK)) { smt_log_print (amq_broker-&gt;alert_log, === modified file 'OpenAMQ-1.2c4/server/amq_server_config.c' --- OpenAMQ-1.2c4.old/OpenAMQ-1.2c4/server/amq_server_config.c 2008-01-22 14:19:18 +0000 +++ OpenAMQ-1.2c4/OpenAMQ-1.2c4/server/amq_server_config.c 2008-01-22 17:47:18 +0000 @@ -37,6 +37,8 @@ #define self_cmdline_help amq_server_config_cmdline_help #define self_cmdline_parse amq_server_config_cmdline_parse #define self_options_help amq_server_config_options_help +#define self_set_listen_address amq_server_config_set_listen_address +#define self_listen_address amq_server_config_listen_address #define self_set_port amq_server_config_set_port #define self_port amq_server_config_port #define self_set_queue_timeout amq_server_config_set_queue_timeout @@ -142,6 +144,12 @@ #if (defined (BASE_STATS) || defined (BASE_STATS_AMQ_SERVER_CONFIG) || defined (BASE_STATS_AMQ_SERVER_CONFIG_OPTIONS_HELP)) static icl_stats_t *s_amq_server_config_options_help_stats = NULL; #endif +#if (defined (BASE_STATS) || defined (BASE_STATS_AMQ_SERVER_CONFIG) || defined (BASE_STATS_AMQ_SERVER_CONFIG_SET_LISTEN_ADDRESS)) +static icl_stats_t *s_amq_server_config_set_listen_address_stats = NULL; +#endif +#if (defined (BASE_STATS) || defined (BASE_STATS_AMQ_SERVER_CONFIG) || defined (BASE_STATS_AMQ_SERVER_CONFIG_LISTEN_ADDRESS)) +static icl_stats_t *s_amq_server_config_listen_address_stats = NULL; +#endif #if (defined (BASE_STATS) || defined (BASE_STATS_AMQ_SERVER_CONFIG) || defined (BASE_STATS_AMQ_SERVER_CONFIG_SET_PORT)) static icl_stats_t *s_amq_server_config_set_port_stats = NULL; #endif @@ -462,6 +470,13 @@ // All properties on server path ipr_config_locate (self-&gt;config, "/config/server", NULL); + // Get listen_address property from config file or built-in defaults + value = ipr_config_get (self-&gt;config, "listen_address", NULL); + if (value) + icl_shortstr_cpy (self-&gt;listen_address, value); + else + icl_shortstr_cpy (self-&gt;listen_address, "0.0.0.0"); + // Get port property from config file or built-in defaults value = ipr_config_get (self-&gt;config, "port", NULL); if (value) @@ -1114,6 +1129,7 @@ #endif printf ("Options that override config values; these take an argument:\n"); +printf (" --listen_address Server address to listen on\n"); printf (" --port Server port for clients\n"); printf (" --queue_timeout Timeout for auto-deleted queues\n"); printf (" --max_memory_mb Maximum allowed memory, MBytes\n"); @@ -1236,6 +1252,9 @@ argn++; // Set property + if (streq (arg_name, "--listen_address")) + self_set_listen_address (self, arg_value); + else if (streq (arg_name, "--port")) self_set_port (self, arg_value); else @@ -1423,6 +1442,12 @@ printf ("\nThese are the configured options for %s\n\n", name); +printf ("/config/server/listen_address - Server address to listen on\n"); +printf (" From command-line: --listen_address newvalue\n"); +printf (" Specifies the address on which the server should listen for incoming connections.\n"); +printf (" Current value is '%s'. Default value is '0.0.0.0'\n", self-&gt;listen_address); +printf ("\n"); + printf ("/config/server/port - Server port for clients\n"); printf (" From command-line: --port newvalue\n"); printf (" Specifies the port on which the server should open its connections.\n"); @@ -1717,6 +1742,159 @@ return (rc); } /* ------------------------------------------------------------------------- + amq_server_config_set_listen_address + + Type: Component method + Accepts a amq_server_config_t reference and returns zero in case of success, + 1 in case of errors. + ------------------------------------------------------------------------- + */ + +int + amq_server_config_set_listen_address ( + amq_server_config_t * self, // Reference to object + char * listen_address // Not documented +) +{ +#if (defined (BASE_THREADSAFE)) + icl_rwlock_t + *rwlock; +#endif + + int + rc = 0; // Return code + +#if (defined (BASE_ANIMATE) || defined (BASE_ANIMATE_AMQ_SERVER_CONFIG) || defined (BASE_ANIMATE_AMQ_SERVER_CONFIG_SET_LISTEN_ADDRESS)) + if (amq_server_config_animating) + icl_console_print ("&lt;amq_server_config_set_listen_address_start" +#if (defined (BASE_THREADSAFE)) +" thread=\"%pp\"" +#endif +" self=\"%pp\"" +" listen_address=\"%s\"" +"/&gt;" +#if (defined (BASE_THREADSAFE)) +, apr_os_thread_current () +#endif +, self, listen_address); +#endif + +#if (defined (BASE_TRACE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_LISTEN_ADDRESS)) + icl_trace_record (NULL, amq_server_config_dump, 91); +#endif + +#if (defined (BASE_STATS) || defined (BASE_STATS_AMQ_SERVER_CONFIG) || defined (BASE_STATS_AMQ_SERVER_CONFIG_SET_LISTEN_ADDRESS)) + icl_stats_inc ("amq_server_config_set_listen_address", &amp;s_amq_server_config_set_listen_address_stats); +#endif + +#if (defined (BASE_THREADSAFE)) + rwlock = self ? self-&gt;rwlock : NULL; + if (rwlock) + icl_rwlock_write_lock (rwlock); +#endif + +AMQ_SERVER_CONFIG_ASSERT_SANE (self); + +ipr_config_putp (self-&gt;config, "/config/server", "listen_address", listen_address); +listen_address = ipr_config_getp (self-&gt;config, "/config/server", "listen_address", NULL); +assert (listen_address); +icl_shortstr_cpy (self-&gt;listen_address, listen_address); + +#if (defined (BASE_THREADSAFE)) + if (rwlock) + icl_rwlock_unlock (rwlock); +#endif + +#if (defined (BASE_TRACE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_LISTEN_ADDRESS)) + icl_trace_record (NULL, amq_server_config_dump, 0x10000 + 91); +#endif + +#if (defined (BASE_ANIMATE) || defined (BASE_ANIMATE_AMQ_SERVER_CONFIG) || defined (BASE_ANIMATE_AMQ_SERVER_CONFIG_SET_LISTEN_ADDRESS)) + if (amq_server_config_animating) + icl_console_print ("&lt;amq_server_config_set_listen_address_finish" +#if (defined (BASE_THREADSAFE)) +" thread=\"%pp\"" +#endif +" self=\"%pp\"" +" listen_address=\"%s\"" +" rc=\"%i\"" +"/&gt;" +#if (defined (BASE_THREADSAFE)) +, apr_os_thread_current () +#endif +, self, listen_address, rc); +#endif + + + return (rc); +} +/* ------------------------------------------------------------------------- + amq_server_config_listen_address + + Type: Component method + ------------------------------------------------------------------------- + */ + +char * + amq_server_config_listen_address ( + amq_server_config_t * self // Reference to self +) +{ + char * + listen_address; // Not documented + +#if (defined (BASE_ANIMATE) || defined (BASE_ANIMATE_AMQ_SERVER_CONFIG) || defined (BASE_ANIMATE_AMQ_SERVER_CONFIG_LISTEN_ADDRESS)) + if (amq_server_config_animating) + icl_console_print ("&lt;amq_server_config_listen_address_start" +#if (defined (BASE_THREADSAFE)) +" thread=\"%pp\"" +#endif +" self=\"%pp\"" +"/&gt;" +#if (defined (BASE_THREADSAFE)) +, apr_os_thread_current () +#endif +, self); +#endif + +#if (defined (BASE_TRACE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_LISTEN_ADDRESS)) + icl_trace_record (NULL, amq_server_config_dump, 92); +#endif + +#if (defined (BASE_STATS) || defined (BASE_STATS_AMQ_SERVER_CONFIG) || defined (BASE_STATS_AMQ_SERVER_CONFIG_LISTEN_ADDRESS)) + icl_stats_inc ("amq_server_config_listen_address", &amp;s_amq_server_config_listen_address_stats); +#endif + +// +if (self) + listen_address = self-&gt;listen_address; +else + listen_address = "0.0.0.0"; +#if (defined (BASE_TRACE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_LISTEN_ADDRESS)) + icl_trace_record (NULL, amq_server_config_dump, 0x10000 + 92); +#endif + +#if (defined (BASE_ANIMATE) || defined (BASE_ANIMATE_AMQ_SERVER_CONFIG) || defined (BASE_ANIMATE_AMQ_SERVER_CONFIG_LISTEN_ADDRESS)) + if (amq_server_config_animating) + icl_console_print ("&lt;amq_server_config_listen_address_finish" +#if (defined (BASE_THREADSAFE)) +" thread=\"%pp\"" +#endif +" self=\"%pp\"" +" listen_address=\"%s\"" +"/&gt;" +#if (defined (BASE_THREADSAFE)) +, apr_os_thread_current () +#endif +, self, listen_address); +#endif + + + return (listen_address); +} + + +/* ------------------------------------------------------------------------- amq_server_config_set_port Type: Component method @@ -6947,6 +7125,7 @@ AMQ_SERVER_CONFIG_ASSERT_SANE (self); smt_log_print (logfile, "******************* Configuration Settings ********************"); +smt_log_print (logfile, "listen_address=%s", self-&gt;listen_address); smt_log_print (logfile, "port=%s", self-&gt;port); smt_log_print (logfile, "queue_timeout=%i", self-&gt;queue_timeout); smt_log_print (logfile, "max_memory_mb=%zu", self-&gt;max_memory_mb); @@ -7905,7 +8084,7 @@ #endif } -#if (defined (BASE_TRACE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_NEW) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DESTROY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_COMMIT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ROLLBACK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CMDLINE_HELP) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CMDLINE_PARSE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_OPTIONS_HELP) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_PORT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_PORT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_QUEUE_TIMEOUT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_QUEUE_TIMEOUT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_MAX_MEMORY_MB) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_MAX_MEMORY_MB) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_PER_CLIENT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_PER_CLIENT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_MONITOR) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_MONITOR) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DUMP_STATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DUMP_STATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_RECORD_STATS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_RECORD_STATS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_LOG_PATH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_LOG_PATH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_KEEP_LOGS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_KEEP_LOGS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_ARCHIVE_PATH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ARCHIVE_PATH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_ARCHIVE_CMD) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ARCHIVE_CMD) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_ALERT_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ALERT_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DAILY_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DAILY_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_ROUTE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_ROUTE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_QUEUE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_QUEUE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_PEERING) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_PEERING) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_CONSOLE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_CONSOLE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_TRACE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TRACE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_HEARTBEAT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_HEARTBEAT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_POLLING_THREADS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_POLLING_THREADS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_WORKING_THREADS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_WORKING_THREADS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_TCP_NODELAY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TCP_NODELAY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_TCP_RCVBUF) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TCP_RCVBUF) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_TCP_SNDBUF) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TCP_SNDBUF) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_FRAME_MAX) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_FRAME_MAX) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_CLUSTER_VHOST) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CLUSTER_VHOST) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_IS_PRIMARY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_IS_PRIMARY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_IS_BACKUP) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_IS_BACKUP) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_PRIMARY_PEER) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_PRIMARY_PEER) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_BACKUP_PEER) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_BACKUP_PEER) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_AUTO_CRASH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_AUTO_CRASH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_AUTO_BLOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_AUTO_BLOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_KERNEL_LIMIT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_KERNEL_LIMIT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DUMP_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SELFTEST) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TERMINATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SHOW) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DESTROY_PUBLIC) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ALLOC) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_FREE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_READ_LOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_WRITE_LOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_UNLOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CACHE_INITIALISE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CACHE_PURGE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CACHE_TERMINATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ANIMATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_NEW_IN_SCOPE) ) +#if (defined (BASE_TRACE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_NEW) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DESTROY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_COMMIT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ROLLBACK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CMDLINE_HELP) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CMDLINE_PARSE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_OPTIONS_HELP) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_LISTEN_ADDRESS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_LISTEN_ADDRESS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_PORT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_PORT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_QUEUE_TIMEOUT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_QUEUE_TIMEOUT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_MAX_MEMORY_MB) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_MAX_MEMORY_MB) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_PER_CLIENT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_PER_CLIENT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_MONITOR) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_MONITOR) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DUMP_STATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DUMP_STATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_RECORD_STATS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_RECORD_STATS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_LOG_PATH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_LOG_PATH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_KEEP_LOGS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_KEEP_LOGS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_ARCHIVE_PATH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ARCHIVE_PATH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_ARCHIVE_CMD) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ARCHIVE_CMD) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_ALERT_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ALERT_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DAILY_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DAILY_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_ROUTE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_ROUTE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_QUEUE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_QUEUE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_PEERING) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_PEERING) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_CONSOLE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_CONSOLE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_TRACE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TRACE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_HEARTBEAT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_HEARTBEAT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_POLLING_THREADS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_POLLING_THREADS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_WORKING_THREADS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_WORKING_THREADS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_TCP_NODELAY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TCP_NODELAY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_TCP_RCVBUF) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TCP_RCVBUF) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_TCP_SNDBUF) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TCP_SNDBUF) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_FRAME_MAX) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_FRAME_MAX) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_CLUSTER_VHOST) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CLUSTER_VHOST) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_IS_PRIMARY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_IS_PRIMARY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_IS_BACKUP) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_IS_BACKUP) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_PRIMARY_PEER) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_PRIMARY_PEER) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_BACKUP_PEER) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_BACKUP_PEER) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_AUTO_CRASH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_AUTO_CRASH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_AUTO_BLOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_AUTO_BLOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_KERNEL_LIMIT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_KERNEL_LIMIT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DUMP_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SELFTEST) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TERMINATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SHOW) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DESTROY_PUBLIC) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ALLOC) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_FREE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_READ_LOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_WRITE_LOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_UNLOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CACHE_INITIALISE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CACHE_PURGE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CACHE_TERMINATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ANIMATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_NEW_IN_SCOPE) ) void amq_server_config_dump (icl_os_thread_t thread, apr_time_t time, qbyte info) { @@ -8005,6 +8184,8 @@ case 88: method_name = "cache terminate"; break; case 89: method_name = "animate"; break; case 90: method_name = "new in scope"; break; + case 91: method_name = "set listen_address"; break; + case 92: method_name = "listen_address"; break; } icl_console_print_thread_time (thread, time, "amq_server_config %s%s", === modified file 'OpenAMQ-1.2c4/server/amq_server_config.h' --- OpenAMQ-1.2c4.old/OpenAMQ-1.2c4/server/amq_server_config.h 2008-01-22 14:19:18 +0000 +++ OpenAMQ-1.2c4/OpenAMQ-1.2c4/server/amq_server_config.h 2008-01-22 15:13:33 +0000 @@ -114,6 +114,8 @@ icl_shortstr_t filename; // Configuration file name icl_shortstr_t + listen_address; // Server address to listen on +icl_shortstr_t port; // Server port for clients int queue_timeout; // Timeout for auto-deleted queues @@ -230,6 +232,17 @@ ); int + amq_server_config_set_listen_address ( +amq_server_config_t * self, // Reference to object +char * listen_address // Not documented +); + +char * + amq_server_config_listen_address ( +amq_server_config_t * self // Reference to self +); + +int amq_server_config_set_port ( amq_server_config_t * self, // Reference to object char * port // Not documented @@ -691,7 +704,7 @@ extern "C" { # endif -#if (defined (BASE_TRACE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_NEW) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DESTROY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_COMMIT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ROLLBACK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CMDLINE_HELP) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CMDLINE_PARSE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_OPTIONS_HELP) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_PORT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_PORT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_QUEUE_TIMEOUT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_QUEUE_TIMEOUT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_MAX_MEMORY_MB) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_MAX_MEMORY_MB) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_PER_CLIENT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_PER_CLIENT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_MONITOR) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_MONITOR) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DUMP_STATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DUMP_STATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_RECORD_STATS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_RECORD_STATS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_LOG_PATH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_LOG_PATH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_KEEP_LOGS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_KEEP_LOGS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_ARCHIVE_PATH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ARCHIVE_PATH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_ARCHIVE_CMD) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ARCHIVE_CMD) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_ALERT_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ALERT_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DAILY_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DAILY_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_ROUTE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_ROUTE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_QUEUE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_QUEUE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_PEERING) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_PEERING) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_CONSOLE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_CONSOLE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_TRACE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TRACE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_HEARTBEAT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_HEARTBEAT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_POLLING_THREADS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_POLLING_THREADS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_WORKING_THREADS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_WORKING_THREADS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_TCP_NODELAY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TCP_NODELAY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_TCP_RCVBUF) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TCP_RCVBUF) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_TCP_SNDBUF) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TCP_SNDBUF) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_FRAME_MAX) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_FRAME_MAX) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_CLUSTER_VHOST) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CLUSTER_VHOST) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_IS_PRIMARY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_IS_PRIMARY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_IS_BACKUP) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_IS_BACKUP) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_PRIMARY_PEER) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_PRIMARY_PEER) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_BACKUP_PEER) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_BACKUP_PEER) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_AUTO_CRASH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_AUTO_CRASH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_AUTO_BLOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_AUTO_BLOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_KERNEL_LIMIT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_KERNEL_LIMIT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DUMP_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SELFTEST) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TERMINATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SHOW) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DESTROY_PUBLIC) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ALLOC) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_FREE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_READ_LOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_WRITE_LOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_UNLOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CACHE_INITIALISE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CACHE_PURGE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CACHE_TERMINATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ANIMATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_NEW_IN_SCOPE) ) +#if (defined (BASE_TRACE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_NEW) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DESTROY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_COMMIT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ROLLBACK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CMDLINE_HELP) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CMDLINE_PARSE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_OPTIONS_HELP) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_LISTEN_ADDRESS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_LISTEN_ADDRESS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_PORT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_PORT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_QUEUE_TIMEOUT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_QUEUE_TIMEOUT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_MAX_MEMORY_MB) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_MAX_MEMORY_MB) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_PER_CLIENT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_PER_CLIENT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_MONITOR) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_MONITOR) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DUMP_STATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DUMP_STATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_RECORD_STATS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_RECORD_STATS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_LOG_PATH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_LOG_PATH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_KEEP_LOGS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_KEEP_LOGS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_ARCHIVE_PATH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ARCHIVE_PATH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_ARCHIVE_CMD) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ARCHIVE_CMD) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_ALERT_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ALERT_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DAILY_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DAILY_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_ROUTE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_ROUTE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_QUEUE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_QUEUE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_PEERING) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_PEERING) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_DEBUG_CONSOLE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DEBUG_CONSOLE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_TRACE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TRACE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_HEARTBEAT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_HEARTBEAT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_POLLING_THREADS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_POLLING_THREADS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_WORKING_THREADS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_WORKING_THREADS) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_TCP_NODELAY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TCP_NODELAY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_TCP_RCVBUF) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TCP_RCVBUF) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_TCP_SNDBUF) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TCP_SNDBUF) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_FRAME_MAX) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_FRAME_MAX) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_CLUSTER_VHOST) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CLUSTER_VHOST) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_IS_PRIMARY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_IS_PRIMARY) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_IS_BACKUP) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_IS_BACKUP) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_PRIMARY_PEER) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_PRIMARY_PEER) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_BACKUP_PEER) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_BACKUP_PEER) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_AUTO_CRASH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_AUTO_CRASH) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_AUTO_BLOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_AUTO_BLOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SET_KERNEL_LIMIT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_KERNEL_LIMIT) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DUMP_LOG) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SELFTEST) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_TERMINATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_SHOW) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_DESTROY_PUBLIC) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ALLOC) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_FREE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_READ_LOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_WRITE_LOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_UNLOCK) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CACHE_INITIALISE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CACHE_PURGE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_CACHE_TERMINATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_ANIMATE) || defined (BASE_TRACE_AMQ_SERVER_CONFIG_NEW_IN_SCOPE) ) void amq_server_config_dump (icl_os_thread_t thread, apr_time_t time, qbyte info); #endif</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-33329</guid>
				<title>FreeBSD</title>
				<link>http://www.openamq.org/forum/t-33329/freebsd</link>
				<description>OpenAMQ on FreeBSD</description>
				<pubDate>Tue, 01 Jan 2008 14:55:51 +0000</pubDate>
				<wikidot:authorName>Jacobus Geluk</wikidot:authorName>				<wikidot:authorUserId>42193</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I just created a port for OpenAMQ. It has been submitted to "GNATS"<br /> with PR number 119224.<br /> See <a class="newpage" href="http://www.openamq.org/http:www-freebsd-org-cgi-query-pr-cgi-pr-ports-119224">//www.freebsd.org/cgi/query-pr.cgi?pr=ports/119224</a> to view<br /> its status or to download the shar file to use and test the port.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-23992</guid>
				<title>amq_client_session_wait returns 0 when timeout expires</title>
				<link>http://www.openamq.org/forum/t-23992/amq-client-session-wait-returns-0-when-timeout-expires</link>
				<description></description>
				<pubDate>Mon, 22 Oct 2007 11:58:43 +0000</pubDate>
				<wikidot:authorName>Jacobus Geluk</wikidot:authorName>				<wikidot:authorUserId>42193</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The following code is very similar to the example in the OpenAMQ docs:</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-reserved">if</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-identifier">amq_client_session_wait</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-identifier">implChannel</span><span class="hl-code">, </span><span class="hl-number">5000</span><span class="hl-brackets">))</span><span class="hl-code"> </span><span class="hl-brackets">{</span><span class="hl-code"> </span><span class="hl-reserved">if</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-identifier">implChannel</span><span class="hl-code">-&gt;</span><span class="hl-identifier">alive</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-brackets">{</span><span class="hl-code"> </span><span class="hl-identifier">logDebug</span><span class="hl-code"> &lt;&lt; </span><span class="hl-quotes">"</span><span class="hl-string">Timeout expired</span><span class="hl-quotes">"</span><span class="hl-code"> ; </span><span class="hl-brackets">}</span><span class="hl-code"> </span><span class="hl-reserved">else</span><span class="hl-code"> </span><span class="hl-brackets">{</span><span class="hl-code"> </span><span class="hl-identifier">logDebug</span><span class="hl-code"> &lt;&lt; </span><span class="hl-quotes">"</span><span class="hl-string">Channel died</span><span class="hl-quotes">"</span><span class="hl-code"> ; </span><span class="hl-brackets">}</span><span class="hl-code"> </span><span class="hl-brackets">}</span><span class="hl-code"> </span><span class="hl-reserved">else</span><span class="hl-code"> </span><span class="hl-brackets">{</span><span class="hl-code"> </span><span class="hl-identifier">logDebug</span><span class="hl-code"> &lt;&lt; </span><span class="hl-quotes">"</span><span class="hl-string">Message(s) arrived</span><span class="hl-quotes">"</span><span class="hl-code"> ; </span><span class="hl-brackets">}</span> </pre></div> </div> <p>My problem is that I never get the message "Timeout expired". The other two work.<br /> The docs say that -1 will be returned when the timeout expired. This does not happen here. amq_client_session_wait always returns 0 when the timeout expires or when messages arrived.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-22696</guid>
				<title>Build on Mac OS X fails...</title>
				<link>http://www.openamq.org/forum/t-22696/build-on-mac-os-x-fails</link>
				<description></description>
				<pubDate>Thu, 11 Oct 2007 14:31:42 +0000</pubDate>
				<wikidot:authorName>Jacobus Geluk</wikidot:authorName>				<wikidot:authorUserId>42193</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>On Mac OS X 10.4.10 I try to build OpenAMQ but I get the following error:</p> <p>(The /develop/OpenAMQ-1.2c4 has been renamed to /develop/openamq)</p> <div class="code"> <pre> <code>mac:~/develop/openamq/OpenAMQ-1.2c4 jag$ ./boomake clean boom I: [OpenAMQ]: Processing project in common... boom I: [OpenAMQ]: Processing project in clients... boom I: [OpenAMQ]: Processing project in server... boom I: [OpenAMQ]: Processing project in operate... boom I: [OpenAMQ]: Processing project in website... mac:~/develop/openamq/OpenAMQ-1.2c4 jag$ ./boomake build boom I: [OpenAMQ]: Processing project in common... boom I: [OpenAMQ_Common]: Building OpenAMQ Common... boomake: line 154: c: command not found boom E: [OpenAMQ_Common]: "c -q -li /Users/jag/develop/openamq/OpenAMQ-1.2c4/_install/include -ll /Users/jag/develop/openamq/OpenAMQ-1.2c4/_install/lib amq_constants" failed - stop boom E: [OpenAMQ]: stop mac:~/develop/openamq/OpenAMQ-1.2c4 jag$</code> </pre></div> <p>What can this be? What is the "c" command here? I suppose it is not the C compiler…</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-14595</guid>
				<title>OpenAMQ client fails to connect to rabbitmq server</title>
				<link>http://www.openamq.org/forum/t-14595/openamq-client-fails-to-connect-to-rabbitmq-server</link>
				<description>06:20:31: E: could not connect to localhost
packet trace shows version mismatch and client seems to misinterpret server response</description>
				<pubDate>Mon, 23 Jul 2007 05:00:21 +0000</pubDate>
				<wikidot:authorName>Rolf</wikidot:authorName>				<wikidot:authorUserId>28013</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Error message from client: 06:20:31: E: could not connect to localhost</p> <p>A packet trace shows version mismatch and client seems to misinterpret server response</p> <p>…/clients/amq_client without any args was used in the test<br /> The rabbitmq release was 1.0.0-alpha with a std install of both OTP and rabbitmq<br /> Client and server were run on the same host<br /> The host runs Fedora Core 6</p> <p>From an internal loopback packet capture tool:</p> <p>Client &gt; Server (127.0.0.1:50739 &gt; 127.0.0.1:5672)<br /> 41&nbsp;4d 51&nbsp;50&nbsp;01&nbsp;01&nbsp;00&nbsp;09 | AMQP….</p> <p>Client &lt; Server (127.0.0.1:50739 &lt; 127.0.0.1:5672)<br /> 41&nbsp;4d 51&nbsp;50&nbsp;01&nbsp;01&nbsp;08&nbsp;00 | AMQP….</p> <p>Client &gt; Server (127.0.0.1:50739 &gt; 127.0.0.1:5672)<br /> 01&nbsp;00&nbsp;00&nbsp;00&nbsp;00&nbsp;00&nbsp;38&nbsp;00&nbsp;0a 00&nbsp;32&nbsp;01 f5&nbsp;2d 50&nbsp;65 | ……8…2..-Pe<br /> 65&nbsp;72&nbsp;20&nbsp;73&nbsp;65&nbsp;6e 74&nbsp;20&nbsp;6f 76&nbsp;65&nbsp;72&nbsp;73&nbsp;69&nbsp;7a 65 | er sent oversize<br /> 64&nbsp;20&nbsp;66&nbsp;72&nbsp;61&nbsp;6d 65&nbsp;20&nbsp;28&nbsp;31&nbsp;33&nbsp;34&nbsp;32&nbsp;32&nbsp;34&nbsp;33 | d frame (1342243<br /> 30&nbsp;38&nbsp;30&nbsp;20&nbsp;3e 20&nbsp;34&nbsp;30&nbsp;39&nbsp;36&nbsp;29&nbsp;00&nbsp;00&nbsp;00&nbsp;00 ce | 080 &gt; 4096)…..</p> <p>The rabbitmq server then sends a TCP reset.</p> <p>Am I doing some simple mistake here?<br /> Or is there a way to get an OpenAMQ client to negotiate a 0.8 connection?</p> <p>Thx,<br /> Rolf</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-14012</guid>
				<title>Update build to use existing APR build?</title>
				<link>http://www.openamq.org/forum/t-14012/update-build-to-use-existing-apr-build</link>
				<description></description>
				<pubDate>Tue, 17 Jul 2007 12:49:26 +0000</pubDate>
				<wikidot:authorName>jmudd</wikidot:authorName>				<wikidot:authorUserId>27379</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Would it be possible to update the OpenAMQ build to make use of an existing APR build instead of having to build another set of dlls?</p> <p>Thanks.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-13658</guid>
				<title>Open AMQ won&#039;t build on AIX 5.3</title>
				<link>http://www.openamq.org/forum/t-13658/open-amq-won-t-build-on-aix-5-3</link>
				<description>After running ./build.sh it appears that the build hangs while building apr.</description>
				<pubDate>Thu, 12 Jul 2007 22:06:26 +0000</pubDate>
				<wikidot:authorName>murph</wikidot:authorName>				<wikidot:authorUserId>25823</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>murphyj@sbkdjiblade1:OpenAMQ&gt; ./build.sh<br /> boom I: [foreign]: Processing project in c…<br /> boom I: [c]: Building C compile scripts…<br /> boom I: [c]: Installing C compile scripts into /home/murphyj/PubSub/vendor/OpenAMQ/foreign-1.1d4/_install…<br /> boom I: [foreign]: Processing project in apr…<br /> boom I: [apr]: Building apr…<br /> APR-util Version: 1.2.2<br /> Applying apr-util hints file rules for powerpc-ibm-aix5.3.0.0<br /> checking for ldap support…<br /> &lt;hangs here&gt;</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-13656</guid>
				<title>Build on AIX</title>
				<link>http://www.openamq.org/forum/t-13656/build-on-aix</link>
				<description>I&#039;m trying to build OpenAMQ on AIX 5.3 and my build hangs while checking for ldap support...

I&#039;m using xlc v. 8 compiler</description>
				<pubDate>Thu, 12 Jul 2007 21:44:32 +0000</pubDate>
				<wikidot:authorName>murph</wikidot:authorName>				<wikidot:authorUserId>25823</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>murphyj@sbkdjiblade1:OpenAMQ&gt; export IBASE=../../build-output/amq<br /> murphyj@sbkdjiblade1:OpenAMQ&gt; export BOOM_MODEL="mt,release"<br /> murphyj@sbkdjiblade1:OpenAMQ&gt; ./build.sh<br /> boom I: [foreign]: Processing project in c…<br /> boom I: [c]: Building C compile scripts…<br /> boom I: [c]: Installing C compile scripts into /home/murphyj/PubSub/vendor/OpenAMQ/foreign-1.1d4/_install…<br /> boom I: [foreign]: Processing project in apr…<br /> boom I: [apr]: Building apr…<br /> APR-util Version: 1.2.2<br /> Applying apr-util hints file rules for powerpc-ibm-aix5.3.0.0<br /> checking for ldap support…</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-7591</guid>
				<title>OpenAMQ/JMS released</title>
				<link>http://www.openamq.org/forum/t-7591/openamq-jms-released</link>
				<description>iMatix have released their JMS client library, OpenAMQ/JMS.  This implements AMQP/0.9.</description>
				<pubDate>Fri, 13 Apr 2007 15:55:15 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>This package contains the full source code for OpenAMQ/JMS, a JMS client designed to be used with OpenAMQ/1.2:</p> <p>Download:</p> <ul> <li><a href="http://www.openamq.org/download/OpenAMQ-JMS-1.2c1.tar.gz">OpenAMQ-JMS-1.2c1.tar.gz - tar.gz</a> (UNIX line endings).</li> <li><a href="http://www.openamq.org/download/OpenAMQ-JMS-1.2c1.zip">OpenAMQ-JMS-1.2c1.zip - ZIP</a> (Windows line endings).</li> </ul> <p>Then follow <a href="http://www.openamq.org/build_jms.html">these instructions</a> for building and testing OpenAMQ/JMS.</p> <p>Scripts to run the examples are in the bin directory.</p> <p>The simplest test to ensure everything is working is the "service request reply" test. This involves one client that is known as a "service provider" and it listens on a well-known queue for requests.</p> <p>Another client, known as the "service requester" creates a private (temporary) response queue, creates a message with the private response queue set as the "reply to" field and then publishes the message to the well known service queue. The test allows you to time how long it takes to send messages and receive the response back. It also allows varying of the message size.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-7083</guid>
				<title>AMQP packet sniffer now available</title>
				<link>http://www.openamq.org/forum/t-7083/amqp-packet-sniffer-now-available</link>
				<description>iMatix have submitted support for AMQP packet sniffing to Wireshark.</description>
				<pubDate>Tue, 03 Apr 2007 15:48:40 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>iMatix have submitted support for <a href="http://www.amqp.org">AMQP</a> 0.9 packet sniffing to <a href="http://www.wireshark.org">Wireshark</a>. This will be integrated in the next production release of Wireshark (0.99.6). In the mean time, if you would like to try it out, you can download a recent nightly build of Wireshark <a href="http://www.wireshark.org/download/automated/">here</a>.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-6752</guid>
				<title>amq_server segfault</title>
				<link>http://www.openamq.org/forum/t-6752/amq-server-segfault</link>
				<description>Using my own client library (in development), I can reliably cause OpenAMQ/1.2c1 to segfault.   There is a good possibility that my library is buggy or non-conforming, but the server must not crash, even when handed a bad data stream.</description>
				<pubDate>Wed, 28 Mar 2007 23:46:10 +0000</pubDate>
				<wikidot:authorName>evil_otto</wikidot:authorName>				<wikidot:authorUserId>13800</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have 2 client programs, a sender and a receiver.</p> <p>The sender connects, opens a channel, and calls basic:publish to send a number of messages to amq.direct.</p> <p>The receiver connects, opens a channel, declares a queue, binds the queue to amq.direct, calls basic:consume, and sits listening for incoming messages.</p> <p>If I start my receiver, abort it (hit control-c to cause an abnormal disconnect), run my sender, and then start my receiver again, openamq segfaults.</p> <p>(I hope to have my client in distributable form shortly, currently it is just a pile of files)</p> <p>OS is linux 2.4.</p> <p>Here is trace output:</p> <p>$ ./amq_server -v<br /> OpenAMQ/1.2c1 - revision 10266<br /> Production release</p> <p>Copyright (c) 2007 iMatix Corporation<br /> This is free software; see the source for copying conditions. There is NO<br /> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p> <p>Build model:Production release<br /> Memory model: direct<br /> Threading model: multithreaded</p> <p>Compiler: gcc -c -I/u01/jeff/amqp/OpenAMQ-1.2c1/OpenAMQ-1.2c1/_install/include -O2 -Wall -pthread -D_REENTRANT -DICL_MEM_DEFAULT_DIRECT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DBASE_THREADSAFE -I/u01/jeff/amqp/ibase/include amq_server.c</p> <p>$ ./amq_server —trace 1<br /> OpenAMQ/1.2c1<br /> Production release</p> <p>Copyright (c) 2007 iMatix Corporation<br /> This is free software; see the source for copying conditions. There is NO<br /> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p> <p>2007-03-28&nbsp;16:39:53: W: security warning - logins use default passwords<br /> 2007-03-28&nbsp;16:39:53: I: server binding to 10.223.234.165:5672<br /> 2007-03-28&nbsp;16:39:53: I: server starting in stand-alone mode<br /> 2007-03-28&nbsp;16:39:54: I: server ready for incoming AMQ connections<br /> 2007-03-28&nbsp;16:39:57: I: send connection.start: version_major=0 version_minor=9 server_properties=197B mechanisms=5B locales=5B<br /> 2007-03-28&nbsp;16:39:57: I: recv connection.start-ok: client_properties=61B mechanism="PLAIN" response=13B locale="en_US"<br /> 2007-03-28&nbsp;16:39:57: I: send connection.tune: channel_max=255 frame_max=32768 heartbeat=2<br /> 2007-03-28&nbsp;16:39:57: I: recv connection.tune-ok: channel_max=5 frame_max=32767 heartbeat=2<br /> 2007-03-28&nbsp;16:39:57: I: recv connection.open: virtual_host="test" capabilities="" insist=0<br /> 2007-03-28&nbsp;16:39:57: I: send connection.open-ok: known_hosts=""<br /> 2007-03-28&nbsp;16:39:57: I: recv channel.open: out_of_band="/development"<br /> 2007-03-28&nbsp;16:39:57: I: send channel.open-ok: channel_id=4B<br /> 2007-03-28&nbsp;16:39:57: I: recv queue.declare: ticket=101 queue="fqueue" passive=0 durable=1 exclusive=0 auto_delete=0 nowait=0 arguments=0B<br /> 2007-03-28&nbsp;16:39:57: I: send queue.declare-ok: queue="fqueue" message_count=0 consumer_count=0<br /> 2007-03-28&nbsp;16:39:57: I: recv queue.bind: ticket=101 queue="fqueue" exchange="amq.direct" routing_key="joe" nowait=0 arguments=0B<br /> 2007-03-28&nbsp;16:39:57: I: send queue.bind-ok:<br /> 2007-03-28&nbsp;16:39:57: I: recv basic.consume: ticket=101 queue="fqueue" consumer_tag="mine" no_local=0 no_ack=1 exclusive=0 nowait=0 arguments=0B<br /> 2007-03-28&nbsp;16:39:57: I: send basic.consume-ok: consumer_tag="mine"<br /> 2007-03-28&nbsp;16:39:57: W: unexpected disconnection (127.0.0.1:42257, tcl-amqp-client, 0.1, )<br /> 2007-03-28&nbsp;16:39:59: I: send connection.start: version_major=0 version_minor=9 server_properties=197B mechanisms=5B locales=5B<br /> 2007-03-28&nbsp;16:39:59: I: recv connection.start-ok: client_properties=61B mechanism="PLAIN" response=13B locale="en_US"<br /> 2007-03-28&nbsp;16:39:59: I: send connection.tune: channel_max=255 frame_max=32768 heartbeat=2<br /> 2007-03-28&nbsp;16:39:59: I: recv connection.tune-ok: channel_max=5 frame_max=32767 heartbeat=2<br /> 2007-03-28&nbsp;16:39:59: I: recv connection.open: virtual_host="test" capabilities="" insist=0<br /> 2007-03-28&nbsp;16:39:59: I: send connection.open-ok: known_hosts=""<br /> 2007-03-28&nbsp;16:39:59: I: recv channel.open: out_of_band="/development"<br /> 2007-03-28&nbsp;16:39:59: I: send channel.open-ok: channel_id=4B<br /> 2007-03-28&nbsp;16:39:59: I: recv basic.publish: ticket=101 exchange="amq.direct" routing_key="joe" mandatory=1 immediate=1<br /> 2007-03-28&nbsp;16:39:59: I: send basic.return: reply_code=310 reply_text="No immediate consumers for Basic message" exchange="amq.direct" routing_key="joe"<br /> 2007-03-28&nbsp;16:39:59: I: recv basic.publish: ticket=101 exchange="amq.direct" routing_key="joe" mandatory=0 immediate=0<br /> 2007-03-28&nbsp;16:39:59: I: recv basic.publish: ticket=101 exchange="amq.direct" routing_key="joe" mandatory=0 immediate=0<br /> 2007-03-28&nbsp;16:39:59: W: unexpected disconnection (127.0.0.1:42258, tcl-amqp-client, 0.1, )<br /> 2007-03-28&nbsp;16:40:00: I: send connection.start: version_major=0 version_minor=9 server_properties=197B mechanisms=5B locales=5B<br /> 2007-03-28&nbsp;16:40:00: I: recv connection.start-ok: client_properties=61B mechanism="PLAIN" response=13B locale="en_US"<br /> 2007-03-28&nbsp;16:40:00: I: send connection.tune: channel_max=255 frame_max=32768 heartbeat=2<br /> 2007-03-28&nbsp;16:40:00: I: recv connection.tune-ok: channel_max=5 frame_max=32767 heartbeat=2<br /> 2007-03-28&nbsp;16:40:00: I: recv connection.open: virtual_host="test" capabilities="" insist=0<br /> 2007-03-28&nbsp;16:40:00: I: send connection.open-ok: known_hosts=""<br /> 2007-03-28&nbsp;16:40:01: I: recv channel.open: out_of_band="/development"<br /> 2007-03-28&nbsp;16:40:01: I: send channel.open-ok: channel_id=4B<br /> 2007-03-28&nbsp;16:40:01: I: recv queue.declare: ticket=101 queue="fqueue" passive=0 durable=1 exclusive=0 auto_delete=0 nowait=0 arguments=0B<br /> Segmentation fault</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-6599</guid>
				<title>OpenAMQ 1.2c1 released</title>
				<link>http://www.openamq.org/forum/t-6599/openamq-1-2c1-released</link>
				<description>OpenAMQ 1.2c1 is now available.</description>
				<pubDate>Mon, 26 Mar 2007 18:41:13 +0000</pubDate>
				<wikidot:authorName>mato</wikidot:authorName>				<wikidot:authorUserId>11772</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>This release fixes some interoperability problems with other AMQP 0.9<br /> implementations, and removes the dependency on libuuid which was causing<br /> build problems for some people (BASE2-267).</p> <p>Bugfixes:<br /> AMQ-546 AMQP 0.9 interoperability fixes for OpenAMQ 1.2c1</p> <p>Changes:<br /> BASE2-267 Change channel id to use 64-bit atomic sequence</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-6469</guid>
				<title>Java Client for OpenAMQ</title>
				<link>http://www.openamq.org/forum/t-6469/java-client-for-openamq</link>
				<description></description>
				<pubDate>Fri, 23 Mar 2007 16:40:05 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>Does anybody have a Java Client for OpenAMQ?</p> <p>I tried the RabbitMQ client but it reported a protocol version mismatch.</p> <p>Regards,</p> <p>Carl Bourne</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-6467</guid>
				<title>Client Examples</title>
				<link>http://www.openamq.org/forum/t-6467/client-examples</link>
				<description>Working Client Examples</description>
				<pubDate>Fri, 23 Mar 2007 16:38:31 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Do you have any more examples of using the AMQ client? We could specifically do with something that provides an example of sending a file to the broker and then reading it off again. We’ve looked at the examples in the documentation but they seem to problems when compiling and using them.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-6428</guid>
				<title>Executing PAL Scripts</title>
				<link>http://www.openamq.org/forum/t-6428/executing-pal-scripts</link>
				<description>Command line executable for PAL scripts</description>
				<pubDate>Fri, 23 Mar 2007 00:45:15 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Please could you tell me what the executable name is for calling PAL scripts. I've tried PAL -h and expected to get a list of commands as described in the documentation e.g.</p> <p>Syntax: program [options…]<br /> Options:<br /> -s server Server:port to connect to (localhost)<br /> -t level Set trace level (default = 0)<br /> 0=none, 1=low, 2=medium, 3=high<br /> -r count Repeat script count times, 0=forever (1)<br /> -c Clock the script (0)<br /> -a Animate: show script commands<br /> -e Execute in single-step mode (0)<br /> -q Quiet mode: no messages<br /> -v Show version information<br /> -h Show summary of command-line options<br /> The order of arguments is not important. Switches and filenames<br /> are case sensitive. See documentation for detailed information.</p> <p>However I get the following:-</p> <p>cbourne@cbourne-desktop:~/ibase$ pal -h<br /> E: '-h' is not a PAL script</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-6272</guid>
				<title>WireAPI: Shared libraries or Dlls</title>
				<link>http://www.openamq.org/forum/t-6272/wireapi:shared-libraries-or-dlls</link>
				<description></description>
				<pubDate>Mon, 19 Mar 2007 17:21:40 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Just downloaded OpenAMQ 1.2c. Had a look at the WireAPI, but the build only provides static libraries.<br /> There are other languages out there that have a C interface. For those languages it would be nice to have your API accessible through shared libraries (Unix) or Dlls (Windows).</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.openamq.org/forum/t-6075</guid>
				<title>OpenAMQ/1.2 released as free software</title>
				<link>http://www.openamq.org/forum/t-6075/openamq-1-2-released-as-free-software</link>
				<description>After more than 18 months of development, OpenAMQ/1.2 is released as free software</description>
				<pubDate>Thu, 15 Mar 2007 15:21:33 +0000</pubDate>
				<wikidot:authorName>mato</wikidot:authorName>				<wikidot:authorUserId>11772</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p><a href="http://www.openamq.org/">Go get it</a>!</p> <p>Press release follows …</p> <p>iMatix Corporation announces major new messaging product</p> <p>Brussels, 15 March 2007: iMatix Corporation has released OpenAMQ/1.2,<br /> a major new messaging product, as free software. OpenAMQ is a mature<br /> and tested AMQP product consisting of: high-performance messaging<br /> broker, client libraries for C/C++, protocol scripting framework,<br /> remote operator console, failover clustering, broker federation,<br /> extensive documentation.</p> <p>iMatix CEO Pieter Hintjens says, "iMatix's free software has a<br /> reputation for being tough, fast, easy to use, and well documented.<br /> OpenAMQ is no exception: we spent over eighteen months hardening this<br /> software for production use in large-scale deployments." In December<br /> 2006, JPMorgan deployed the iMatix OpenAMQ infrastructure as the<br /> backbone for a global mission critical front-office application<br /> accessed by thousands of users in its Equities line of business.</p> <p>JPMorgan chose iMatix for its proven track record, sound architecture,<br /> and its adherence to open standards and principles, thus enabling easy<br /> integration and future flexibility. "OpenAMQ has stood the test of<br /> sustained production use in a demanding environment, proving to be<br /> capable and predictable", said R. John O'Hara, executive director and<br /> senior architect at JPMorgan. "Also, iMatix has been an excellent<br /> partner, demonstrating high levels of commitment which allowed us to<br /> roll out the project efficiently and deliver the exceptional market<br /> services our customers demand."</p> <p>OpenAMQ focuses on simplicity of use, speed, and reliability.<br /> Hintjens explains: "we don't try to do everything. We focus on making<br /> the most reliable, unbreakable server possible. Less is more: while<br /> the protocol (AMQP) provides some very complex features, we implement<br /> the most essential core, and we make it fast and robust."</p> <p>OpenAMQ is built in C/C++, is fully multithreaded, supports up to<br /> 128-way SMP, and runs on Linux, Solaris, and Windows. OpenAMQ<br /> interoperates with other AMQP products such as RabbitMQ and Qpid.</p> <p>OpenAMQ/1.2 is released under the GPL (broker) and BSD license (client<br /> libraries) at www.openamq.org.</p> <p>For more information on iMatix Corporation see www.imatix.com or<br /> contact Martin Lucina on mato (at sign) imatix.com.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>
