<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-12078</id>
	<title>Nabble - stomp - user</title>
	<updated>2009-11-05T04:40:37Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/stomp---user-f12078.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/stomp---user-f12078.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26213795</id>
	<title>PHP Stomp client moved</title>
	<published>2009-11-05T04:40:37Z</published>
	<updated>2009-11-05T04:40:37Z</updated>
	<author>
		<name>Dejan Bosanac</name>
	</author>
	<content type="html">Hi,&lt;br&gt;&lt;br&gt;just to let you all know (with a small delay) that PHP Stomp Client, previously hosted on Google code and documented here has been moved to FUSEForge (&lt;a href=&quot;http://stomp.fusesource.org/documentation/php/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://stomp.fusesource.org/documentation/php/index.html&lt;/a&gt;). Incidentally, I released the 1.0.0 version with some bug fixes, so fi you&amp;#39;re interested give it a spin.&lt;br&gt;
&lt;br&gt;I updated php page to reflect this move &lt;a href=&quot;http://stomp.codehaus.org/php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://stomp.codehaus.org/php&lt;/a&gt; and also added a Zend framework&amp;#39;s Zend_Queue to the list of available clients&lt;br&gt;&lt;br&gt;Cheers&lt;br clear=&quot;all&quot;&gt;
--&lt;br&gt;Dejan Bosanac - &lt;a href=&quot;http://twitter.com/dejanb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://twitter.com/dejanb&lt;/a&gt;&lt;br&gt;&lt;br&gt;Open Source Integration - &lt;a href=&quot;http://fusesource.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fusesource.com/&lt;/a&gt;&lt;br&gt;ActiveMQ in Action - &lt;a href=&quot;http://www.manning.com/snyder/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.manning.com/snyder/&lt;/a&gt;&lt;br&gt;
Blog - &lt;a href=&quot;http://www.nighttale.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nighttale.net&lt;/a&gt;&lt;br&gt;
&lt;div class=&quot;signature&quot;&gt;Dejan Bosanac
&lt;br&gt;&lt;br&gt;Open Source Integration - &lt;a href=&quot;http://fusesource.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fusesource.com/&lt;/a&gt;&lt;br&gt;ActiveMQ in Action - &lt;a href=&quot;http://www.manning.com/snyder/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.manning.com/snyder/&lt;/a&gt;&lt;br&gt;Blog - &lt;a href=&quot;http://www.nighttale.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nighttale.net&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/PHP-Stomp-client-moved-tp26213795p26213795.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25832559</id>
	<title>Re: How to bind StompConnect on all network interfaces</title>
	<published>2009-10-10T02:41:43Z</published>
	<updated>2009-10-10T02:41:43Z</updated>
	<author>
		<name>Alexander L.</name>
	</author>
	<content type="html">The solution is pretty much simpler...
&lt;br&gt;Code like
&lt;br&gt;&lt;br&gt;StompConnect connect = new StompConnect();
&lt;br&gt;connect.setUri(&amp;quot;tcp://0.0.0.0:61616&amp;quot;);
&lt;br&gt;&lt;br&gt;is all what I needed to bind port 61616 to all interfaces.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-bind-StompConnect-on-all-network-interfaces-tp25783815p25832559.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25783815</id>
	<title>How to bind StompConnect on all network interfaces</title>
	<published>2009-10-07T03:36:39Z</published>
	<updated>2009-10-07T03:36:39Z</updated>
	<author>
		<name>Alexander L.</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;It seems that StompConnect API does not allow binding on all network interfaces (just like JBoss could with option -b 0.0.0.0)
&lt;br&gt;See API at &lt;a href=&quot;http://stomp.codehaus.org/maven/apidocs/org/codehaus/stomp/jms/StompConnect.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://stomp.codehaus.org/maven/apidocs/org/codehaus/stomp/jms/StompConnect.html&lt;/a&gt;&lt;br&gt;- it has only setUri/setLocation methods which take the host name string.
&lt;br&gt;&lt;br&gt;Being provided, the host name is used in stompConnect source code to build InetAddress from it and further create server socket.
&lt;br&gt;&lt;br&gt;Does it mean that if I need to bind to all interfaces then I have to iterate over them and bind to each corresponding InetAddress?
&lt;br&gt;&lt;br&gt;This is my current solution by the way.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Alex.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-bind-StompConnect-on-all-network-interfaces-tp25783815p25783815.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24886111</id>
	<title>Re: JBOSS messaging and stompConnect</title>
	<published>2009-08-09T04:05:21Z</published>
	<updated>2009-08-09T04:05:21Z</updated>
	<author>
		<name>NewWay</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Alexander L. wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I am also confused about these settings: -Djava.naming.security.principal=guest and -Djava.naming.security.credentials=guest.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
I'm still confused here - no progress was done
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Alexander L. wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;But main thing I want to know is what should be the name of topic/queue on JBoss?
&lt;br&gt;And what user and password have you added in cpp code?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
the topic/queue in JBOSS should be the one you sent to in the C++, if you'll notice in the &lt;i&gt;main.cpp&lt;/i&gt;&amp;nbsp;in the vs2005-activemq-example there is the &lt;i&gt;HelloWorldConsumer&lt;/i&gt;&amp;nbsp;and in the &lt;i&gt;run&lt;/i&gt;&amp;nbsp;method &amp;nbsp;you can see the line &lt;b&gt;&lt;i&gt;destination = session-&amp;gt;createQueue( &amp;quot;TEST.FOO&amp;quot; );&lt;/i&gt;&lt;/b&gt;&amp;nbsp;change &amp;quot;TEST.FOO&amp;quot; to be the queue name in JBOSS.
&lt;br&gt;&lt;br&gt;now about the change in the code, i assumed that it will use the 
&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Alexander L. wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;-Djava.naming.security.principal=guest and -Djava.naming.security.credentials=guest.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
but it didn't, so what i did was to change the code of &lt;i&gt;&lt;b&gt;ActiveMQConnectionFactory&lt;/b&gt;&lt;/i&gt;&amp;nbsp;so the constructor &amp;nbsp;with this signature looks like this.
&lt;br&gt;&lt;br&gt;&lt;i&gt;cms::ConnectionFactory* cms::ConnectionFactory::createCMSConnectionFactory( const std::string&amp; brokerURI )
&lt;br&gt;&amp;nbsp; &amp;nbsp; throw ( cms::CMSException ) {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; return new ActiveMQConnectionFactory( brokerURI &lt;b&gt;, &amp;quot;guest&amp;quot;, &amp;quot;guest&amp;quot;&lt;/b&gt;);
&lt;br&gt;}&lt;/i&gt;&lt;br&gt;&lt;br&gt;my addition is in bold.
&lt;br&gt;&lt;br&gt;hope this helps you get a start
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JBOSS-messaging-and-stompConnect-tp24035516p24886111.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24793346</id>
	<title>Re: StompConnect can not deliver messages to Jboss if name of destination contains / (slash)</title>
	<published>2009-08-03T09:01:59Z</published>
	<updated>2009-08-03T09:01:59Z</updated>
	<author>
		<name>Alexander L.</name>
	</author>
	<content type="html">&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Alexander L. wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Hello all,
&lt;br&gt;&lt;br&gt;Can anybody explain such a strange behaviour?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;br&gt;This is a bug of JBoss Messaging 1.x.
&lt;br&gt;Workaround is to have destination names without slashes at all.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/StompConnect-can-not-deliver-messages-to-Jboss-if-name-of-destination-contains---%28slash%29-tp24759159p24793346.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24759159</id>
	<title>StompConnect can not deliver messages to Jboss if name of destination contains / (slash)</title>
	<published>2009-07-31T09:19:29Z</published>
	<updated>2009-07-31T09:19:29Z</updated>
	<author>
		<name>Alexander L.</name>
	</author>
	<content type="html">Hello all,
&lt;br&gt;&lt;br&gt;Configuration is:
&lt;br&gt;- C++ client (ActiveMQ CMS over Stomp) is sender
&lt;br&gt;- JBoss 5.0 with MQ and MDB is receiver. StompConnect's thread is working inside JBoss
&lt;br&gt;&lt;br&gt;When the name of the JMS topic is laconic &amp;quot;SERVER&amp;quot;, c++ client sends message to topic &amp;quot;SERVER&amp;quot;, and MDB listening for messages from topic &amp;quot;SERVER&amp;quot;, everything is transmitted well.
&lt;br&gt;&lt;br&gt;But when the name of the JMS &amp;nbsp;topic is &amp;quot;SERVER/TOP&amp;quot; &amp;nbsp;(there is slash in the name), c++ &amp;nbsp;client sends message to topic &amp;quot;SERVER/TOP&amp;quot;, and MDB listening for messages from topic &amp;quot;SERVER/TOP&amp;quot;, an exception is thrown on JBoss side. Full stack of exception is at the end of this message.
&lt;br&gt;&lt;br&gt;However, at the same time when the name of the JMS &amp;nbsp;topic is &amp;quot;SERVER/TOP&amp;quot;, but c++ &amp;nbsp;client sends message to topic &amp;quot;SERVER&amp;quot;, and MDB still listening for messages from topic &amp;quot;SERVER/TOP&amp;quot;, message is received properly. That case is detected accidentally.
&lt;br&gt;&lt;br&gt;Can anybody explain such a strange behaviour?
&lt;br&gt;&lt;br&gt;Exception:
&lt;br&gt;11:42:21,562 ERROR [ExceptionUtil] SessionEndpoint[7b-y2923txf-1-zooy2txf-2p9g2a-w30b3a] createTopic [8b-y2923txf-1-zooy2txf-2p9g2a-w30b3a]
&lt;br&gt;javax.jms.JMSException: There is no administratively defined topic with name:SERVER/TOP
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createTopic(ServerSessionEndpoint.java:321)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$createTopic$aop(SessionAdvised.java:110)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.jms.server.endpoint.advised.SessionAdvised$createTopic_N1144803973659535745.invokeTarget(SessionAdvised$createTopic_N1144803973659535745.java)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.jms.server.endpoint.advised.SessionAdvised.createTopic(SessionAdvised.java)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.jms.wireformat.SessionCreateTopicRequest.serverInvoke(SessionCreateTopicRequest.java:74)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.remoting.Client.invoke(Client.java:1708)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.remoting.Client.invoke(Client.java:612)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.remoting.Client.invoke(Client.java:600)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$createTopic$aop(ClientSessionDelegate.java:353)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.jms.client.delegate.ClientSessionDelegate$createTopic_N1144803973659535745.invokeTarget(ClientSessionDelegate$createTopic_N1144803973659535745.java)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.jms.client.delegate.ClientSessionDelegate.createTopic(ClientSessionDelegate.java)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jboss.jms.client.JBossSession.createTopic(JBossSession.java:260)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.codehaus.stomp.jms.StompSession.convertDestination(StompSession.java:96)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.codehaus.stomp.jms.StompSession.sendToJms(StompSession.java:71)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.codehaus.stomp.jms.ProtocolConverter.onStompSend(ProtocolConverter.java:260)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.codehaus.stomp.jms.ProtocolConverter.onStompFrame(ProtocolConverter.java:132)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.codehaus.stomp.tcp.TcpTransport.run(TcpTransport.java:131)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Thread.run(Thread.java:619)</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/StompConnect-can-not-deliver-messages-to-Jboss-if-name-of-destination-contains---%28slash%29-tp24759159p24759159.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24743804</id>
	<title>Re: JBOSS messaging and stompConnect</title>
	<published>2009-07-30T11:08:43Z</published>
	<updated>2009-07-30T11:08:43Z</updated>
	<author>
		<name>Alexander L.</name>
	</author>
	<content type="html">Hello NewWay,
&lt;br&gt;&lt;br&gt;Could you share you success a little bit more please?
&lt;br&gt;I am trying to make the same - receive messages on JBoss side (messages sent from C++ client).
&lt;br&gt;I am also confused about these settings: -Djava.naming.security.principal=guest and -Djava.naming.security.credentials=guest.
&lt;br&gt;But main thing I want to know is what should be the name of topic/queue on JBoss?
&lt;br&gt;And what user and password have you added in cpp code?
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;NewWay wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I got it working&lt;img class='smiley' src='http://old.nabble.com/images/smiley/anim_claps.gif' /&gt;&amp;nbsp;
&lt;br&gt;what I needed to do is in the cpp code to add the user and password.
&lt;br&gt;&lt;br&gt;But still, i don't understand the purpose of those lines in the script
&lt;br&gt;&lt;br&gt;rem set properties=%properties% -Djava.naming.security.principal=guest
&lt;br&gt;rem set properties=%properties% -Djava.naming.security.credentials=guest&lt;img class='smiley' src='http://old.nabble.com/images/smiley/anim_confused.gif' /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JBOSS-messaging-and-stompConnect-tp24035516p24743804.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24634231</id>
	<title>does stompconnect work with OpenMQ in Glassfish?</title>
	<published>2009-07-23T09:44:35Z</published>
	<updated>2009-07-23T09:44:35Z</updated>
	<author>
		<name>victorng</name>
	</author>
	<content type="html">&lt;br&gt;I'm having problems getting durable subscriptions to work properly. &amp;nbsp;I'm
&lt;br&gt;running Glassfish v2.1 and the built in OpenMQ (4.3 i think) in it.
&lt;br&gt;&lt;br&gt;stompconnect binds properly and I can connect - here's the STOMP wire data -
&lt;br&gt;I'm properly getting the ClientID from glassfish as the session header on
&lt;br&gt;CONNECT.
&lt;br&gt;&lt;br&gt;If I send messages while my client is down though, I don't get the pending
&lt;br&gt;messages when the stomp client restarts.
&lt;br&gt;&lt;br&gt;Am I doing something really dumb? &amp;nbsp;I've tried setting the
&lt;br&gt;durable-subscriber-name to the same as the session header value in the
&lt;br&gt;CONNECT and I still get nothing.
&lt;br&gt;&lt;br&gt;vic
&lt;br&gt;&lt;br&gt;====================
&lt;br&gt;Sending bytes:
&lt;br&gt;CONNECT
&lt;br&gt;x-client:167.26.39.34
&lt;br&gt;&lt;br&gt;None
&lt;br&gt;====================
&lt;br&gt;Got:
&lt;br&gt;CONNECTED
&lt;br&gt;session:durable_client_id
&lt;br&gt;&lt;br&gt;&lt;br&gt;====================
&lt;br&gt;Sending bytes:
&lt;br&gt;SUBSCRIBE
&lt;br&gt;x-client:167.26.39.34
&lt;br&gt;durable-subscriber-name:mysubname
&lt;br&gt;destination:/topic/MyFirstTopic
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://www.nabble.com/does-stompconnect-work-with-OpenMQ-in-Glassfish--tp24629776p24629776.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/does-stompconnect-work-with-OpenMQ-in-Glassfish--tp24629776p24629776.html&lt;/a&gt;&lt;br&gt;Sent from the stomp - user mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/does-stompconnect-work-with-OpenMQ-in-Glassfish--tp24634231p24634231.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24368763</id>
	<title>Re: Stomp Problem with receiving topic</title>
	<published>2009-07-07T00:56:54Z</published>
	<updated>2009-07-07T00:56:54Z</updated>
	<author>
		<name>Dejan Bosanac</name>
	</author>
	<content type="html">Hi,&lt;br&gt;&lt;br&gt;what you need is durable subscriber for the topic.&lt;br&gt;&lt;br&gt;Unfortunately, the best description is here&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/stomp-durable-subscriber-td19446909.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/stomp-durable-subscriber-td19446909.html&lt;/a&gt;&lt;br&gt;
&lt;br&gt;should write a doc for it.&lt;br&gt;&lt;br&gt;Cheers&lt;br clear=&quot;all&quot;&gt;--&lt;br&gt;Dejan Bosanac&lt;br&gt;&lt;br&gt;Open Source Integration - &lt;a href=&quot;http://fusesource.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fusesource.com/&lt;/a&gt;&lt;br&gt;ActiveMQ in Action - &lt;a href=&quot;http://www.manning.com/snyder/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.manning.com/snyder/&lt;/a&gt;&lt;br&gt;
Blog - &lt;a href=&quot;http://www.nighttale.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nighttale.net&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sat, Jun 27, 2009 at 7:58 AM, Plew &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24368763&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;plew@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
Thank you Roger&lt;br&gt;
&lt;br&gt;
the problem is, that I have more describer for one topic, and they want to&lt;br&gt;
get all unread messages when they &amp;quot;log in&amp;quot; at the server....&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Roger Hoover wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I think that&amp;#39;s the way topics are supposed to work.  As far as I know, you&lt;br&gt;
&amp;gt; have to be subscribed to the topic in order to get messages that were&lt;br&gt;
&amp;gt; published to it.  You would need to implement a PHP daemon that remains&lt;br&gt;
&amp;gt; subscribed to the topic.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; If you want to pick up messages periodically and you only have one&lt;br&gt;
&amp;gt; consumer&lt;br&gt;
&amp;gt; for each message, you can use a queue.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; HTH,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Roger&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; On Fri, Jun 26, 2009 at 9:29 AM, Plew &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24368763&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;plew@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Hi&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; i&amp;#39;ve got a problem with Stomp+PHP 5+ActiveMQ 5.2, I&amp;#39;m new to MQ and JMS,&lt;br&gt;
&amp;gt;&amp;gt; hope you can help me.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I want to output all messages from a subscribed topic with PHP. The&lt;br&gt;
&amp;gt;&amp;gt; problem&lt;br&gt;
&amp;gt;&amp;gt; is, only the last message wich was sent by an client to the topic is&lt;br&gt;
&amp;gt;&amp;gt; shown&lt;br&gt;
&amp;gt;&amp;gt; by the subscriber, but I want to receive also the old messages from the&lt;br&gt;
&amp;gt;&amp;gt; topic and not only the last one. Also the PHP-Script is not working, when&lt;br&gt;
&amp;gt;&amp;gt; the topic stores old messages, nothing is shown - it&amp;#39;s only working when&lt;br&gt;
&amp;gt;&amp;gt; it&amp;#39;s listening and the client send something new to the topic???&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I tried this sheet of code for the Subscriber (for sending i used the&lt;br&gt;
&amp;gt;&amp;gt; ApacheMQ-Bin Webfrontend).&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;lt;?php&lt;br&gt;
&amp;gt;&amp;gt; require_once(&amp;quot;Stomp.php&amp;quot;);&lt;br&gt;
&amp;gt;&amp;gt; $con = new Stomp(&amp;quot;tcp://&lt;a href=&quot;http://192.0.0.101:61613&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;192.0.0.101:61613&lt;/a&gt;&amp;quot;);&lt;br&gt;
&amp;gt;&amp;gt; $con-&amp;gt;connect();&lt;br&gt;
&amp;gt;&amp;gt; $con-&amp;gt;subscribe(&amp;quot;/topic/test&amp;quot;);&lt;br&gt;
&amp;gt;&amp;gt; $msg = $con-&amp;gt;readFrame();&lt;br&gt;
&amp;gt;&amp;gt; echo $msg-&amp;gt;body.&amp;quot;\n&amp;quot;;&lt;br&gt;
&amp;gt;&amp;gt; $con-&amp;gt;ack($msg);&lt;br&gt;
&amp;gt;&amp;gt; $con-&amp;gt;disconnect();&lt;br&gt;
&amp;gt;&amp;gt; ?&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; So what should i do, to get all the unreceived messages from the topic,&lt;br&gt;
&amp;gt;&amp;gt; which where send between last subscription an now, without polling all&lt;br&gt;
&amp;gt;&amp;gt; the&lt;br&gt;
&amp;gt;&amp;gt; time with one script and a neverending loop, i want to poll  cyclic with&lt;br&gt;
&amp;gt;&amp;gt; a&lt;br&gt;
&amp;gt;&amp;gt; script, to get one or more messages from the topic???&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; greetings&lt;br&gt;
&amp;gt;&amp;gt; Stefan&lt;br&gt;
&amp;gt;&amp;gt; --&lt;br&gt;
&amp;gt;&amp;gt; View this message in context:&lt;br&gt;
&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24223394.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24223394.html&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; Sent from the stomp - user mailing list archive at Nabble.com.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; ---------------------------------------------------------------------&lt;br&gt;
&amp;gt;&amp;gt; To unsubscribe from this list, please visit:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;font color=&quot;#888888&quot;&gt;--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://www.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24230672.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24230672.html&lt;/a&gt;&lt;br&gt;

&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;Sent from the stomp - user mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;div class=&quot;signature&quot;&gt;Dejan Bosanac
&lt;br&gt;&lt;br&gt;Open Source Integration - &lt;a href=&quot;http://fusesource.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fusesource.com/&lt;/a&gt;&lt;br&gt;ActiveMQ in Action - &lt;a href=&quot;http://www.manning.com/snyder/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.manning.com/snyder/&lt;/a&gt;&lt;br&gt;Blog - &lt;a href=&quot;http://www.nighttale.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nighttale.net&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24368763.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24266764</id>
	<title>Re: Stomp Problem with receiving topic</title>
	<published>2009-06-29T23:10:25Z</published>
	<updated>2009-06-29T23:10:25Z</updated>
	<author>
		<name>Roger Hoover</name>
	</author>
	<content type="html">Based on your description of the problem, it sounds to me like a messaging product is not a good fit for your requirements.  Some kind of RSS or Atom server would be well suited.  Producers can publish to the Atom/RSS feed and consumers can get new items for them every time they &amp;quot;log in&amp;quot;.&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jun 26, 2009 at 10:58 PM, Plew &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24266764&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;plew@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
Thank you Roger&lt;br&gt;
&lt;br&gt;
the problem is, that I have more describer for one topic, and they want to&lt;br&gt;
get all unread messages when they &amp;quot;log in&amp;quot; at the server....&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Roger Hoover wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I think that&amp;#39;s the way topics are supposed to work.  As far as I know, you&lt;br&gt;
&amp;gt; have to be subscribed to the topic in order to get messages that were&lt;br&gt;
&amp;gt; published to it.  You would need to implement a PHP daemon that remains&lt;br&gt;
&amp;gt; subscribed to the topic.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; If you want to pick up messages periodically and you only have one&lt;br&gt;
&amp;gt; consumer&lt;br&gt;
&amp;gt; for each message, you can use a queue.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; HTH,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Roger&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; On Fri, Jun 26, 2009 at 9:29 AM, Plew &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24266764&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;plew@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Hi&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; i&amp;#39;ve got a problem with Stomp+PHP 5+ActiveMQ 5.2, I&amp;#39;m new to MQ and JMS,&lt;br&gt;
&amp;gt;&amp;gt; hope you can help me.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I want to output all messages from a subscribed topic with PHP. The&lt;br&gt;
&amp;gt;&amp;gt; problem&lt;br&gt;
&amp;gt;&amp;gt; is, only the last message wich was sent by an client to the topic is&lt;br&gt;
&amp;gt;&amp;gt; shown&lt;br&gt;
&amp;gt;&amp;gt; by the subscriber, but I want to receive also the old messages from the&lt;br&gt;
&amp;gt;&amp;gt; topic and not only the last one. Also the PHP-Script is not working, when&lt;br&gt;
&amp;gt;&amp;gt; the topic stores old messages, nothing is shown - it&amp;#39;s only working when&lt;br&gt;
&amp;gt;&amp;gt; it&amp;#39;s listening and the client send something new to the topic???&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I tried this sheet of code for the Subscriber (for sending i used the&lt;br&gt;
&amp;gt;&amp;gt; ApacheMQ-Bin Webfrontend).&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;lt;?php&lt;br&gt;
&amp;gt;&amp;gt; require_once(&amp;quot;Stomp.php&amp;quot;);&lt;br&gt;
&amp;gt;&amp;gt; $con = new Stomp(&amp;quot;tcp://&lt;a href=&quot;http://192.0.0.101:61613&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;192.0.0.101:61613&lt;/a&gt;&amp;quot;);&lt;br&gt;
&amp;gt;&amp;gt; $con-&amp;gt;connect();&lt;br&gt;
&amp;gt;&amp;gt; $con-&amp;gt;subscribe(&amp;quot;/topic/test&amp;quot;);&lt;br&gt;
&amp;gt;&amp;gt; $msg = $con-&amp;gt;readFrame();&lt;br&gt;
&amp;gt;&amp;gt; echo $msg-&amp;gt;body.&amp;quot;\n&amp;quot;;&lt;br&gt;
&amp;gt;&amp;gt; $con-&amp;gt;ack($msg);&lt;br&gt;
&amp;gt;&amp;gt; $con-&amp;gt;disconnect();&lt;br&gt;
&amp;gt;&amp;gt; ?&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; So what should i do, to get all the unreceived messages from the topic,&lt;br&gt;
&amp;gt;&amp;gt; which where send between last subscription an now, without polling all&lt;br&gt;
&amp;gt;&amp;gt; the&lt;br&gt;
&amp;gt;&amp;gt; time with one script and a neverending loop, i want to poll  cyclic with&lt;br&gt;
&amp;gt;&amp;gt; a&lt;br&gt;
&amp;gt;&amp;gt; script, to get one or more messages from the topic???&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; greetings&lt;br&gt;
&amp;gt;&amp;gt; Stefan&lt;br&gt;
&amp;gt;&amp;gt; --&lt;br&gt;
&amp;gt;&amp;gt; View this message in context:&lt;br&gt;
&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24223394.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24223394.html&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; Sent from the stomp - user mailing list archive at Nabble.com.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; ---------------------------------------------------------------------&lt;br&gt;
&amp;gt;&amp;gt; To unsubscribe from this list, please visit:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;font color=&quot;#888888&quot;&gt;--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://www.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24230672.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24230672.html&lt;/a&gt;&lt;br&gt;

&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;Sent from the stomp - user mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24266764.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24230672</id>
	<title>Re: Stomp Problem with receiving topic</title>
	<published>2009-06-26T22:58:20Z</published>
	<updated>2009-06-26T22:58:20Z</updated>
	<author>
		<name>Plew</name>
	</author>
	<content type="html">Thank you Roger
&lt;br&gt;&lt;br&gt;the problem is, that I have more describer for one topic, and they want to get all unread messages when they &amp;quot;log in&amp;quot; at the server....
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Roger Hoover wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;I think that's the way topics are supposed to work. &amp;nbsp;As far as I know, you
&lt;br&gt;have to be subscribed to the topic in order to get messages that were
&lt;br&gt;published to it. &amp;nbsp;You would need to implement a PHP daemon that remains
&lt;br&gt;subscribed to the topic.
&lt;br&gt;&lt;br&gt;If you want to pick up messages periodically and you only have one consumer
&lt;br&gt;for each message, you can use a queue.
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;&lt;br&gt;Roger
&lt;br&gt;&lt;br&gt;On Fri, Jun 26, 2009 at 9:29 AM, Plew &amp;lt;plew@gmx.de&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; i've got a problem with Stomp+PHP 5+ActiveMQ 5.2, I'm new to MQ and JMS,
&lt;br&gt;&amp;gt; hope you can help me.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I want to output all messages from a subscribed topic with PHP. The problem
&lt;br&gt;&amp;gt; is, only the last message wich was sent by an client to the topic is shown
&lt;br&gt;&amp;gt; by the subscriber, but I want to receive also the old messages from the
&lt;br&gt;&amp;gt; topic and not only the last one. Also the PHP-Script is not working, when
&lt;br&gt;&amp;gt; the topic stores old messages, nothing is shown - it's only working when
&lt;br&gt;&amp;gt; it's listening and the client send something new to the topic???
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried this sheet of code for the Subscriber (for sending i used the
&lt;br&gt;&amp;gt; ApacheMQ-Bin Webfrontend).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;?php
&lt;br&gt;&amp;gt; require_once(&amp;quot;Stomp.php&amp;quot;);
&lt;br&gt;&amp;gt; $con = new Stomp(&amp;quot;tcp://192.0.0.101:61613&amp;quot;);
&lt;br&gt;&amp;gt; $con-&amp;gt;connect();
&lt;br&gt;&amp;gt; $con-&amp;gt;subscribe(&amp;quot;/topic/test&amp;quot;);
&lt;br&gt;&amp;gt; $msg = $con-&amp;gt;readFrame();
&lt;br&gt;&amp;gt; echo $msg-&amp;gt;body.&amp;quot;\n&amp;quot;;
&lt;br&gt;&amp;gt; $con-&amp;gt;ack($msg);
&lt;br&gt;&amp;gt; $con-&amp;gt;disconnect();
&lt;br&gt;&amp;gt; ?&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So what should i do, to get all the unreceived messages from the topic,
&lt;br&gt;&amp;gt; which where send between last subscription an now, without polling all the
&lt;br&gt;&amp;gt; time with one script and a neverending loop, i want to poll &amp;nbsp;cyclic with a
&lt;br&gt;&amp;gt; script, to get one or more messages from the topic???
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; greetings
&lt;br&gt;&amp;gt; Stefan
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24223394.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24223394.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the stomp - user mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24230672.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24224452</id>
	<title>Re: Stomp Problem with receiving topic</title>
	<published>2009-06-26T10:37:39Z</published>
	<updated>2009-06-26T10:37:39Z</updated>
	<author>
		<name>Roger Hoover</name>
	</author>
	<content type="html">I think that&amp;#39;s the way topics are supposed to work.  As far as I know, you have to be subscribed to the topic in order to get messages that were published to it.  You would need to implement a PHP daemon that remains subscribed to the topic.&lt;br&gt;
&lt;br&gt;If you want to pick up messages periodically and you only have one consumer for each message, you can use a queue.&lt;br&gt;&lt;br&gt;HTH,&lt;br&gt;&lt;br&gt;Roger&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jun 26, 2009 at 9:29 AM, Plew &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24224452&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;plew@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;
Hi&lt;br&gt;
&lt;br&gt;
i&amp;#39;ve got a problem with Stomp+PHP 5+ActiveMQ 5.2, I&amp;#39;m new to MQ and JMS,&lt;br&gt;
hope you can help me.&lt;br&gt;
&lt;br&gt;
I want to output all messages from a subscribed topic with PHP. The problem&lt;br&gt;
is, only the last message wich was sent by an client to the topic is shown&lt;br&gt;
by the subscriber, but I want to receive also the old messages from the&lt;br&gt;
topic and not only the last one. Also the PHP-Script is not working, when&lt;br&gt;
the topic stores old messages, nothing is shown - it&amp;#39;s only working when&lt;br&gt;
it&amp;#39;s listening and the client send something new to the topic???&lt;br&gt;
&lt;br&gt;
I tried this sheet of code for the Subscriber (for sending i used the&lt;br&gt;
ApacheMQ-Bin Webfrontend).&lt;br&gt;
&lt;br&gt;
&amp;lt;?php&lt;br&gt;
require_once(&amp;quot;Stomp.php&amp;quot;);&lt;br&gt;
$con = new Stomp(&amp;quot;tcp://&lt;a href=&quot;http://192.0.0.101:61613&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;192.0.0.101:61613&lt;/a&gt;&amp;quot;);&lt;br&gt;
$con-&amp;gt;connect();&lt;br&gt;
$con-&amp;gt;subscribe(&amp;quot;/topic/test&amp;quot;);&lt;br&gt;
$msg = $con-&amp;gt;readFrame();&lt;br&gt;
echo $msg-&amp;gt;body.&amp;quot;\n&amp;quot;;&lt;br&gt;
$con-&amp;gt;ack($msg);&lt;br&gt;
$con-&amp;gt;disconnect();&lt;br&gt;
?&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
So what should i do, to get all the unreceived messages from the topic,&lt;br&gt;
which where send between last subscription an now, without polling all the&lt;br&gt;
time with one script and a neverending loop, i want to poll  cyclic with a&lt;br&gt;
script, to get one or more messages from the topic???&lt;br&gt;
&lt;br&gt;
greetings&lt;br&gt;
Stefan&lt;br&gt;
--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://www.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24223394.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24223394.html&lt;/a&gt;&lt;br&gt;

Sent from the stomp - user mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24224452.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24223394</id>
	<title>Stomp Problem with receiving topic</title>
	<published>2009-06-26T09:29:08Z</published>
	<updated>2009-06-26T09:29:08Z</updated>
	<author>
		<name>Plew</name>
	</author>
	<content type="html">Hi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;i've got a problem with Stomp+PHP 5+ActiveMQ 5.2, I'm new to MQ and JMS, hope you can help me.
&lt;br&gt;&lt;br&gt;I want to output all messages from a subscribed topic with PHP. The problem is, only the last message wich was sent by an client to the topic is shown by the subscriber, but I want to receive also the old messages from the topic and not only the last one. Also the PHP-Script is not working, when the topic stores old messages, nothing is shown - it's only working when it's listening and the client send something new to the topic???
&lt;br&gt;&lt;br&gt;I tried this sheet of code for the Subscriber (for sending i used the ApacheMQ-Bin Webfrontend).
&lt;br&gt;&lt;br&gt;&amp;lt;?php
&lt;br&gt;require_once(&amp;quot;Stomp.php&amp;quot;);
&lt;br&gt;$con = new Stomp(&amp;quot;tcp://192.0.0.101:61613&amp;quot;);
&lt;br&gt;$con-&amp;gt;connect();
&lt;br&gt;$con-&amp;gt;subscribe(&amp;quot;/topic/test&amp;quot;);
&lt;br&gt;$msg = $con-&amp;gt;readFrame();
&lt;br&gt;echo $msg-&amp;gt;body.&amp;quot;\n&amp;quot;;
&lt;br&gt;$con-&amp;gt;ack($msg);
&lt;br&gt;$con-&amp;gt;disconnect();
&lt;br&gt;?&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;So what should i do, to get all the unreceived messages from the topic, which where send between last subscription an now, without polling all the time with one script and a neverending loop, i want to poll &amp;nbsp;cyclic with a script, to get one or more messages from the topic???
&lt;br&gt;&lt;br&gt;greetings
&lt;br&gt;Stefan</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stomp-Problem-with-receiving-topic-tp24223394p24223394.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24174187</id>
	<title>Re: Socket error disconnect resource leak</title>
	<published>2009-06-23T13:49:08Z</published>
	<updated>2009-06-23T13:49:08Z</updated>
	<author>
		<name>wbustraan</name>
	</author>
	<content type="html">&lt;p&gt;How do we get this incorporated into a StompConnect release? I'm experiencing an issue related to this.&lt;/p&gt;

&lt;p&gt;In the process of testing a STOMP connector, I wrote an application that connects via STOMP, sends a batch of messages, receives those same messages, and then attempts to compare the checksum on the original message and the received message.&lt;/p&gt;

&lt;p&gt;During testing, I noticed that about 50% of the time, when I would run the application it would miss the first 3-6 messages and thought maybe the issue was with my client. However, in the log, I was getting exceptions like this:&lt;/p&gt;

&lt;pre&gt;
Failed to process message due to: java.net.SocketException: Software caused connection abort: socket write error. Message: 

java.net.SocketException: Software caused connection abort: socket write error
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
	at org.codehaus.stomp.tcp.TcpBufferedOutputStream.flush(TcpBufferedOutputStream.java:106)
	at java.io.DataOutputStream.flush(DataOutputStream.java:106)
	at org.codehaus.stomp.tcp.TcpTransport.onStompFrame(TcpTransport.java:105)
	at org.codehaus.stomp.jms.ProtocolConverter.sendToStomp(ProtocolConverter.java:467)
	at org.codehaus.stomp.jms.StompSession.sendToStomp(StompSession.java:83)
	at org.codehaus.stomp.jms.StompSubscription.onMessage(StompSubscription.java:92)
	at com.ibm.mq.jms.MQMessageConsumer.receiveAsync(MQMessageConsumer.java:3020)
	at com.ibm.mq.jms.SessionAsyncHelper.run(SessionAsyncHelper.java:412)
	at java.lang.Thread.run(Thread.java:619)
&lt;/pre&gt;

&lt;p&gt;This was very confusing because they were happening during the &lt;i&gt;sending&lt;/i&gt; phase of the app, &lt;b&gt;not&lt;/b&gt; during the receiving phase, yet the exceptions seem to be happening while StompConnect is attempting to send a message through a socket.&lt;/p&gt;

&lt;p&gt;What appears to be happening is that, when I run the client the first time, StompConnect registers a subscription for the queue and starts sending messages out the connected socket to the client. But, when the client exits, StompConnect doesn't close and clean up the socket. So, the &lt;i&gt;next&lt;/i&gt; time I run the client and send more messages to the queue, StompConnect pulls the first few messages off the queue and attempts to send them out the old, disconnected socket, which fails, hence the &quot;socket write error&quot;.&lt;/p&gt;

&lt;p&gt;Unfortunately, those failed messages are disappearing from the queue permanently, so never get delivered to the second instance of the client. After a few messages, StompConnect figures out that the old socket is defunct and starts delivering messages to the new subscription.&lt;/p&gt;


&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;bwarren wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;
&lt;p&gt;We've got a scenario where our STOMP clients are on a (very bad) cellular connection and they disconnect and reconnect a lot.  StompConnect is built around the assumption that client connections are basically permanent until the service is stopped.&lt;/p&gt;

&lt;p&gt;I've found a memory leak in the StompConnect code when a network interruption happens.  In the run() method on TcpTransport if it gets an error it calls the stop() method.  That's all fine, but the thread and socket are never nulled out and the TcpTransportServer is never notified that the transport object choked so the server object keeps it in the transport collection, and that collection never removes anything unless you call stop() on the server object.&lt;/p&gt;

&lt;p&gt;I was able to fix the problem by adding a callback to the server object when the transport catches the exception to tell the server object to remove that transport from the collection.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;

</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Socket-error-disconnect-resource-leak-tp23603883p24174187.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24036856</id>
	<title>Re: JBOSS messaging and stompConnect</title>
	<published>2009-06-15T08:28:41Z</published>
	<updated>2009-06-15T08:28:41Z</updated>
	<author>
		<name>NewWay</name>
	</author>
	<content type="html">I got it working&lt;img class='smiley' src='http://old.nabble.com/images/smiley/anim_claps.gif' /&gt;&amp;nbsp;
&lt;br&gt;what I needed to do is in the cpp code to add the user and password.
&lt;br&gt;&lt;br&gt;But still, i don't understand the purpose of those lines in the script
&lt;br&gt;&lt;br&gt;rem set properties=%properties% -Djava.naming.security.principal=guest
&lt;br&gt;rem set properties=%properties% -Djava.naming.security.credentials=guest&lt;img class='smiley' src='http://old.nabble.com/images/smiley/anim_confused.gif' /&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JBOSS-messaging-and-stompConnect-tp24035516p24036856.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24035516</id>
	<title>JBOSS messaging and stompConnect</title>
	<published>2009-06-15T07:21:26Z</published>
	<updated>2009-06-15T07:21:26Z</updated>
	<author>
		<name>NewWay</name>
	</author>
	<content type="html">Hello all,&lt;br&gt;
&lt;br&gt;
I'm trying to create a C++ client for JBOSS messaging using stompConnect.
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;I'm using:&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
 &lt;list&gt;&lt;li&gt;JBOSS 4.2.3.GA&lt;/li&gt;&lt;li&gt;JBOSS-messaging-1.4.2.GA-SP1&lt;/li&gt;&lt;li&gt;stompConnect-1.0&lt;/li&gt;&lt;li&gt;activemq-cpp-library-3.0&lt;/li&gt;&lt;/list&gt;&lt;br&gt;
in the activemq I'm trying to run the example program, where the only thing I did was to set the &lt;b&gt;brokerURI&lt;/b&gt; to &lt;br&gt;
&lt;b&gt;&quot;tcp://127.0.0.1:61613&quot;&lt;br&gt;
&quot;?wireFormat=stomp&quot;&lt;/b&gt;&lt;br&gt;
I used the script from the stomp site to set up stomp with JBOSS&lt;br&gt;
&lt;br&gt;
&lt;b&gt;And here is my problem&lt;/b&gt;&lt;br&gt;
I keep getting from the JBOSS side an exception saying that &lt;b&gt;User  is NOT authenticated&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
&lt;b&gt;I noticed that in the message, between &lt;i&gt;user&lt;/i&gt; and &lt;i&gt;is&lt;/i&gt; there are two spaces and not one, which means that the user parameter arrives empty&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
Did I miss something out in the connection chain?&lt;br&gt;
isn't the user name taken from the property &lt;i&gt;-Djava.naming.security.principal&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
You're help would be greatly appreciated.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JBOSS-messaging-and-stompConnect-tp24035516p24035516.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23605161</id>
	<title>Re: Socket error disconnect resource leak</title>
	<published>2009-05-18T13:50:27Z</published>
	<updated>2009-05-18T13:50:27Z</updated>
	<author>
		<name>Roger Hoover</name>
	</author>
	<content type="html">It may be useful to post this to the Apache ActiveMQ mailing list: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23605161&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, May 18, 2009 at 12:30 PM, bwarren &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23605161&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;brad.warren@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;
We&amp;#39;ve got a scenario where our STOMP clients are on a (very bad) cellular&lt;br&gt;
connection and they disconnect and reconnect a lot.  StompConnect is built&lt;br&gt;
around the assumption that client connections are basically permanent until&lt;br&gt;
the service is stopped.&lt;br&gt;
&lt;br&gt;
I&amp;#39;ve found a memory leak in the StompConnect code when a network&lt;br&gt;
interruption happens.  In the run() method on TcpTransport if it gets an&lt;br&gt;
error it calls the stop() method.  That&amp;#39;s all fine, but the thread and&lt;br&gt;
socket are never nulled out and the TcpTransportServer is never notified&lt;br&gt;
that the transport object choked so the server object keeps it in the&lt;br&gt;
transport collection, and that collection never removes anything unless you&lt;br&gt;
call stop() on the server object.&lt;br&gt;
&lt;br&gt;
I was able to fix the problem by adding a callback to the server object when&lt;br&gt;
the transport catches the exception to tell the server object to remove that&lt;br&gt;
transport from the collection.&lt;br&gt;
--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://www.nabble.com/Socket-error-disconnect-resource-leak-tp23603883p23603883.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/Socket-error-disconnect-resource-leak-tp23603883p23603883.html&lt;/a&gt;&lt;br&gt;

Sent from the stomp - user mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Socket-error-disconnect-resource-leak-tp23603883p23605161.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23603883</id>
	<title>Socket error disconnect resource leak</title>
	<published>2009-05-18T12:30:57Z</published>
	<updated>2009-05-18T12:30:57Z</updated>
	<author>
		<name>bwarren</name>
	</author>
	<content type="html">We've got a scenario where our STOMP clients are on a (very bad) cellular connection and they disconnect and reconnect a lot. &amp;nbsp;StompConnect is built around the assumption that client connections are basically permanent until the service is stopped.
&lt;br&gt;&lt;br&gt;I've found a memory leak in the StompConnect code when a network interruption happens. &amp;nbsp;In the run() method on TcpTransport if it gets an error it calls the stop() method. &amp;nbsp;That's all fine, but the thread and socket are never nulled out and the TcpTransportServer is never notified that the transport object choked so the server object keeps it in the transport collection, and that collection never removes anything unless you call stop() on the server object.
&lt;br&gt;&lt;br&gt;I was able to fix the problem by adding a callback to the server object when the transport catches the exception to tell the server object to remove that transport from the collection.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Socket-error-disconnect-resource-leak-tp23603883p23603883.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22842254</id>
	<title>Is Support ActionScript 2</title>
	<published>2009-04-02T00:15:46Z</published>
	<updated>2009-04-02T00:15:46Z</updated>
	<author>
		<name>qrtt1</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I have use as3-stomp in flash project and it works well.
&lt;br&gt;However the target player can only run actionscript 2 (such as flash lite, swfcodec and others),
&lt;br&gt;this is the reason why I need a stomp library for actionsctip 2.
&lt;br&gt;&lt;br&gt;I have try to browsing as-stomp project page but no artifacts supported as2 there.
&lt;br&gt;Someone can help me or any suggestions?
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-Support-ActionScript-2-tp22842254p22842254.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22269047</id>
	<title>Rubyforge</title>
	<published>2009-02-28T17:41:45Z</published>
	<updated>2009-02-28T17:41:45Z</updated>
	<author>
		<name>Brian McCallister</name>
	</author>
	<content type="html">I recently added Johan Sørensen and Pete Hodgson as admins on the
&lt;br&gt;rubyforge project (where the gem is published to).
&lt;br&gt;&lt;br&gt;Hopefully I will no longer be an obstacle to releases!
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Rubyforge-tp22269047p22269047.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22102073</id>
	<title>Re: stomp rollback</title>
	<published>2009-02-19T06:47:16Z</published>
	<updated>2009-02-19T06:47:16Z</updated>
	<author>
		<name>Dejan Bosanac</name>
	</author>
	<content type="html">Hi,&lt;br&gt;&lt;br&gt;it seems that acking a message before a commit still creates this problem. I just reopened the original issue for this &lt;a href=&quot;https://issues.apache.org/activemq/browse/AMQ-1807&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/activemq/browse/AMQ-1807&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;Until it&amp;#39;s fixed, try removing an ack of the message you want to abort and it should be working fine.&lt;br&gt;&lt;br&gt;Cheers&lt;br clear=&quot;all&quot;&gt;--&lt;br&gt;Dejan Bosanac&lt;br&gt;&lt;br&gt;Open Source Integration - &lt;a href=&quot;http://fusesource.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fusesource.com/&lt;/a&gt;&lt;br&gt;
ActiveMQ in Action - &lt;a href=&quot;http://www.manning.com/snyder/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.manning.com/snyder/&lt;/a&gt;&lt;br&gt;Blog - &lt;a href=&quot;http://www.nighttale.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nighttale.net&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Feb 17, 2009 at 9:15 PM, jzhang1 &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22102073&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jian.zhang@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
upload again. file sub.c&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;
&lt;br&gt;
jzhang1 wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;nbsp;i uploaded the sample code. &amp;nbsp;It is using stomp calls from&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://svn.codehaus.org/stomp/trunk/c/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://svn.codehaus.org/stomp/trunk/c/&lt;/a&gt;. &amp;nbsp;but could not receive pending&lt;br&gt;
&amp;gt; aborted messages unless re-connect.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Brian McCallister wrote:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; On Sun, Feb 15, 2009 at 12:13 PM, jzhang1 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22102073&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jian.zhang@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/file/p22065197/sub&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/file/p22065197/sub&lt;/a&gt; sub&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; I am using apache-activemq-5.2.0.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Certainly should be fixed there. I&amp;#39;d ask on the &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22102073&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; list&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; -Brian&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Brian McCallister wrote:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Thu, Feb 12, 2009 at 7:20 PM, jzhang1 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22102073&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jian.zhang@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; stomp guru,&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I use stomp to connect ActiveMQ. I am curious whether stomp provide&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; backout.&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; all enqueue and dequeue functions calls that have occurred since the&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; last&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; syncpoint are to be backed out. Messages put as part of a unit of work&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; are&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; deleted; messages retrieved as part of a unit of work are reinstated&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; on&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; queue.&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I call stomp &amp;quot;abort&amp;quot;, &amp;nbsp;sleep seconds, then call receive. But i can not&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; receive the backout messages unless I restart stomp connection.&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt; IIRC this is an old bug in ActiveMQ --- which version are you using?&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thanks&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; --&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; View this message in context:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/stomp-rollback-tp21989462p21989462.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/stomp-rollback-tp21989462p21989462.html&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Sent from the stomp - user mailing list archive at Nabble.com.&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; --&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; View this message in context:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/stomp-rollback-tp21989462p22026926.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/stomp-rollback-tp21989462p22026926.html&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Sent from the stomp - user mailing list archive at Nabble.com.&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; ---------------------------------------------------------------------&lt;br&gt;
&amp;gt;&amp;gt; To unsubscribe from this list, please visit:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;http://www.nabble.com/file/p22065418/sub.c&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/file/p22065418/sub.c&lt;/a&gt; sub.c&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://www.nabble.com/stomp-rollback-tp21989462p22065418.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/stomp-rollback-tp21989462p22065418.html&lt;/a&gt;&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;Sent from the stomp - user mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
 &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;div class=&quot;signature&quot;&gt;Dejan Bosanac
&lt;br&gt;&lt;br&gt;Open Source Integration - &lt;a href=&quot;http://fusesource.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fusesource.com/&lt;/a&gt;&lt;br&gt;ActiveMQ in Action - &lt;a href=&quot;http://www.manning.com/snyder/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.manning.com/snyder/&lt;/a&gt;&lt;br&gt;Blog - &lt;a href=&quot;http://www.nighttale.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nighttale.net&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/stomp-rollback-tp21989462p22102073.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22065418</id>
	<title>Re: stomp rollback</title>
	<published>2009-02-17T12:15:22Z</published>
	<updated>2009-02-17T12:15:22Z</updated>
	<author>
		<name>jzhang1</name>
	</author>
	<content type="html">upload again. file sub.c
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;jzhang1&quot;&gt;&lt;br&gt;&amp;nbsp;i uploaded the sample code. &amp;nbsp;It is using stomp calls from &lt;a href=&quot;https://svn.codehaus.org/stomp/trunk/c/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://svn.codehaus.org/stomp/trunk/c/&lt;/a&gt;. &amp;nbsp;but could not receive pending aborted messages unless re-connect. &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Brian McCallister wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;On Sun, Feb 15, 2009 at 12:13 PM, jzhang1 &amp;lt;jian.zhang@etrade.com&amp;gt; wrote:
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://www.nabble.com/file/p22065197/sub&quot; target=&quot;_top&quot;&gt;sub&lt;/a&gt;&lt;br&gt;&amp;gt; I am using apache-activemq-5.2.0.
&lt;br&gt;&lt;br&gt;Certainly should be fixed there. I'd ask on the dev@activemq.apache.org list
&lt;br&gt;&lt;br&gt;-Brian
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Brian McCallister wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Thu, Feb 12, 2009 at 7:20 PM, jzhang1 &amp;lt;jian.zhang@etrade.com&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; stomp guru,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I use stomp to connect ActiveMQ. I am curious whether stomp provide
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; backout.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; all enqueue and dequeue functions calls that have occurred since the last
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; syncpoint are to be backed out. Messages put as part of a unit of work
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; are
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; deleted; messages retrieved as part of a unit of work are reinstated on
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; queue.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I call stomp &amp;quot;abort&amp;quot;, &amp;nbsp;sleep seconds, then call receive. But i can not
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; receive the backout messages unless I restart stomp connection.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; IIRC this is an old bug in ActiveMQ --- which version are you using?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/stomp-rollback-tp21989462p21989462.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/stomp-rollback-tp21989462p21989462.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Sent from the stomp - user mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/stomp-rollback-tp21989462p22026926.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/stomp-rollback-tp21989462p22026926.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the stomp - user mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/file/p22065418/sub.c&quot; target=&quot;_top&quot;&gt;sub.c&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/stomp-rollback-tp21989462p22065418.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22065197</id>
	<title>Re: stomp rollback</title>
	<published>2009-02-17T12:03:14Z</published>
	<updated>2009-02-17T12:03:14Z</updated>
	<author>
		<name>jzhang1</name>
	</author>
	<content type="html">&amp;nbsp;i uploaded the sample code. &amp;nbsp;It is using stomp calls from &lt;a href=&quot;https://svn.codehaus.org/stomp/trunk/c/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://svn.codehaus.org/stomp/trunk/c/&lt;/a&gt;. &amp;nbsp;but could not receive pending aborted messages unless re-connect. &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Brian McCallister wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;On Sun, Feb 15, 2009 at 12:13 PM, jzhang1 &amp;lt;jian.zhang@etrade.com&amp;gt; wrote:
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://old.nabble.com/file/p22065197/sub&quot; target=&quot;_top&quot;&gt;sub&lt;/a&gt;&lt;br&gt;&amp;gt; I am using apache-activemq-5.2.0.
&lt;br&gt;&lt;br&gt;Certainly should be fixed there. I'd ask on the dev@activemq.apache.org list
&lt;br&gt;&lt;br&gt;-Brian
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Brian McCallister wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Thu, Feb 12, 2009 at 7:20 PM, jzhang1 &amp;lt;jian.zhang@etrade.com&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; stomp guru,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I use stomp to connect ActiveMQ. I am curious whether stomp provide
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; backout.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; all enqueue and dequeue functions calls that have occurred since the last
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; syncpoint are to be backed out. Messages put as part of a unit of work
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; are
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; deleted; messages retrieved as part of a unit of work are reinstated on
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; queue.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I call stomp &amp;quot;abort&amp;quot;, &amp;nbsp;sleep seconds, then call receive. But i can not
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; receive the backout messages unless I restart stomp connection.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; IIRC this is an old bug in ActiveMQ --- which version are you using?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/stomp-rollback-tp21989462p21989462.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/stomp-rollback-tp21989462p21989462.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Sent from the stomp - user mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/stomp-rollback-tp21989462p22026926.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/stomp-rollback-tp21989462p22026926.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the stomp - user mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/stomp-rollback-tp21989462p22065197.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22053720</id>
	<title>Re: stomp rollback</title>
	<published>2009-02-17T01:38:20Z</published>
	<updated>2009-02-17T01:38:20Z</updated>
	<author>
		<name>Dejan Bosanac</name>
	</author>
	<content type="html">Hi,&lt;br&gt;&lt;br&gt;there have been some fixes in this area (transaction aborting) for the 5.3, so may want to try 5.3-SNAPSHOT and see if it works for you&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/apache-activemq/5.3-SNAPSHOT/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/apache-activemq/5.3-SNAPSHOT/&lt;/a&gt;&lt;br&gt;
&lt;br&gt;I&amp;#39;ve also documented it a bit (with a working example), so take a look at&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/ACTIVEMQ/How+do+I+unack+the+message+with+Stomp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/ACTIVEMQ/How+do+I+unack+the+message+with+Stomp&lt;/a&gt;&lt;br&gt;
&lt;br&gt;Cheers&lt;br clear=&quot;all&quot;&gt;--&lt;br&gt;Dejan Bosanac&lt;br&gt;&lt;br&gt;Open Source Integration - &lt;a href=&quot;http://fusesource.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fusesource.com/&lt;/a&gt;&lt;br&gt;ActiveMQ in Action - &lt;a href=&quot;http://www.manning.com/snyder/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.manning.com/snyder/&lt;/a&gt;&lt;br&gt;
Blog - &lt;a href=&quot;http://www.nighttale.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nighttale.net&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sun, Feb 15, 2009 at 10:42 PM, Brian McCallister &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22053720&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;brianm@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;On Sun, Feb 15, 2009 at 12:13 PM, jzhang1 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22053720&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jian.zhang@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I am using apache-activemq-5.2.0.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Certainly should be fixed there. I&amp;#39;d ask on the &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22053720&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt; list&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
-Brian&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Brian McCallister wrote:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; On Thu, Feb 12, 2009 at 7:20 PM, jzhang1 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22053720&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jian.zhang@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; stomp guru,&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; I use stomp to connect ActiveMQ. I am curious whether stomp provide&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; backout.&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; all enqueue and dequeue functions calls that have occurred since the last&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; syncpoint are to be backed out. Messages put as part of a unit of work&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; are&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; deleted; messages retrieved as part of a unit of work are reinstated on&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; the&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; queue.&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; I call stomp &amp;quot;abort&amp;quot;, &amp;nbsp;sleep seconds, then call receive. But i can not&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; receive the backout messages unless I restart stomp connection.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; IIRC this is an old bug in ActiveMQ --- which version are you using?&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Thanks&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; --&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; View this message in context:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/stomp-rollback-tp21989462p21989462.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/stomp-rollback-tp21989462p21989462.html&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Sent from the stomp - user mailing list archive at Nabble.com.&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; ---------------------------------------------------------------------&lt;br&gt;
&amp;gt;&amp;gt; To unsubscribe from this list, please visit:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/stomp-rollback-tp21989462p22026926.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/stomp-rollback-tp21989462p22026926.html&lt;/a&gt;&lt;br&gt;
&amp;gt; Sent from the stomp - user mailing list archive at Nabble.com.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; ---------------------------------------------------------------------&lt;br&gt;
&amp;gt; To unsubscribe from this list, please visit:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
 &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;div class=&quot;signature&quot;&gt;Dejan Bosanac
&lt;br&gt;&lt;br&gt;Open Source Integration - &lt;a href=&quot;http://fusesource.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fusesource.com/&lt;/a&gt;&lt;br&gt;ActiveMQ in Action - &lt;a href=&quot;http://www.manning.com/snyder/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.manning.com/snyder/&lt;/a&gt;&lt;br&gt;Blog - &lt;a href=&quot;http://www.nighttale.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nighttale.net&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/stomp-rollback-tp21989462p22053720.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22028022</id>
	<title>Re: stomp rollback</title>
	<published>2009-02-15T13:42:10Z</published>
	<updated>2009-02-15T13:42:10Z</updated>
	<author>
		<name>Brian McCallister</name>
	</author>
	<content type="html">On Sun, Feb 15, 2009 at 12:13 PM, jzhang1 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22028022&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jian.zhang@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am using apache-activemq-5.2.0.
&lt;br&gt;&lt;br&gt;Certainly should be fixed there. I'd ask on the &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22028022&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt; list
&lt;br&gt;&lt;br&gt;-Brian
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Brian McCallister wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Thu, Feb 12, 2009 at 7:20 PM, jzhang1 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22028022&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jian.zhang@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; stomp guru,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I use stomp to connect ActiveMQ. I am curious whether stomp provide
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; backout.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; all enqueue and dequeue functions calls that have occurred since the last
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; syncpoint are to be backed out. Messages put as part of a unit of work
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; are
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; deleted; messages retrieved as part of a unit of work are reinstated on
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; queue.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I call stomp &amp;quot;abort&amp;quot;, &amp;nbsp;sleep seconds, then call receive. But i can not
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; receive the backout messages unless I restart stomp connection.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; IIRC this is an old bug in ActiveMQ --- which version are you using?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/stomp-rollback-tp21989462p21989462.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/stomp-rollback-tp21989462p21989462.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Sent from the stomp - user mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/stomp-rollback-tp21989462p22026926.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/stomp-rollback-tp21989462p22026926.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the stomp - user mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/stomp-rollback-tp21989462p22028022.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22026926</id>
	<title>Re: stomp rollback</title>
	<published>2009-02-15T12:12:56Z</published>
	<updated>2009-02-15T12:12:56Z</updated>
	<author>
		<name>jzhang1</name>
	</author>
	<content type="html">I am using apache-activemq-5.2.0. &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Brian McCallister wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;On Thu, Feb 12, 2009 at 7:20 PM, jzhang1 &amp;lt;jian.zhang@etrade.com&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; stomp guru,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I use stomp to connect ActiveMQ. I am curious whether stomp provide backout.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; all enqueue and dequeue functions calls that have occurred since the last
&lt;br&gt;&amp;gt; syncpoint are to be backed out. Messages put as part of a unit of work are
&lt;br&gt;&amp;gt; deleted; messages retrieved as part of a unit of work are reinstated on the
&lt;br&gt;&amp;gt; queue.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I call stomp &amp;quot;abort&amp;quot;, &amp;nbsp;sleep seconds, then call receive. But i can not
&lt;br&gt;&amp;gt; receive the backout messages unless I restart stomp connection.
&lt;br&gt;&lt;br&gt;IIRC this is an old bug in ActiveMQ --- which version are you using?
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/stomp-rollback-tp21989462p21989462.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/stomp-rollback-tp21989462p21989462.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the stomp - user mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/stomp-rollback-tp21989462p22026926.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22009367</id>
	<title>Re: stomp rollback</title>
	<published>2009-02-13T21:20:42Z</published>
	<updated>2009-02-13T21:20:42Z</updated>
	<author>
		<name>Brian McCallister</name>
	</author>
	<content type="html">On Thu, Feb 12, 2009 at 7:20 PM, jzhang1 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22009367&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jian.zhang@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; stomp guru,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I use stomp to connect ActiveMQ. I am curious whether stomp provide backout.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; all enqueue and dequeue functions calls that have occurred since the last
&lt;br&gt;&amp;gt; syncpoint are to be backed out. Messages put as part of a unit of work are
&lt;br&gt;&amp;gt; deleted; messages retrieved as part of a unit of work are reinstated on the
&lt;br&gt;&amp;gt; queue.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I call stomp &amp;quot;abort&amp;quot;, &amp;nbsp;sleep seconds, then call receive. But i can not
&lt;br&gt;&amp;gt; receive the backout messages unless I restart stomp connection.
&lt;/div&gt;&lt;br&gt;IIRC this is an old bug in ActiveMQ --- which version are you using?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/stomp-rollback-tp21989462p21989462.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/stomp-rollback-tp21989462p21989462.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the stomp - user mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/stomp-rollback-tp21989462p22009367.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21989462</id>
	<title>stomp rollback</title>
	<published>2009-02-12T19:20:41Z</published>
	<updated>2009-02-12T19:20:41Z</updated>
	<author>
		<name>jzhang1</name>
	</author>
	<content type="html">stomp guru, 
&lt;br&gt;&lt;br&gt;I use stomp to connect ActiveMQ. I am curious whether stomp provide backout. 
&lt;br&gt;&lt;br&gt;all enqueue and dequeue functions calls that have occurred since the last syncpoint are to be backed out. Messages put as part of a unit of work are deleted; messages retrieved as part of a unit of work are reinstated on the queue. 
&lt;br&gt;&lt;br&gt;I call stomp &amp;quot;abort&amp;quot;, &amp;nbsp;sleep seconds, then call receive. But i can not receive the backout messages unless I restart stomp connection.
&lt;br&gt;&lt;br&gt;Thanks 
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/stomp-rollback-tp21989462p21989462.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21156234</id>
	<title>stomp client disconnects from the ActiveMQ</title>
	<published>2008-12-23T23:24:30Z</published>
	<updated>2008-12-23T23:24:30Z</updated>
	<author>
		<name>leomayleomay</name>
	</author>
	<content type="html">Hi, guys, 
&lt;br&gt;&lt;br&gt;I'm using stomp gem with ActiveMQ as the broker, recently I found my app doesn't work properly as usual.
&lt;br&gt;&lt;br&gt;&amp;nbsp; I turned on debugging on the ActiveMQ, and I got this from the log:
&lt;br&gt;&lt;br&gt;2008-12-24 03:37:30,092 [127.0.0.1:39746] DEBUG Transport - Transport failed: java.io.EOFException
&lt;br&gt;&amp;nbsp; &amp;nbsp;4815 java.io.EOFException
&lt;br&gt;&amp;nbsp; &amp;nbsp;4816 &amp;nbsp; at java.io.DataInputStream.readByte(DataInputStream.java:250)
&lt;br&gt;&amp;nbsp; &amp;nbsp;4817 &amp;nbsp; at org.apache.activemq.transport.stomp.StompWireFormat.readLine(StompWireFormat.java:186)
&lt;br&gt;&amp;nbsp; &amp;nbsp;4818 &amp;nbsp; at org.apache.activemq.transport.stomp.StompWireFormat.unmarshal(StompWireFormat.java:94)
&lt;br&gt;&amp;nbsp; &amp;nbsp;4819 &amp;nbsp; at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:210)
&lt;br&gt;&amp;nbsp; &amp;nbsp;4820 &amp;nbsp; at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:202)
&lt;br&gt;&amp;nbsp; &amp;nbsp;4821 &amp;nbsp; at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:185)
&lt;br&gt;&amp;nbsp; &amp;nbsp;4822 &amp;nbsp; at java.lang.Thread.run(Thread.java:619)
&lt;br&gt;&lt;br&gt;&amp;nbsp; I googled around, and I found this: &lt;a href=&quot;http://markmail.org/message/sqsbfpyj35pbxg5s&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://markmail.org/message/sqsbfpyj35pbxg5s&lt;/a&gt;&amp;nbsp;, which is just the same problem with mine, it says it's because the client closed the socket, could someone please help to take a look into it? Thank you.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Hao Liu</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/stomp-client-disconnects-from-the-ActiveMQ-tp21156234p21156234.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-20631928</id>
	<title>Re: load balancing</title>
	<published>2008-11-21T16:37:51Z</published>
	<updated>2008-11-21T16:37:51Z</updated>
	<author>
		<name>Vadim Zaliva</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 14, 2008, at 21:10, andrewk wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I too have complained of the missing NAK feature in these various &amp;nbsp;
&lt;br&gt;&amp;gt; forums -
&lt;br&gt;&amp;gt; it comes up every few months now I would say.
&lt;br&gt;&lt;br&gt;I would like to thank everybody for their responses. Looks like I will
&lt;br&gt;be switching to RabbitMQ from ActiveMQ and to AMQP from STOMP. AMQP
&lt;br&gt;have NAK feature which will allow me to implement load-balancing &amp;nbsp;
&lt;br&gt;semantics
&lt;br&gt;in more natural manner.
&lt;br&gt;&lt;br&gt;Sincerely,
&lt;br&gt;Vadim
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/load-balancing-tp20512358p20631928.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-20621564</id>
	<title>Re: load balancing</title>
	<published>2008-11-21T05:58:11Z</published>
	<updated>2008-11-21T05:58:11Z</updated>
	<author>
		<name>Dexter Tad-y</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;ActiveMQ supports a Stomp SUBSCRIBE header called 'activemq.prefetchSize'. You might want to set this to 1 so that there is only one message pending for the consumer. This minimizes the number of unack'd messages at a time.
&lt;br&gt;&lt;br&gt;A solution I can think of to the NACK requirement is to wrap your ACK frame and SEND (for re-enqueue) under one transaction. This way, the message goes back to the queue. The drawback to this approach is that the message might get sent back to the same consumer.
&lt;br&gt;&lt;br&gt;To solve the problem of the above solution, you can extend it by implementing a routing mechanism:
&lt;br&gt;&amp;nbsp; 1. all consumer subscribes from a main queue
&lt;br&gt;&amp;nbsp; 2. each consumer is assigned to listen to its own queue
&lt;br&gt;&amp;nbsp; 3. if a consumer decides to NACK a message (either from the main queue or its own), it should send the message to the next consumer.
&lt;br&gt;&lt;br&gt;This solution solves the problem where the same message goes to the same consumer who NACK'd the message in the first place. But it adds complexity to the solution where in each consumer is required to know the queue(s) of the other consumer(s).
&lt;br&gt;&lt;br&gt;Cheers!
&lt;br&gt;&lt;br&gt;Dex
&lt;br&gt;&lt;br&gt;&lt;br&gt;--- On Sat, 11/15/08, Vadim Zaliva &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=20621564&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;krokodil@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From: Vadim Zaliva &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=20621564&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;krokodil@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Subject: [stomp-user] load balancing
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=20621564&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Date: Saturday, November 15, 2008, 12:37 PM
&lt;br&gt;&amp;gt; Hi!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am trying to use ActiveMQ and Stomp protocol to implement
&lt;br&gt;&amp;gt; scenario where are multiple consumers are processing
&lt;br&gt;&amp;gt; messages from single queue. I want to make sure that only
&lt;br&gt;&amp;gt; one consumer will get the message, and he must acknowledge
&lt;br&gt;&amp;gt; it, so the message will get back to queue if it has not
&lt;br&gt;&amp;gt; acknowledged for some time.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; One of problems I see is that there is no NAK command in
&lt;br&gt;&amp;gt; stomp. So, once I have received the message I could not send
&lt;br&gt;&amp;gt; NAK to reject it back to the queue, so it will be delivered
&lt;br&gt;&amp;gt; to another consumer.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Another problem, or rather a question, is what happens to
&lt;br&gt;&amp;gt; not ACK-ed messages. Are they delivered to other consumers
&lt;br&gt;&amp;gt; and under what conditions?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Perhaps I can use stomp transactions, but I am not sure how
&lt;br&gt;&amp;gt; they apply to receiving messages.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sincerely,
&lt;br&gt;&amp;gt; Vadim
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/load-balancing-tp20512358p20621564.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-20512502</id>
	<title>Re: load balancing</title>
	<published>2008-11-14T21:10:21Z</published>
	<updated>2008-11-14T21:10:21Z</updated>
	<author>
		<name>andrewk</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I too have complained of the missing NAK feature in these various forums - it comes up every few months now I would say.
&lt;br&gt;&lt;br&gt;In client ack mode, if you don't ack, then the message is retained on the server in some limbo, but not sent again (yet).
&lt;br&gt;&lt;br&gt;Once the connection is lost to the client that received the message, but did not ACK, the message is returned to the queue, and will then be sent again to a different connection/subscription.
&lt;br&gt;&lt;br&gt;Some have suggested before to use disconnect/reconnect/resubscribe as a poor man's NAK - as this has the effect of returning the un-ack'd message back to use. &amp;nbsp;This does have the downside that the same message could keep getting resent again and again, although perhaps the message timeout settings in activemq would help. &amp;nbsp;It has has the downside that unless you are using durable topics, it can result in missing messages.
&lt;br&gt;&lt;br&gt;Stomp transactions do no not help either, as you correctly point out, they only work with sending, not receiving, messages.
&lt;br&gt;&lt;br&gt;I wrote a workaround (that not everyone likes) for use in ActiveMessaging.
&lt;br&gt;&lt;br&gt;Rather than use the hack of severing the connection to simulate a NAK, I wrote my own logic to create a clone of the message (retaining a count of how many times it has been cloned, original message id and send time, etc. in custom headers), and then in a transaction ack the original message and put this cloned message on the queue. So in effect, it is like returning the original message, except because it is a clone, it loses its place in the queue, and some meta data like message id will differ.
&lt;br&gt;&lt;br&gt;Not a perfect solution, but I like it better than killing the connection and resubscribing for the reasons above, though I'll probably end up implementing that option too (there was a user offering to do it and send me a patch, but I don't think that ended up happening).
&lt;br&gt;&lt;br&gt;-Andrew Kuklewicz
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Vadim Zaliva wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi!
&lt;br&gt;&lt;br&gt;I am trying to use ActiveMQ and Stomp protocol to implement scenario &amp;nbsp;
&lt;br&gt;where are multiple consumers are processing messages from single &amp;nbsp;
&lt;br&gt;queue. I want to make sure that only one consumer will get the &amp;nbsp;
&lt;br&gt;message, and he must acknowledge it, so the message will get back to &amp;nbsp;
&lt;br&gt;queue if it has not acknowledged for some time.
&lt;br&gt;&lt;br&gt;One of problems I see is that there is no NAK command in stomp. So, &amp;nbsp;
&lt;br&gt;once I have received the message I could not send NAK to reject it &amp;nbsp;
&lt;br&gt;back to the queue, so it will be delivered to another consumer.
&lt;br&gt;&lt;br&gt;Another problem, or rather a question, is what happens to not ACK-ed &amp;nbsp;
&lt;br&gt;messages. Are they delivered to other consumers and under what &amp;nbsp;
&lt;br&gt;conditions?
&lt;br&gt;&lt;br&gt;Perhaps I can use stomp transactions, but I am not sure how they apply &amp;nbsp;
&lt;br&gt;to receiving messages.
&lt;br&gt;&lt;br&gt;Sincerely,
&lt;br&gt;Vadim
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/load-balancing-tp20512358p20512502.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-20512358</id>
	<title>load balancing</title>
	<published>2008-11-14T20:37:56Z</published>
	<updated>2008-11-14T20:37:56Z</updated>
	<author>
		<name>Vadim Zaliva</name>
	</author>
	<content type="html">Hi!
&lt;br&gt;&lt;br&gt;I am trying to use ActiveMQ and Stomp protocol to implement scenario &amp;nbsp;
&lt;br&gt;where are multiple consumers are processing messages from single &amp;nbsp;
&lt;br&gt;queue. I want to make sure that only one consumer will get the &amp;nbsp;
&lt;br&gt;message, and he must acknowledge it, so the message will get back to &amp;nbsp;
&lt;br&gt;queue if it has not acknowledged for some time.
&lt;br&gt;&lt;br&gt;One of problems I see is that there is no NAK command in stomp. So, &amp;nbsp;
&lt;br&gt;once I have received the message I could not send NAK to reject it &amp;nbsp;
&lt;br&gt;back to the queue, so it will be delivered to another consumer.
&lt;br&gt;&lt;br&gt;Another problem, or rather a question, is what happens to not ACK-ed &amp;nbsp;
&lt;br&gt;messages. Are they delivered to other consumers and under what &amp;nbsp;
&lt;br&gt;conditions?
&lt;br&gt;&lt;br&gt;Perhaps I can use stomp transactions, but I am not sure how they apply &amp;nbsp;
&lt;br&gt;to receiving messages.
&lt;br&gt;&lt;br&gt;Sincerely,
&lt;br&gt;Vadim
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/load-balancing-tp20512358p20512358.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-20280329</id>
	<title>No space left on device (28)</title>
	<published>2008-11-01T06:24:52Z</published>
	<updated>2008-11-01T06:24:52Z</updated>
	<author>
		<name>juanbackson</name>
	</author>
	<content type="html">Hi,&lt;br&gt;&lt;br&gt;I managed to download the producer.c and consumer.c and compiled them.&amp;nbsp; But when I tried to run it , I am getting:&lt;br&gt;[root@localhost producer]# make&lt;br&gt;g++ -c&amp;nbsp;&amp;nbsp; -D_REENTRANT -DSOLARIS -DHTREE -I/usr/include -I/usr/local/apr/include/apr-1&amp;nbsp; -L/usr/lib -L/usr/local/lib -L/usr/local/apr/lib&amp;nbsp;&amp;nbsp; main.c -o main.o&lt;br&gt;
In file included from main.c:19:&lt;br&gt;stomp.h:54:24: warning: no newline at end of file&lt;br&gt;g++ -dy&amp;nbsp; -L/usr/lib -L/usr/local/lib -L/usr/local/apr/lib -o jms_stomp main.o stomp.o&amp;nbsp; -lapr-1 -lgcc_s &lt;br&gt;/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm&lt;br&gt;
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm&lt;br&gt;/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc&lt;br&gt;/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc&lt;br&gt;
[root@localhost producer]# ./jms_stomp &lt;br&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;Connecting......Could not connect: No space left on device (28)&lt;/span&gt;&lt;br style=&quot;color: rgb(204, 0, 0);&quot;&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;[root@localhost producer]# &lt;/span&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;Does anyone know what this error means and how to fix it?&lt;br&gt;&lt;br&gt;Thanks alot in advance for all your help.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;JB&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/No-space-left-on-device-%2828%29-tp20280329p20280329.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-20280137</id>
	<title>Problem compiling libstomp under Centos</title>
	<published>2008-11-01T05:59:51Z</published>
	<updated>2008-11-01T05:59:51Z</updated>
	<author>
		<name>juanbackson</name>
	</author>
	<content type="html">Hi,&lt;br&gt;&lt;br&gt;I searched google and found an instruction on how to compile libstomp under linux, but I am getting the following error:&lt;br&gt;&lt;br&gt;root@localhost src]# ./compile.sh &lt;br&gt;In file included from stomp.c:22:&lt;br&gt;stomp.h:55:24: warning: no newline at end of file&lt;br&gt;
