Thanks,
and one doubt,
our machine has 8gb ram. its a 32 bit machine and we are not able to give
more than 2700 MB as the max heap size for the activeMQ broker.
suppose i give 2700 MB as -Xmx in the active.sh file and 3000 MB as the
memoryUsage in the activemq.xml file, then which one will it
Hi
We are using the activemq brokers in a high scale production environment.
To prevent downtime we decided to configure the brokers to work as a network
of brokers.
There are 2 brokers which use a fixed list of urls to connect to each other.
The clients and services use the failover url with a
Hi Clark,
I'm using Client-Server topology, meaning I just access ActiveMQ via tcp. I
do it like this:
final String brokerURL = tcp://localhost:61616;
ConnectionFactory connectionFactory = new
ActiveMQConnectionFactory(brokerURL);
context.addComponent(jms,
Can you give us a bit more details on how you are using it and what
particular exception do you see?
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 Mon,
getMapNames also fails... :-(
Søren
Timothy Bish wrote:
On Mon, 2010-06-28 at 02:22 -0700, Sodan wrote:
is there a way to test if a map is empty ?
You could call getMapNames() and see if the returned vector is empty.
Regards
Søren
Timothy Bish wrote:
On Fri,
app_debug.exe!std::_Debug_message(const wchar_t * message, const wchar_t *
file, unsigned int line) Line 15 C++
app_debug.exe!std::vectorunsigned char,std::allocatorunsigned char
::operator[](unsigned int _Pos) Line 932 + 0x14 bytes C++
On Tue, 2010-06-29 at 05:42 -0700, Sodan wrote:
getMapNames also fails... :-(
Again, all tests that I have pass here, so I really need to see an
example that fails in order to diagnose what is causing it to not work
for you, there must be something different in you app that we have not
tested
btw: we use 5.3.0.4 ActiveMQ.
Maybe we need the newest version 5.3.2 to be compatible... ?
Søren
--
View this message in context:
http://old.nabble.com/activemq-cpp-3.2.0-vs2005-build-directory-is-missing-tp28946553p29023435.html
Sent from the ActiveMQ - User mailing list archive at
I have always changed and compiled it as static lib, so no dll.
3.1.3 works like a charm, 3.2 goes boom. Same setup.
dang,
Søren
Timothy Bish wrote:
On Tue, 2010-06-29 at 06:10 -0700, Sodan wrote:
btw: we use 5.3.0.4 ActiveMQ.
Maybe we need the newest version 5.3.2 to be compatible... ?
On Tue, 2010-06-29 at 06:31 -0700, Sodan wrote:
I have always changed and compiled it as static lib, so no dll.
3.1.3 works like a charm, 3.2 goes boom. Same setup.
dang,
Søren
A sample app that demonstrates the problem would be helpful.
Regards
Timothy Bish wrote:
On Tue,
note that memoryUsage is the memory used by messages on destinations, it is
not total jvm memory, You still need to leave resources for threads,
destinations, connections/producers/consumers etc.
set memoryUsage to 70% of the jvm max heap if you want to be as generous as
possible and run your
FuseSource (http://fusesource.com) is offering a free excerpt from
ActiveMQ in Action (http://manning.com/snyder) and Camel in Action
(http://manning.com/ibsen) books at
http://fusesource.com/fuse/apache-books/.
Find out more on how ActiveMQ stores messages and what's the role of
transactions in
Hi,
It appears like you are sending messages in async mode (see link:
http://activemq.apache.org/async-sends.html). Order cannot be guaranteed,
even for a single producer, using async mode. So the answer to your question
is yes the sync/async mode can change ordering particularly when sent
Ami,
Well the nice thing about ActiveMQ is almost everything is configurable.
From your description I gather you have a requirement for high availability.
If this is the only reason for using multiple brokers then using a
master-slave
would be simplify things for you.
I have searched through all posts related to the subject. Yet I failed to
find any help.
Here is the consumer code, and its not able to receive messages as a durable
subscriber. (It does receive messages when its connected to the Broker but
not the onces that are sent when its not connected).
15 matches
Mail list logo