Newbie question - CMS and decaf::lang::Thread

2010-02-18 Thread Gautam Divgi
Hi, I've just started using ActiveMQ and CMS. I was wondering if there was some requirement that the decaf::lang::Thread was the way to thread an application using CMS. I would much rather prefer using the boost threads. Just wondering if someone has noticed incompatibilities or strange behavior

Re: Non-Blocking Producer Flow Control

2010-02-18 Thread Bruce Snyder
On Thu, Feb 18, 2010 at 1:54 PM, Etherealmachine wrote: > > I was using the createTemporaryQueue method to create the queue, but I guess > a good solution would be to create all temporary queues using temp-, > replacing UUID with a randomly generated UUID to avoid collisions, then > control the po

Re: Non-Blocking Producer Flow Control

2010-02-18 Thread Etherealmachine
I was using the createTemporaryQueue method to create the queue, but I guess a good solution would be to create all temporary queues using temp-, replacing UUID with a randomly generated UUID to avoid collisions, then control the policy with wildcards. For posterity sake I should mention this only

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-02-18 Thread Mats Henrikson
On 17 February 2010 16:51, Mats Henrikson wrote: > When set the broker will just freeze after some number of messages, > and using JMX/JConsole the queue now doesn't render its attributes, > you can't connect a consumer etc. I have logged this bug for this problem: https://issues.apache.org/acti

Re: Non-Blocking Producer Flow Control

2010-02-18 Thread Bruce Snyder
On Thu, Feb 18, 2010 at 11:13 AM, Etherealmachine wrote: > > That looks like it would work, it should probably be linked to from the > Producer Flow control page. One problem - this is for a temporary response > queue, is it possible to specify policies for temporary queues/topics? Not without kn

Re: Remote connection issues with 5.3.0

2010-02-18 Thread RKParkJr
Oops, found the answer with just a little more checking. I compared my activemq.xml to the new example ones and noticed a change to the from 'uri="tcp://localhost:61616"' to 'uri="tcp://0.0.0.0:61616"'. Made the change in my config and, I'm back up and running. Ron RKParkJr wrote: > > Hel

Remote connection issues with 5.3.0

2010-02-18 Thread RKParkJr
Hello, I have been working on a system using 5.2.0 which is basically laid out as follows: Machine1(M1): Runs a broker (B1)and some code that pushes messages onto a topic Machine2(M2): Runs a broker (B2) that has a bridge from the topic on B1 and some code that reads from the topic and write

Re: Non-Blocking Producer Flow Control

2010-02-18 Thread Etherealmachine
That looks like it would work, it should probably be linked to from the Producer Flow control page. One problem - this is for a temporary response queue, is it possible to specify policies for temporary queues/topics? This is especially important if there is an attempted DOS - the client must not

Re: Non-Blocking Producer Flow Control

2010-02-18 Thread Bruce Snyder
On Thu, Feb 18, 2010 at 10:32 AM, Etherealmachine wrote: > > Hello, >    Is it possible to either discover if a destination is being > flow-controlled? I have a case where the producer should never block while > sending to a queue. The queue is used to respond to a client request, and if > the cli

Non-Blocking Producer Flow Control

2010-02-18 Thread Etherealmachine
Hello, Is it possible to either discover if a destination is being flow-controlled? I have a case where the producer should never block while sending to a queue. The queue is used to respond to a client request, and if the client ignores the response, sending more will block the server, allowi

Re: Initial NMS Build with NAnt does Nothing

2010-02-18 Thread curtis_schlak
Tim, Thanks for that. I think that worked. Skaal! Curtis. Timothy Bish wrote: > > On Thu, 2010-02-18 at 07:43 -0800, curtis_schlak wrote: >> Using NAnt 0.86 (Build 0.86.3412.0; nightly; 5/5/2009), when I run nant >> at >> the command line, I receive the build output at the end of the message.

Re: Initial NMS Build with NAnt does Nothing

