Hi all,
Im trying to optimize and hardening activemq and I have some question:
- If I set producerFlowControl to false, should I need to set the memory
limit? I dont know if I set the memory limit, firstly all messages goes to
memory until is full, and after that goes to disk?
- Do I need to set
Abimael,
Just to follow up on what Matt said, the messages in the log files will only
be deleted once they're *all* consumed. If you have a log file where all but
one message is consumed, the log file will stay around until the last
message is consumed.
Thanks,
Christian
-
http://www.christ
Soumya-
The error appears to be that the ActiveMQ connection was closed. If you
are using connection pools, you might look into your configuration there
and see if you set some timeouts. Its been a while since 4.x, so I
can't remember off the top of my head how the default behavior works.
Glad to hear. Yes, the "store" limits the disk space that the broker
will use. Once that limit is reached, the broker will kick in "producer
flow control", where it will not ack messages to producers. This allows
the consumer to "catch up" and drain the queues.
You shouldn't have to tweak t
Hi
We are using AMQ4.0.1 and JBoss 4.0 in a application and are getting the
following error as given in the below link
http://pastebin.com/NBuSqTZT
As AMQ4.0.1 has reached the EOL so I was redirected to the mailing lists.
>From my POV it looks like a bug, but can anyone confirm me in which versi
Does anyone know if this issue with BROKER_NAME in ACTIVEMQ_LOCK table has
ever been resolved?
It seems that for some reason it was decided that broker cluster (i.e. group
of 1 master and N slaves) must have a dedicated database instance?! Using
BROKER_NAME (which, actually, should be a broker cl
@Matt Pavlovich-2
Thank you.
Yes, while I was waiting for the response, I did a test with more than
50 messages with the Consumer application STOPPED.
I noticed that there was db-XX.log files (several of them) . Once I started
Consumer, all of them were deleted , and just one were kept
What method of the cms::MapMessage do I use to extract the values from a
ActiveMQ.Statistics.Broker query? I'm getting a reply and I can output a
list of map names but no values!
Using this code :
const cms::MapMessage * map = dynamic_cast < const cms::MapMessage *
>(message) ;
const std::vector
persistence is an attribute of each message, how are you sending the messages?
And you need to be sending to a queue or use durable subscriptions on a topic.
have a go with the examples, ant consumer, and producer to get started.
On 26 January 2012 12:11, alexandry wrote:
> Hi, i trying to figur
Hello.
I have a working activemq.xml file that work until I import my camel.xml
resource. When activemq is started using the console option it tells me :
# A fatal error has been detected by the Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 65552 bytes for Chunk::new. Out of
Hi, i trying to figure out how to enable persistent storage at ActiveMQ.
My configuration say http://activemq.apache.org/schema/core";
brokerName="firstbroker" dataDirectory="${activemq.base}/data"
persistent="true"> that it should be persistent.
But in following scenario it not seems to be pers
Hey everyone,
I am currently developing a message-driven client-server-application that
involves sending around large files (1gb each). As I can not rely on
external transfer-services I am resorting to JMS Streams. After receiving a
certain amount of data the broker slows down and seems to have pr
12 matches
Mail list logo