Re: Messages Stuck in the queue(with the broker)

2009-07-22 Thread guptaviv
Sorry , Forgot to add that we are using activemq 5.1 and configuration for the broker is master slave share file system. guptaviv wrote: > > Hi, > > We are having the messaging setup where we are using one Listener and one > one producer. > I am trying to repeatedly send the messages through

Re: WARN [org.apache.activemq.usage.Usage] - . Is it nessessary?

2009-07-22 Thread Rob Davies
yep! On 22 Jul 2009, at 17:36, Dan Tran wrote: will fixed at activemq side? -D rajdavies wrote: ooh - ok - I think we need to adjust something ;) On 22 Jul 2009, at 16:54, Dan Tran wrote: is it better if it is at DEBUG level? Or it really mean we must to adjust the memory accordingly

Re: Messages Stuck in the queue(with the broker)

2009-07-22 Thread guptaviv
Thanks for the quick response Dejan/mkeenan. Yes we are using auto_acknowledge mode for both consumer and producer. Could this be a problem? Dejan,Here is my producer code: public class SynchMessageProducer { private static int deliveryMode; private static int ackMode;

one consumer listening to mutiple phyical queues

2009-07-22 Thread vidya1
Hi, I am looking at these features from activemq: 1. One consumer listening to same message on multiple physical queues. I looked at composite destination. My understanding says that the producer produce one message on multiple Queues at a time. 2. Single message consumed by multiple consumers.

Queue Size Allocation

2009-07-22 Thread yesnid
Hello All, I am trying to configure my broker and have run into a question, if my broker is set to allow "5mb" queues, does it allocate 5 megs of space per queue that is created as they are created from the JVM Heap? Or does it Allocate and Deallocate this space as needed to the limit I set? Or D

Re: ActiveMQ to ActiveMQ

2009-07-22 Thread Bruce Snyder
On Wed, Jul 22, 2009 at 12:34 PM, jerschmidt14 wrote: > > Hello, >    I am familiar with setting up IBM Websphere MQ to connect 2 servers > together.  Usually one at each company across a WAN so that we can exchange > messages. > >    One of our offices is using ActiveMQ.  We would like to setup a

ActiveMQ to ActiveMQ

2009-07-22 Thread jerschmidt14
Hello, I am familiar with setting up IBM Websphere MQ to connect 2 servers together. Usually one at each company across a WAN so that we can exchange messages. One of our offices is using ActiveMQ. We would like to setup a local ActiveMQ server to exchange messages across the WAN with t

Re: Messages Stuck in the queue(with the broker)

2009-07-22 Thread Dejan Bosanac
Hi, do you use auto ack for the consumer as well? It would be great if you could provide the source code that demonstrates the problem. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net

Re: Messages Stuck in the queue(with the broker)

2009-07-22 Thread mkeenan
guptaviv wrote: > > Is there any solution/workaround to this issue. Please let me know if > anyone has thoughts/advices on this. > I want to clarify my earlier remark. I'm not claiming ActiveMQ broker is the root cause for the stuck messages. We are using Spring.NET and NMS too, so our scenar

Re: WARN [org.apache.activemq.usage.Usage] - . Is it nessessary?

2009-07-22 Thread Dan Tran
will fixed at activemq side? -D rajdavies wrote: > > ooh - ok - I think we need to adjust something ;) > On 22 Jul 2009, at 16:54, Dan Tran wrote: > >> >> >> >> is it better if it is at DEBUG level? Or it really mean we must to >> adjust >> the memory accordingly. otherwise the log file

Re: Messages Stuck in the queue(with the broker)

2009-07-22 Thread mkeenan
guptaviv wrote: > > Is there any solution/workaround to this issue. Please let me know if > anyone has thoughts/advices on this. > We have a cron job to restart the broker because of this same issue. I have tried numerous configuration settings on the broker, producers and consumers but still

Re: WARN [org.apache.activemq.usage.Usage] - . Is it nessessary?

