Throttling mechanism/parameter on a broker

2010-07-29 Thread Jai_M
We are planning a setup where there are network of brokers. The managing application has a broker and the managed entities all have one broker. All the managed entities pump messages on a queue. In this scenario when the application goes down for sometime and resumes it will have a lot of messag

Selector and payload

2010-07-26 Thread Jai_M
This might be a really stupid question but I had to get it cleared. I create a ActiveMQTextMessage with a simple string. ActiveMQTextMessage message = new ActiveMQTextMessage(); message.setJMSType("text"); message.setProperty("msgOpCode", "some_Op_code"); message.

exception loop "Persistence Adaptor Task" NPE

2009-09-10 Thread Jai_M
I am using 5.2.0 along with spring. I am using PooledConnectionFactory as the JMS provider Sometime when I shutdown tomcat, I get the following exception in an infinite loop Exception in thread "Persistence Adaptor Task" at org.apache.activemq.s

Re: Managing a Broker via JMX

2009-05-20 Thread Jai_M
I am working on a similar implementation and could not get to create transportConnector via JMX. See my earlier post regarding this at http://www.nabble.com/How-to-create-a-TransportConnector-using-JMX-td23643601.html I even tried the example provided in the link by Bruce. Surprisingly createTopi

How to create a TransportConnector using JMX

2009-05-20 Thread Jai_M
Hi, I am trying to create TransportConnector using JMX and I am getting the following NullPointerException. java.lang.NullPointerException at org.apache.activemq.broker.TransportConnector.start(TransportConnector.java:197) at org.apache.activemq.broker.jmx.BrokerView.addConnect

Spring injection and ActiveMQConnectionFactory

2009-05-07 Thread Jai_M
Hi, I am on 5.2 and I am using sring injection to initialize my broker and JMSTemplate using dependency injection. My application seems to hang with the the following log messages 10:10:20.158 [main] INFO o.a.a.t.TransportServerThreadSupport - Listening for connections at: tcp://hostname:6161

ActiveMQ 5 and jgroups

2009-02-17 Thread Jai_M
Hi, I am trying to integrate activemq 5 and jgroups. My config file looks like below. I want to configure broker clustering using multicast and so I decided to use jgroups. However, I am always getting the following