Re: persistence not working

2008-09-02 Thread Jim Gomes
Hi Eugene, The feature you want to use in your situation is called Durable Consumer. The Persistence feature is used to ensure that the message will be delivered if the broker crashes or is rebooted. The Durable Consumer feature is used when the consumer crashes, reboots, or otherwise goes offlin

persistence not working

2008-09-02 Thread Eugene79
Hi, I am investigating ActiveMQ as a message broker solution for our application. I set it up on my machine and tried sample ruby programs. So far it works fine when there is both a publisher and subscriber running. However, what I want to do is make sure that messages can be delivered even if th

Re: jaas Authentication Problem

2008-09-02 Thread NabiL
it works fine !! I have another problem concerning Master Slave configuration. I successfully tested the Master and Slave configuration http://www.nabble.com/file/p19280817/activemq.xml activemq.xml , but an exception apprears when the slave grab the lock and begin to start all transports. p

Re: ActiveMQ and Resin with JCA

2008-09-02 Thread regvito
My Message Driven bean is configured for auto-acknowledge as shown below. But just for kicks, I went ahead and acknowldeged the message manually (with Message.acknowledge() ) But to no avail. All messages stay stuck in the ActiveMQ queue. package reggie.test; import java.util.logging.Logger; i

Re: ActiveMQ and Resin with JCA

2008-09-02 Thread Bradley Schaefer
Are you acknowledging your consumed messages? On Tue, Sep 2, 2008 at 12:38 PM, regvito <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using the Resin 3.2 version with a Message Driven Bean listening to an > ActiveMQ Queue remotely connected through JCA with the ActiveMQ 5.1.0 RAR > file. Below is my

ActiveMQ and Resin with JCA

2008-09-02 Thread regvito
Hi, I am using the Resin 3.2 version with a Message Driven Bean listening to an ActiveMQ Queue remotely connected through JCA with the ActiveMQ 5.1.0 RAR file. Below is my configuration in the resin-web.xml http://caucho.com/ns/resin";> #{testResinConQueue} The iss

Re: Failing to read messages, AMQ5.0.0, Stomp

2008-09-02 Thread jpoloney
Hi Dejan, The queue is definitely not empty. Either that, and then receives some messages, but then is never able to read them again. I am looking at it right now and there is 160,000 messages waiting to be consumed, but my consumer is failing to read them. I restarted the consumer and it consum

Re: jaas Authentication Problem

2008-09-02 Thread Dejan Bosanac
You have Jetty and Camel contexts enabled. You can either: - delete those two from your activemq.xml, or - take a look at the following patch https://issues.apache.org/activemq/browse/AMQ-1237 for hints how to configure them to work with secured broker Cheers -- Dejan Bosanac http://www.ttmso

Re: Broker Clustering

2008-09-02 Thread Joe Fernandez
Camel is not required. You should see an 'INFO' statement being put out by the broker stating that the forwarding bridge has been established. For example, INFO DemandForwardingBridge - Network connection between vm://broker0#0 and tcp://localhost /127.0.0.1:61617(broker1) has been est

Re: Memory Usage Question

2008-09-02 Thread Gary Tully
yes. AMQ will try and utilise it available resources. Checkout the default configuration[1], the systemUsage section:

Re: Broker Clustering

2008-09-02 Thread Bastian Preindl
Hi, thanks for the quick answers. Joe Fernandez wrote: > > Can you confirm that a forwarding bridge has been established between the > producing and consuming brokers? > No, not yet. Do I need something additional like Camel to establish this? Regards Bastian -- View this message in conte

Memory Usage Question

2008-09-02 Thread lucidm
I have a simple question about memory usage in ActiveMQ 5.1. By default, the bin/activemq script sets the maximum Java heap size at 512mb. I have noticed that if I do not specify a systemUsage / memoryUsage limit to something less than 512mb, my in-memory queue will grow until the entire ActiveM

jaas Authentication Problem

2008-09-02 Thread NabiL
Hi all, i tried to use JAAS Pluging. I got error once aqm is started.below my conf and activemq log http://www.nabble.com/file/p19272277/activemq.xml activemq.xml http://www.nabble.com/file/p19272277/Log_ Log_ http://www.nabble.com/file/p19272277/login.config login.config http://www.nabble.co

Re: Broker Clustering

2008-09-02 Thread Joe Fernandez
Can you confirm that a forwarding bridge has been established between the producing and consuming brokers? Joe Get a free ActiveMQ user guide @ http://www.ttmsolutions.com Bastian Preindl wrote: > > Hi, > > I'd like to interconnect two servers with a broker on each server. > Messages sent t

Re: Broker Clustering

2008-09-02 Thread James Strachan
2008/9/2 Bastian Preindl <[EMAIL PROTECTED]>: > > Hi, > > I'd like to interconnect two servers with a broker on each server. Messages > sent to the first broker shall be replicated on (or forwarded to) the second > broker. The communication is one way only. If one of the both brokers fail > for som

Broker Clustering

2008-09-02 Thread Bastian Preindl
Hi, I'd like to interconnect two servers with a broker on each server. Messages sent to the first broker shall be replicated on (or forwarded to) the second broker. The communication is one way only. If one of the both brokers fail for some reason, the messages should be sent/received after the c

Re: How can I browse messages on a queue from activemq-cpp

2008-09-02 Thread Timothy Bish
There currently is no queue browser for the C++ client one was proposed but currently there is no work being done on it. You are welcome to contribute one however :) Regards Tim. On Tue, 2008-09-02 at 04:45 -0700, Slobodan Ilic wrote: > I'm developing a system that needs to provide communication

How can I browse messages on a queue from activemq-cpp

2008-09-02 Thread Slobodan Ilic
I'm developing a system that needs to provide communication between two control centers (master and backup). I need to browse messages on a queue, in order not to re-send them. I'm using ActiveMQ 5.1.0. Our system is purely cpp, so I'm using activemq-cpp as API. Can anyone help? Is there a class

Re: Failing to read messages, AMQ5.0.0, Stomp

2008-09-02 Thread Dejan Bosanac
Hi Joel, it seems to me like you are trying to read from an empty queue. Did you try some of the monitoring techniques (http://activemq.apache.org/how-can-i-monitor-activemq.html) to see the state of the broker (and particular queues)? Regards -- Dejan Bosanac http://www.ttmsolutions.com - g