Unable to compile Active MQ cpp client on QNX

2007-07-05 Thread Alexander Chernykh
Given: QNX 6.3.0 SP3, gcc 3.3.5 which is supplied with OS, activemq-cpp-2.0.1-src, autoconf 2.61, automake 1.9.6, libtool 1.5.24, cppunit 1.10.2, m4 1.4.9, e2fsprogs precompiled from third-party cd. What I did: after compiling and insttalling all prerequsites for activemq-cpp i do the following t

Re: Is there a problem with selectors on queues

2007-07-05 Thread Jim Alateras
James Strachan wrote: I'm not aware of any issues; I wonder if you could wrap up what you're doing in a little JUnit test case we could tinker with? will do James Am wondering if its one of the JMS gotchas that we all fall for now and again, like not starting the connection, or sending from a

Re: Blocking consumers not consuming immediately

2007-07-05 Thread James Strachan
Could you try 4.1.1? There were a large number of bug fixes in there; I seem to remember some glitch which would cause messages to stick around on the queue (requiring a bounce of the broker to get them off again). On 7/6/07, TiredAndEmotional <[EMAIL PROTECTED]> wrote: James.Strachan wrote:

Re: Blocking consumers not consuming immediately

2007-07-05 Thread TiredAndEmotional
James.Strachan wrote: > > Which version are you using? > I'm using version 4.1. Also, except where noted in my original post, all broker parameters are set to their default (i.e. all bar prefetchall queues are NON_PERSISTANT). Apart from the connections and queue mentioned, there are anot

Re: problem set the expiration time for durable topic messages

2007-07-05 Thread pbolle
Thank you very much for your fast response. I changed my code but I still have the problem that time-to-live has no effect. It here a unittest that test nearly the same situation. Then I could find out if this is a problem of my program or bug in ActiveMQ. Regards Philipp rajdavies wrote: > >

Re: Unit testing, stup and tearDown

2007-07-05 Thread James Strachan
I don't see anything wrong I'm afraid. Maybe there's some timing issue where the close of the connection is a tad asynchronous in some aspect of closing the broker down properly. FWIW lots of the test cases in ActiveMQ derive from EmbeddedBrokerTestSupport which explicitly creates/stops a broker

Re: Blocking consumers not consuming immediately

2007-07-05 Thread James Strachan
Which version are you using? On 7/4/07, TiredAndEmotional <[EMAIL PROTECTED]> wrote: Hi, A brief outline of my set up: 5 dual core machines, one running activemq and a message producer communicating via a queue with 8 consumers spread across the other 4 machines. 2 classes of message, 2 of the

Re: single session multiple consumers and selectors

2007-07-05 Thread James Strachan
On 7/6/07, Jim Alateras <[EMAIL PROTECTED]> wrote: I have a single session which uses two consumers all within a single thread. This is how i use them 1. consumerA simply does a receiveNoWait on the queue and pops the first message. 2. We then use the firstMessage to construct a new consumer wi

Re: Is there a problem with selectors on queues

2007-07-05 Thread James Strachan
I'm not aware of any issues; I wonder if you could wrap up what you're doing in a little JUnit test case we could tinker with? Am wondering if its one of the JMS gotchas that we all fall for now and again, like not starting the connection, or sending from a transacted session and forgetting to co

Re: AMQ Servlet, brokerURL and failover

2007-07-05 Thread Adrian Co
Use the failover protocol. http://activemq.apache.org/failover-transport-reference.html Sandeep Chayapathi wrote: Hi all,  This is a follow up to my http://www.nabble.com/ActiveMQ-and-REST-tf3996071s2354.html REST question. I have successfully setup apache tomcat running the amq's message

single session multiple consumers and selectors

2007-07-05 Thread Jim Alateras
I have a single session which uses two consumers all within a single thread. This is how i use them 1. consumerA simply does a receiveNoWait on the queue and pops the first message. 2. We then use the firstMessage to construct a new consumer with a specific selector, named consumerB 3. consu

Re: ActiveMQ 5.0 Web console deployment

2007-07-05 Thread Mario Siegenthaler
That's actually a good question. The path I submitted that contains the WebConsole README (https://bugzilla.spamassassin.org/activemq/browse/AMQ-1281) also included a change to the assemblies (windows-bin.xml and unix-bin.xml) that copied over the war. However this part of the patch apparently has

Re: Removing ActiveMQ destionations via Method Call

2007-07-05 Thread happyAMQ
Hi, thanks for the quick reply. This looks like it will solve my problem. I searched around but to no avail - Is there some sample code out there for this. Thanks, Jason. Here you go... http://cwiki.apache.org/ACTIVEMQ/how-do-i-delete-a-destination.html -- James --- http://macstrac

AMQ Servlet, brokerURL and failover

2007-07-05 Thread Sandeep Chayapathi
Hi all,  This is a follow up to my http://www.nabble.com/ActiveMQ-and-REST-tf3996071s2354.html REST question. I have successfully setup apache tomcat running the amq's messagelistener servlet. I also have a cluster of activemq, how do I configure the servlet's brokerURL to failover ? I have tr

ActiveMQ 5.0 Web console deployment

2007-07-05 Thread Mike.Gingell
AMQ 5 SNAPSHOT (3 July) with Tomcat 6 I have embedded amq in TomCat 6 - seems like there are no problems (yet) I am a little confused regarding the WebConsole README. Can I deploy the web console in Tomcat? If so, where is the activemq-web-console.war file? Thanks - Mike -- View this message