Re: Dynamic Brokers

2009-03-24 Thread ronchalant
Great, thanks Bruce, I'll look them over.. I don't know how I missed them.. bsnyder wrote: > > On Tue, Mar 24, 2009 at 2:58 PM, ronchalant wrote: >> >> I want to embed an ActiveMQ broker into an application so that when the >> application starts, the broker starts.  This broker would be part o

Re: Dynamic Brokers

2009-03-24 Thread Bruce Snyder
On Tue, Mar 24, 2009 at 2:58 PM, ronchalant wrote: > > I want to embed an ActiveMQ broker into an application so that when the > application starts, the broker starts.  This broker would be part of a chain > of brokers in a store-forward architecture*, and these brokers may go > up/down.  What I n

How to discard messages for the non-durable queue

2009-03-24 Thread ashoknan
I am using ActiveMQ 5.1..wanted to know how to discard messages for the non-durable queue. Trying to deal with slow consumer problem...Wanted to avoid Broker reaching 100%. When ever broker reaches 100% on the memory, everything stops. Will discarding will avoid broker reaching 100% on the memory

Dynamic Brokers

2009-03-24 Thread ronchalant
I want to embed an ActiveMQ broker into an application so that when the application starts, the broker starts. This broker would be part of a chain of brokers in a store-forward architecture*, and these brokers may go up/down. What I need to be able to do is that as brokers are added or removed

Use of MirroredQueues results in OutOfMemoryError

2009-03-24 Thread jvh
We are experiencing an OutOfMemoryError when using MirroredQueues and I was wondering if someone could comment on whether our use (or interpretation) of these Mirrored Queues is correct, or if there is a bug in the BrokerService code. In our case, we have an existing application “A” that uses mes

Re: exception and exclusive queue

2009-03-24 Thread mffrench
my use case is one consumer per queue, that's why I would like to close any other consumer if the resource is locked ... I think this is a really simple use case, isn't it ? I must say I've some difficulties to understand rational and J2EE use case ... thanks Gary Tully wrote: > > That is by d

How to enforce 1:1 mapping of session to message

2009-03-24 Thread icfantv
This may be due to our design and if so we can tweak to accommodate the "right" way to solve this problem. We have a web application that produces messages and throws them on a queue. We have a non-web application that runs (from the command line) that connects to this queue and processes the me

Re: exception and exclusive queue

2009-03-24 Thread Gary Tully
That is by design, the doc on exclusive consumers explains the rational and the J2EE use case. What is your use case? 2009/3/23 mffrench > > Hello, > > There is no exception raised when I open a jms consumer on an exclusive > queue which is al

Re: exception and exclusive queue

2009-03-24 Thread mffrench
do I need to raise a JIRA ? thanks ... mffrench wrote: > > Hello, > > There is no exception raised when I open a jms consumer on an exclusive > queue which is already locked by another consumer ? The second consumer > does not receive any messages but I would like to get an exception to > cl

Re: ActiveMQ Performance Issues

2009-03-24 Thread Bruce Snyder
On Tue, Mar 24, 2009 at 7:06 AM, Alex_ynr wrote: > > Hello, > > Our application uses a network bridge between 2 instances of a 5.0.0.23 > build of ActiveMQ. > > One server is on the internet and the other is on a Local network behind a > firewall. The one behind the firewall initiates the (duplex)

Re: Clustering for HA

2009-03-24 Thread Bruce Snyder
On Tue, Mar 24, 2009 at 1:17 AM, Erik Drolshammer wrote: > Bruce Snyder wrote: >> >> On Mon, Mar 23, 2009 at 10:00 AM, Erik Drolshammer >> wrote: >>> >>> Hi! > > Good morning :) > > >>> We try to set up two brokers according to [1] to get some redundancy in >>> our >>> solution. The shared filesy

Strange problem on Composite Destination

2009-03-24 Thread Satheish
Hi, We are facing a strange problem with Active MQ. As per the composite destination setup, we configured JMS Message publisher to publish messages on Topics & those messages would be forwarded to Queue for processing based on the Message Selector . In the following example, JMS publisher will

ActiveMQ Performance Issues

2009-03-24 Thread Alex_ynr
Hello, Our application uses a network bridge between 2 instances of a 5.0.0.23 build of ActiveMQ. One server is on the internet and the other is on a Local network behind a firewall. The one behind the firewall initiates the (duplex) connection to the outside server. 4 different queues are set

Re: Reconnection

2009-03-24 Thread Timothy Bish
On Tue, 2009-03-24 at 00:46 -0700, dongabda wrote: > Hi, > I saw that the consumer doesn't give any exception, it apparently works > without net link, but after restore the link the consumer doesn't receive > nothing. How can I know if the connection is down? How can I reconnect it? I > saw the CMS

Re: Reconnection

2009-03-24 Thread dongabda
Hi, I saw that the consumer doesn't give any exception, it apparently works without net link, but after restore the link the consumer doesn't receive nothing. How can I know if the connection is down? How can I reconnect it? I saw the CMS Api but I don't see any function to know if the session or

Re: Clustering for HA

2009-03-24 Thread Erik Drolshammer
Bruce Snyder wrote: On Mon, Mar 23, 2009 at 10:00 AM, Erik Drolshammer wrote: Hi! Good morning :) We try to set up two brokers according to [1] to get some redundancy in our solution. The shared filesystem is based on GFS, but it doesn't seem to work that well. The master node use a lot of