stomp.c: In function 'stomp_read':&lt;br&gt;stomp.c:418: warning: passing argument 3 of 'apr_socket_recv' from incompatible pointer type&lt;br&gt;stomp.c:439:2: warning: no newline at end of file&lt;br&gt;/usr/bin/ld: cannot find -lapr-0&lt;br&gt;
collect2: ld returned 1 exit status&lt;br&gt;In file included from main.c:19:&lt;br&gt;stomp.h:55:24: warning: no newline at end of file&lt;br&gt;/usr/bin/ld: cannot find -lstomp&lt;br&gt;collect2: ld returned 1 exit status&lt;br&gt;[root@localhost src]# &lt;br&gt;
&lt;br&gt;Here is my script:&lt;br&gt;&lt;br&gt;#!/bin/bash&lt;br&gt;APACHE_HOME=/usr/src/httpd-2.2.10/srclib/apr&lt;br&gt;gcc stomp.c -shared -olibstomp.so -I. -I$APACHE_HOME/include -L$APACHE_HOME/lib -lapr-0 -fPIC&lt;br&gt;gcc main.c -ostomp -I. -I$APACHE_HOME/include -L. -lstomp&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Does anyone know how to resolve this problem?&lt;br&gt;&lt;br&gt;Thank you in advance for all your help.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;JB&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-compiling-libstomp-under-Centos-tp20280137p20280137.html" />
</entry>

</feed>
