Re: Issue creating a distributed queue using store and forward.

2009-10-12 Thread farshad
I did not try the patch as it seemed like it would make matters worse. I had to move on and ended up implementing something else for now. I will keep an eye on 5.3 which will hopefully resolve this issue. -Farshad Gary Tully wrote: > > Eric, > just in case you have not seen it, you may find

java/lang/OutOfMemoryError

2009-10-12 Thread tejeswara
Our broker is running on Linux (RHEL4 box) and after 1 or 2 days I see below error in logs. Note that, below values are set in bin/activemq in out test lab: if [ -z "$ACTIVEMQ_OPTS" ] ; then ACTIVEMQ_OPTS="-Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true" fi I tried to stress test bro

Re: Latency causing throughput problems in ActiveMQ 5.2

2009-10-12 Thread nkleinsch
I tried this as well, but didn't see any improvement. According to the wiki page about preFetch the default is Short.MAX_VALUE-1 for non-persistent topics. rajdavies wrote: > > You should try increasing the prefetchSize for the network connection > - by default its 1000 - setting it to a hig

Re: Performance of persistent messages

2009-10-12 Thread Joe Fernandez
FWIW, I have gotten throughput rates of ~3000 msg/s under the following conditions. Used persistent messages, default msg store, message size = 1k, queues, and producer had jms.useAsyncSend=true Broker ran on an openSUSE 11.0 laptop (2GB memory, Intel Core 2 Duo T5550, 1.83 GHz, JDK 1.6) and

Performance of persistent messages

2009-10-12 Thread Patrik Nordwall
Hi, I'm trying to find a message broker that has the performance for persistent messages that we need. We have defined the following scenario: - 6 producers (standalone java applications) that send persistent messages. Each producer send 20 msg/s. The messages have xml payload, 3 kB. No transact

Re: NMS / ActiveMQ 5.3 / "Unable to read beyond the end of the stream."

2009-10-12 Thread lujan99
I run this sample in AMQ-5.2 and its ok, no exceptions. but whe I run this in AMQ-5.3 (RC4) I get a exception each minute. I upload my test-program, link is below... Thanks. Timothy Bish wrote: > > On Sun, 2009-10-11 at 19:49 -0700, lujan99 wrote: >> using "Assembly Apache.NMS.ActiveMQ, Ve

Stomp messages arriving without a message id

2009-10-12 Thread Pete Hodgson
Hi List, I'm using standard ruby stomp client to communicate with activeMQ 5.2.0, using non-persistent messages. Very rarely (maybe once every 10,000 messages) the stomp client receives a message from the server with no message-id header. It does have other headers, but is missing the message-id.

Re: temporary or durable queue?

2009-10-12 Thread Joe Fernandez
You may want to consider using Camel to implement the request/reply messaging pattern in combination with a content based router to route messages to their respective systems. http://camel.apache.org/request-reply.html http://camel.apache.org/content-based-router.html Camel makes it a lot easie

Re: Please help me get rendezvous working!!!

2009-10-12 Thread yesnid
Hello Joe, Thank you for the quick reply, I tried what you are suggesting before however, it didn't work for me. My setup will work perfectly via ssl and no discovery, and if I try discovery with tcp it works fine however when I try to combine the two my clients just spin trying to connect to the

Re: Problem with spring context and activemq 5.1.0

2009-10-12 Thread gollapally
I gave up and went back to using old bean style definitions. angrywooper wrote: > > Hi, > I have a problem with configuring amq:connectionFactory in my srping > config file. > Ive searched google, and found some people who had the same problem, but > their solution dont work for me for some rea

Re: Please help me get rendezvous working!!!

2009-10-12 Thread Joe Fernandez
Here are some snippets taken from the http://www.ttmsolutions.com/Apache_Software/ActiveMQ_Reference_Guide.php ActiveMQ Reference Guide . You'd use a 'ssl' connector instead of 'tcp'. Hope this helps To configure a broker and client to discover each other using the rendezvous connector, specif

Please help me get rendezvous working!!!

2009-10-12 Thread yesnid
Hello All, I am trying to get my system working, I need to use rendezvous, to discover brokers in my system but I want to encrypt the channel with SSL, does anyone know how I can configure this to work? HELP PLEASE!!! -- View this message in context: http://www.nabble.com/Please-help-me-get-ren

Firewall, is TCP 61616 sufficient?

2009-10-12 Thread wytten
I've got a very simple Java/Spring program that works with an out-of-the-box ActiveMQ 5.2.0 configuration when the broker is local. When I send a message to the broker, I can see with the admin interface that the queue was created and the message was received. However, this same client program a

Re: NMS / ActiveMQ 5.3 / "Unable to read beyond the end of the stream."

2009-10-12 Thread Gabe Westmaas
We see the same exception against a 5.1 broker, although we have not been able to pin down exactly when it happens, and it certainly isn't as frequently as every 60 seconds. Gabe -Original Message- From: "Timothy Bish" Sent: Monday, October 12, 2009 10:47am To: users@activemq.apache.or

Re: NMS / ActiveMQ 5.3 / "Unable to read beyond the end of the stream."

2009-10-12 Thread Timothy Bish
On Sun, 2009-10-11 at 19:49 -0700, lujan99 wrote: > using "Assembly Apache.NMS.ActiveMQ, Version 1.1.0.1642" > > when I use: > connection = CreateConnection(); > connection.ExceptionListener += new ExceptionListener(OnException); > session = connection.CreateSession(this.SessionAckn

Re: Many TCP consumer threads are being started up but no messages getting to queue

2009-10-12 Thread Gary Tully
possibly add the following to your log4j configuration: ## Be sure that ActiveMQ messages are not logged to 'jms' appender log4j.logger.org.apache.activemq=INFO, stdout see: http://activemq.apache.org/how-do-i-use-log4j-jms-appender-with-activemq.html 2009/10/10 Mike Nooney > > Hi, > > I am u

Re: activemq-jmdns_1.0 doesn't run (from latest svn trunk for activemq from Apache)

2009-10-12 Thread Dejan Bosanac
Hi, activemq-jmdns is not intended to be a full replacement for http://jmdns.sourceforge.net/ and it just include a subset of its classes need to implement zeroconf functionality ( http://activemq.apache.org/zeroconf.html) Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integrati

Re: Connecting a Broker to Multiple Brokers

2009-10-12 Thread Dejan Bosanac
Just do brokerService.setPlugins(new BrokerPlugin[]{sap}); Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Fri, Oct 9, 2009 at 12:18 AM, vivekarora wrote