From users-return-11547-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Thu Nov 22 10:21:12 2007 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 3869 invoked from network); 22 Nov 2007 10:21:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Nov 2007 10:21:12 -0000 Received: (qmail 62249 invoked by uid 500); 22 Nov 2007 10:20:59 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 62220 invoked by uid 500); 22 Nov 2007 10:20:59 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 62211 invoked by uid 99); 22 Nov 2007 10:20:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2007 02:20:59 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2007 10:20:46 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Iv9Am-0000Wt-Gc for users@activemq.apache.org; Thu, 22 Nov 2007 02:20:40 -0800 Message-ID: <13894179.post@talk.nabble.com> Date: Thu, 22 Nov 2007 02:20:40 -0800 (PST) From: Erlend Aakre To: users@activemq.apache.org Subject: Re: Messages does not show up in database In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: erlend.aakre@intrapoint.com References: <13881708.post@talk.nabble.com> <13893726.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Yes, that seems to be it: (from bin/browse): JMS_HEADER_FIELD:JMSDeliveryMode = non-persistent Going to try and set the headers now, but so far everything is being added as custom-header.. Better look at some STOMP php details. Thanks for the tip Erlend James.Strachan wrote: > > On 22/11/2007, Erlend Aakre wrote: >> >> My producer is very simple: >> >> $c = new StompConnection("localhost"); >> $c->connect("user", "pass"); >> $c->send("/queue/myqueue", "msg: " . $_GET["msg"]); >> $c->disconnect(); >> >> and I can read the messages from my consumer, and I can verify by the >> bin/browse program that the messages are in the queue.. the messages are >> just never put into DB > > Which language is that btw :) PHP or Perl (don't know either too well :). > > I wonder if the client is setting that the message is persistent. e.g. > try adding a header "persistent" of "true" > > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://open.iona.com > > -- View this message in context: http://www.nabble.com/Messages-does-not-show-up-in-database-tf4851631s2354.html#a13894179 Sent from the ActiveMQ - User mailing list archive at Nabble.com.