Re: pure master/slave

2008-08-05 Thread qlin
I have the same question on it. When I kills slave broker, I have found that the master broker is down as well. AMQ developer, would you please explain it for us. Thanks a lot. -- View this message in context: http://www.nabble.com/pure-master-slave-tp18831368p18845063.html Sent from the Activ

Re: stomp and message expiration

2008-08-05 Thread Enrico Teotti
I've found the answer: http://markmail.org/message/fvef2ur5dim6vjkx "The expires property should be set to the time of expiration (in millis) instead of the span to now. " So in my tests I am going to add some milliseconds to System.currentTimeMillis(). Cheers, Enrico 2008/8/6 Enrico Teotti <[EMA

Re: JMS Threading Restriction

2008-08-05 Thread jaya_srini
hi I had a follow up question on this... If I publish a message within onMessage() then are the following true? 1) if the message is published within onMessage() in the same thread i.e.the JMS provider owns the onMessage thread and the publish happens in that same thread, then the message can b

stomp and message expiration

2008-08-05 Thread Enrico Teotti
Hi, I am doing some tests with a standalone activemq broker and STOMP via telnet. I set up a producer and consumer and everything works fine. But when I send: SEND destination:/queue/FOO.BAR expires:2 expires in 20s ^@ the consumer doesn't receive it, instead (checking with jconsole) the me

activemq-admin failing on snapshot

2008-08-05 Thread Dylan Vanderhoof
This is bizarre. I have 3 servers running 5.2.0-SNAPSHOT from today. Their configuration is identical other than the broker name and broker URLs in the activemq.xml file. On two on them activemq-admin works flawlessly, on the 3rd, it sits there for 5+ minutes before returning a connection timed

testing master slave configuration

2008-08-05 Thread Suchitha Koneru (sukoneru)
Hello Active mq users , How do we test the Master/Slave configuration for an embedded broker ? What are the test cases/scenarios in this regard ? One test case is that we can explicitly kill the master broker , by terminating the java process which started the master broker , b

Log4J ActiveMQ JMS Appender

2008-08-05 Thread javadevel
We are trying to create a distributed logging service using Log4J and JMS appender to an ActiveMQ topic. However, we keep getting an error "Wire format negotiation timeout: peer did not send his wire format" and the message never gets delivered to the topic. Is there a bug with the ActiveMQ connec

Re: QueueSize and InFlightCount on a Topic keeps growing

2008-08-05 Thread xnbuslynsobm
A new JIRA tracker has been created for this issue: https://issues.apache.org/activemq/browse/AMQ-1876 /x. n. busly Mike Gallaher wrote: > > Aaron Pieper posted a message yesterday in another thread that gives more > details, but the nutshell version is that the topic only starts to > accumula

CMSExceptions

2008-08-05 Thread fredrick255
I am trying to handle specific exceptions in activemq-cpp 2.2. For example, I would like to catch the SocketException that occurs when the client fails to connect to the broker upon connectionFactory->createConnection(...). The structure that would allow me to cast the CMSException to a more speci

Re: QueueSize and InFlightCount on a Topic keeps growing

2008-08-05 Thread Mike Gallaher
I was able to avoid the problem by setting pubSubNoLocal on my consumer to false. Presto, the topics no longer leak memory. It was and is using AUTO_ACK. I'm using a Spring SimpleMessageListenerContainer on the consumer side, but a client using raw JMS primitives behaves the same way. Aaron Piep

Re: Books/Tutorials

2008-08-05 Thread Bruce Snyder
On Mon, Aug 4, 2008 at 2:09 PM, nmittal <[EMAIL PROTECTED]> wrote: > > Hi, I am new to ActiveMQ and JMS. Could someone be kind enough to point me to > some good books or any online documentation. > IMHO, documentation on ActiveMQ website is helpful if you know what you are > doing. We are in the p

20ish second delay after MDB Redeploy on JBoss

2008-08-05 Thread bopfermann
I have a simple MDB deployed in JBoss which listens on a queue on a remote broker. On a clean start of both activemq (5.1.0) and JBoss (4.2.1.GA), the interaction works well and fast. I can load it with over 1500 messages and it consumes them quite fast. The problem occurs when I redeploy the M

Re: Books/Tutorials

2008-08-05 Thread Joe Fernandez
There is a free ActiveMQ reference guide @ http://www.ttmsolutions.com/contact2.php4 No forms to fill out unless you want to be placed on the mailing list. Joe Hans Bausewein wrote: > > I'd first recommend Sun's documentation: > > http://java.sun.com/products/jms/index.jsp > > That's

RE: kr-store/index-queue-data grows indefinitely?

2008-08-05 Thread Dylan Vanderhoof
Thanks, that should give me something to work with. -D > -Original Message- > From: Rob Davies [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 05, 2008 12:32 AM > To: users@activemq.apache.org > Subject: Re: kr-store/index-queue-data grows indefinitely? > > > > On 5 Aug 2008, at 01:06,

can not consume messages on broker network.

2008-08-05 Thread Allen Teng
Hello All i'v encountered strange problem on message consuming on broker network . i have 2 computers M1 and M2 each with an embedded broker on it . assume B1 on M1 and B2 on M2, and each of the broker has a queue with same queue name(test-queue).

pure master/slave

2008-08-05 Thread AD
I am looking at using pure master/slave for redundancy but the following statement concerns me: "The master broker will only respond to a client when a message exchange has been successfully passed to the slave. For example, a commit in a clients transaction will not complete until the master and

Re: Starting Jetty to serve blobs with embedded broker

2008-08-05 Thread Joe Fernandez
Hi Eugeny, You can try starting the embedded broker with a brokerURL that specifies a config file, and have the config file include a element. With this brokerURL the cfg file must be in the application’s CLASSPATH. vm://localbroker?brokerConfig=xbean:activemq.xml With this one, you're speci

Re: Valid characters in strings

2008-08-05 Thread Timothy Bish
Anything that you can put in a C++ string object should work, as far as Unicode we don't support that and the client would throw an exception if it received a string containing multi-byte characters. If you need to send Unicode string data I'd recommend encoding it in a ByteMessage and then unpack

Re: Compiling ActiveMQ-CPP fails under Debian 4.0

2008-08-05 Thread Timothy Bish
There could have been some issue introduced in the configure files when we converted everything over to using the APR libraries. At least on all the systems that we are able to access, the library builds fine. You may need to compare the previous configure.ac file to the new one and see if you can

Starting Jetty to serve blobs with embedded broker

2008-08-05 Thread Eugeny N Dzhurinsky
Hello, all! Could somebody please advice how can I start the embedded Jetty server when starting ActiveMQ from the application using embedded brokers? I need to serve blobs, and looks like the default Jetty server is not started when broker is created, thus blobs aren't uploaded and BlobMessage.

Re: kr-store/index-queue-data grows indefinitely?

2008-08-05 Thread Rob Davies
On 5 Aug 2008, at 01:06, Dylan Vanderhoof wrote: Running 5.1.0. We have a single queue running around 1M messages per day (and some other much smaller ones). We're using persistance simply so if a consumer fails, we can restart ActiveMQ without losing the queued messages. However, noth