Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 80151 invoked from network); 23 Jul 2007 19:20:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jul 2007 19:20:30 -0000 Received: (qmail 79955 invoked by uid 500); 23 Jul 2007 19:20:31 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 79772 invoked by uid 500); 23 Jul 2007 19:20:30 -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 79762 invoked by uid 99); 23 Jul 2007 19:20:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 12:20:30 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 66.249.82.235 as permitted sender) Received: from [66.249.82.235] (HELO wx-out-0506.google.com) (66.249.82.235) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 12:20:28 -0700 Received: by wx-out-0506.google.com with SMTP id i30so1745935wxd for ; Mon, 23 Jul 2007 12:20:07 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=G+Jh/kXmitZcy/MmhVcXyJfuF8PlfJAvAa20LqYuqfOkmYwKv0bbYxItn0cnt3ylif/L8yBDd3aUhe+jPXnjA2wuJXxCOCp3Jh96ME7xL/2IvSv3IO7ne+QN25x4J2BqEsA+02lozrijut1KJ9nhI6k3vWQB0qqguhFE9vqKGcA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dokO/mz8nTg6/fITfrjwJMPrJHKeTjs7p32QdxPm0eOP6auwWo0lo+uLRwYovKiY/A9ZwvJthgOS9SlFXnnUUaahoxjvXKi1FUFdTjQT21ZZF9NQMB1S5VnKj4Pkx91RibkEoTFBmO0B5PRwrnBE/UcChG4c4oC3WlQpEDrmlHY= Received: by 10.90.119.15 with SMTP id r15mr2451909agc.1185218407761; Mon, 23 Jul 2007 12:20:07 -0700 (PDT) Received: by 10.90.67.18 with HTTP; Mon, 23 Jul 2007 12:20:07 -0700 (PDT) Message-ID: Date: Mon, 23 Jul 2007 20:20:07 +0100 From: "James Strachan" To: users@activemq.apache.org Subject: Re: ActiveMQ vs ? In-Reply-To: <11717696.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <11717696.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org On 7/21/07, Chris Neal wrote: > I am starting to work on a project that requires us to Post events from our > ERP application. (Mine happens to be in IBM U2 (Unidata) and I have > previously posted a message about the best way to communicate. Unfortunatly > there is no STOMP interface for UniBasic. While Unidata has a CallC > interface and it might be possible to utilize the C library for now we were > just thinking of using the REST interface. OK - though a UniBasic STOMP client would rock :) > So, First up connecting to the REST interface. So what is the correct URL > for the rest interface? > http://server:8161/ ? When I look at the demo interface (of the 5.0 > SNAPSHOT) I see send the sendto post to > http://server:8161/demo/message/FOO/BAR Is that the correct URL? So its up to your web.xml to define the mapping; but yes in the demo its demo/message/$DESTINATION I've raised a JIRA to track the creation of standard URIs in the out-of-the-box broker without using the Demo web app... https://issues.apache.org/activemq/browse/AMQ-1334 > Next up.. The test.. If I'm using a single JMS server (for now) and I send a > message via the REST interface. Next I stop the ActiveMQ server.. When I > restart the ActiveMQ Server I don't even see the Queues that were created.. Destinations are lazily loaded as they are used. You can specify exactly what destinations to start with via... http://activemq.apache.org/configure-startup-destinations.html for more background see http://activemq.apache.org/how-do-i-create-new-destinations.html > Let alone the message that was in the queue. (Even if persistant delivery) > is selected... So without setting up a CLUSTER of ActiveMQ servers. How do > I get the JMS server to maintain the state of the messages? (i.e. Don't > loose them) You don't loose them; the destinations don't appear by default until you produce/consume from them. > > Thanks in advance for your responses.. and forgive me for being a JMS > newbie! No worries and you're welcome! :) -- James ------- http://macstrac.blogspot.com/