2010-02-18 Thread Timothy Bish
On Thu, 2010-02-18 at 07:43 -0800, curtis_schlak wrote: > Using NAnt 0.86 (Build 0.86.3412.0; nightly; 5/5/2009), when I run nant at > the command line, I receive the build output at the end of the message. It > seems to do nothing except create the lib\NUnit\net-X.X and > build\net-X.X\[Debug|Rele

Initial NMS Build with NAnt does Nothing

2010-02-18 Thread curtis_schlak
Using NAnt 0.86 (Build 0.86.3412.0; nightly; 5/5/2009), when I run nant at the command line, I receive the build output at the end of the message. It seems to do nothing except create the lib\NUnit\net-X.X and build\net-X.X\[Debug|Release] sub-directories. Any assistance in getting this initial b

Re: Is log4j out-of-the-box enabled? Logging Interceptor output?

2010-02-18 Thread Bruce Snyder
On Thu, Feb 18, 2010 at 7:31 AM, BenXS wrote: > > As on the webpage > > http://cwiki.apache.org/confluence/display/ACTIVEMQ/Logging+Interceptor > > described all output from the Logging Interceptor is written to the Loggers > of Log4j. > > Is Log4j automatically enabled after installation of Activ

Is log4j out-of-the-box enabled? Logging Interceptor output?

2010-02-18 Thread BenXS
As on the webpage http://cwiki.apache.org/confluence/display/ACTIVEMQ/Logging+Interceptor described all output from the Logging Interceptor is written to the Loggers of Log4j. Is Log4j automatically enabled after installation of ActiveMQ or do I have it to do explicitely (how ?). In other word

Re: Does change of activemq.xml require restart?

2010-02-18 Thread Sebastian Rodriguez
Hi Ben, Unfortunately a restart is required. Regards, Seb On 18 February 2010 22:26, BenXS wrote: > > If I change the activemq.xml is then a restart required or does Active > recognize automatically config changes and read it on-the-fly? > > Ben > -- > View this message in context: > http://old.

Does change of activemq.xml require restart?

2010-02-18 Thread BenXS
If I change the activemq.xml is then a restart required or does Active recognize automatically config changes and read it on-the-fly? Ben -- View this message in context: http://old.nabble.com/Does-change-of-activemq.xml-require-restart--tp27637813p27637813.html Sent from the ActiveMQ - User ma

Re: How to enable file based persistence ?

2010-02-18 Thread Sebastian Rodriguez
by default the messages in activeMQ are persistent. They will use the file data store: ActiveMq Message Store, although since 5.3 it's recommended to use the KahaDb . Look at the pages on how to enable / conf

Re: Network of Broker - Can a client consume a message ?

2010-02-18 Thread Dejan Bosanac
Hi Charles, if the local broker have a consumer on the queue, the message will be dispatched to it. The message can't be both consumed locally and forwarded to the remote broker. You can also use 'dynamicOnly' property, to instruct the broker only to forward messages if there are active consumers

Perl Net::Stomp keeps complaining "Error reading command.."

2010-02-18 Thread nmittal
Hi, I have a perl Net::Stomp client that subscribes to a queue (only consumer). it runs for a while before giving.. Error reading command: at /usr/local/lib/perl5/site_perl/5.10.0/Net/Stomp/Frame.pm line 37, line 4. it fails even if the messages are always the same. #!/usr/bin/perl -w use str

Network of Broker - Can a client consume a message ?

2010-02-18 Thread cmoulliard
Hi, I try to understand how the topology of brokers works with ActiveMq and I have the following question When a JMS producer creates a message which is placed in a queue (of a broker making part of a network of broker), can this message be immediately consumed by the JMS consumer client or does

Re: How to enable file based persistence ?

2010-02-18 Thread Dejan Bosanac
Hi, ActiveMQ persists messages by default. It only depends whether producer sends it as persistent or not. Take a look at this article for more info: http://activemq.apache.org/what-is-the-difference-between-persistent-and-non-persistent-delivery.html Also, if you're trying examples that comes w

Re: Tomcat does not start for slave activeMQ Broker in jdbc master slave cluster environment

2010-02-18 Thread Dejan Bosanac
Hi, I'm not sure about your setup, but you cannot have a slave broker in an active Tomcat instance. In case you're going to use your second Tomcat instance as a "slave" as well, then you have it since it will start when slave ActiveMQ obtain the lock. In case both Tomcat instances need to use the

Tomcat does not start for slave activeMQ Broker in jdbc master slave cluster environment

2010-02-18 Thread capriipriya
HI , I am using activemq within tomcat and i am deploying an application in a clustered mode using jdbc master slave clustering. I have two nodes -one as a master and one as a slave. I have the same configuration in both the nodes. The activemq.xml configuration being used is below . http://www.

Re: Slow sending of messages

2010-02-18 Thread Maarten_D
Am doing a run with the 5.4 snapshot and your suggested paramter now, but the behaviour is exactly the same. Regards, Maarten rajdavies wrote: > > The apache one :) > On 17 Feb 2010, at 17:41, Maarten_D wrote: > >> >> Do you mean activemq or fuse MB? Cause I can't find the 5.4 snapshot >> o

How to enable file based persistence ?

2010-02-18 Thread BenXS
I installed and started successfully Apache ActiveMQ v5.3.0. How do I enable now file based persistence? If I send a JMS message to the broker it appears in Console. But after shutdown and restart (of ActiveMQ) this JMS message is not longer available. Which parameter do I have to set to store