2009-07-22 Thread Rob Davies
ooh - ok - I think we need to adjust something ;) On 22 Jul 2009, at 16:54, Dan Tran wrote: is it better if it is at DEBUG level? Or it really mean we must to adjust the memory accordingly. otherwise the log file will be full of these messages. This is new in 5.3 SNAPSHOT -D -- View this

5.2.0 - Problem with broker discovery on linux - hostnames not resolved

2009-07-22 Thread ShrubMiK
Hi, I've tried this with both the default broker config (multicast discovery), and rendezvous. Brokers on Windows hosts find each other and transfer messages amongst themselves, no problems. With one or more linux hosts involved however I start seeing errors like these in the output from the m

WARN [org.apache.activemq.usage.Usage] - . Is it nessessary?

2009-07-22 Thread Dan Tran
is it better if it is at DEBUG level? Or it really mean we must to adjust the memory accordingly. otherwise the log file will be full of these messages. This is new in 5.3 SNAPSHOT -D -- View this message in context: http://www.nabble.com/WARN--org.apache.activemq.usage.Usage%3CMemory-us

Evaluating ActiveMQ

2009-07-22 Thread BillWitt
Hi all, I'm new to the forum and ActiveMQ. I'm currently evaluating ActiveMQ and was wondering if I could get some feedback on the product from the folks actually using it. Anything you can provide along the lines of: - performance numbers (eg. # of messages/day) - how long in production - typ

NMS WCF Binding

2009-07-22 Thread JMan_JE
Hello, i try to configure a nms binding for a simple (the one created by the vs 2008 template) wcf service. When i run the test client it throws this exception: System.InvalidOperationException: Contract requires TwoWay (either request-reply or duplex), but Binding 'NmsBinding' doesn't support it

Re: Exception while shutting down the embedded broker in Jboss:

2009-07-22 Thread Gary Tully
you need to peek at the jboss source to see what is null in this case. What versions are you using? Just a thought but is the application that uses the resource adapter closing off all connections? 2009/7/22 Chinmaya > > I have externally configured Jboss as you suggested below. > > Is there a

Re: Exception while shutting down the embedded broker in Jboss:

2009-07-22 Thread Chinmaya
I have externally configured Jboss as you suggested below. Is there a way to solve this ? Now i got the below exception : 16:55:34,484 INFO [TxConnectionManager] throwable from unregister connection java.lang.NullPointerException at org.jboss.resource.connectionmanager.TxConnectionMana

Re: broken 5.3-SNAPSHOT when using localhost for transport

2009-07-22 Thread Gary Tully
Yes it is. The issue that precipitated this change is: https://issues.apache.org/activemq/browse/AMQ-2094 2009/7/22 Dan Tran > > > Hello > > uri="${fdb.broker.protocol}://localhost:${fdb.broker.port}" /> > > works for 5.2.0 but break in 5.3-SNAPSHOT > > I have to change it to > > uri="${fdb.br

Re: Exception while shutting down the embedded broker in Jboss:

2009-07-22 Thread Gary Tully
> Yes every time i shutdown Jboss server this exception appears. > > One question : As you mentioned is there a way to change the order of > shutdown such that broker should shutdown after Connection Factory Cleanup > was done ? > This would require some internal code changes in the ActiveMQ resour

Re: Strange ActiveMQ hang problem

2009-07-22 Thread Dejan Bosanac
Hi, take a look at Producer Flow Control http://activemq.apache.org/producer-flow-control.html Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Wed, Jul 22, 2009 at 5:59 AM, Scott Su

Re: NPE in broker => inoperative broker

2009-07-22 Thread craig mcmillan
thanks gary, here's the jira : https://issues.apache.org/activemq/browse/AMQ-2329 tcp:///127.0.0.1:55870 is a client connection : there were two client connections, both tcp, one from in-vm, producing only, and the other from another vm on the same machine, both producing and consuming i d