Problem about JNDI support: the connection.start hang up and no response.

2009-06-24 Thread lzr
Hi all, Currently I'm studying the JNDI support with Active MQ 520 and found the Connection.start will hang up and no response. It will be much appreciated if anybody could help identify the issues The following codes is my implemenation: Properties props = new Properties();

ActiveMQ Thread Management

2009-06-24 Thread fehm
Hi, I'm currently fighting a bit with having 5000+ topics and persistence enabled for an ActiveMQ 5.3 Broker. In fact, in this scenario is not a problem with persistence is switched off. The broker has no problems (well if you give him enough memory, say 1Gb) to handle all the topics even when

Re: inactivity monitor hangs tomcat shutdown

2009-06-24 Thread David Durham
http://issues.apache.org/activemq/browse/CAMEL-1751

Flooding the Stomp connector ... timeout

2009-06-24 Thread mjustin
Hello, testing with the 5.3-20090620.174423-1 snapshot on Windows XP SP3, with Stomp trace enabled, I encounter problems with lost connections. Here is the log output for the last received message: TRACE StompTransportFilter - Received: SEND destination:/queue/perftest Sending

Stomp and temporary destinations

2009-06-24 Thread mjustin
Hello, After reading the description for Temporary Queues do not work with multiple connections to StompConnect (http://jira.codehaus.org/browse/STOMP-12), I would like to know if the Stomp connector in ActiveMQ supports temporary destinations: It is indeed possible to subscribe and send

Re: InFlightCount/DispatchCount meaning

2009-06-24 Thread Gary Tully
the inflight count means inflight to a consumers session, not necessarily received and unacked by a consumer. You must have 6 consumers. There is an additional prefetch extension that is used in transactions when a message is delivered so that a transction can span the prefetch limit. 2009/6/24

Re: Flooding the Stomp connector ... timeout

2009-06-24 Thread mjustin
Hello, setting the memoryLimit from 5 to 50 in the broker configuration policyEntry queue= memoryLimit=50mb/ helps. Best Regards, Michael Justin mjustin wrote: Hello, testing with the 5.3-20090620.174423-1 snapshot on Windows XP SP3, with Stomp trace enabled, I encounter problems

Re: activemq-cpp client heartbeat and reconnect with broker?

2009-06-24 Thread shaldar
Thanks chetan - I am using 2.2.6 . I tried changing to 3.0 but it gave me a runtime error. To save time, I changed my links back to 2.2.6. In any case - 2.2.6 has a bunch of code related to maxInactivityDuration and KeepAliveInfo in the activemq::connector::openwire::commands namespace. If this

Re: activemq-cpp client heartbeat and reconnect with broker?

2009-06-24 Thread Chetan Sarva
3.0 now requires that you initialize the library before using it. Simply call: activemq::library::ActiveMQCPP::initializeLibrary(); and clean it up with: activemq::library::ActiveMQCPP::shutdownLibrary(); no other code changes are required. You can simply use a broker URI with failover like:

create a new project and refer to ActiveMQ-CPP files. Compile is fail

2009-06-24 Thread pclovec
hi, All i download the activemq-cpp 3.0 source to my local and i can compile on my machine . ...make..make install and running the example is well. now i create a new c++ project on eclipse . and just wrote a sample code. and include the activemq-cpp src folder /src/main/ all .h file and

Re: create a new project and refer to ActiveMQ-CPP files. Compile is fail

2009-06-24 Thread Timothy Bish
On Wed, 2009-06-24 at 14:02 -0700, pclovec wrote: hi, All i download the activemq-cpp 3.0 source to my local and i can compile on my machine . ...make..make install and running the example is well. now i create a new c++ project on eclipse . and just wrote a sample code. and include the

HTTPS and .Net clients - possible?

2009-06-24 Thread K Anderson
We're working on implementing a system where the front end is a .Net client that communicates with a java back end through a message broker. ActiveMQ was on our short list because it has advertised the ability for .Net access and HTTPS transports. Unfortunately, after digging deeper, it doesn't

Re: create a new project and refer to ActiveMQ-CPP files. Compile is fail

2009-06-24 Thread pclovec
hi, Tim thanks, yes at first time i didn't link this file . Eclipse CDT link file is some difference . i only input the activemq-cpp is be fine . if i input /usr/.../libactivemq-cpp.so file then it will give me can't find out the so file.. sigh... now i have add link the libactivemq-cpp.so

Re: create a new project and refer to ActiveMQ-CPP files. Compile is fail

2009-06-24 Thread Timothy Bish
On Wed, 2009-06-24 at 16:26 -0700, pclovec wrote: hi, Tim thanks, yes at first time i didn't link this file . Eclipse CDT link file is some difference . i only input the activemq-cpp is be fine . if i input /usr/.../libactivemq-cpp.so file then it will give me can't find out the so file..

Re: create a new project and refer to ActiveMQ-CPP files. Compile is fail

2009-06-24 Thread pclovec
thanks very much. i got it . small question . in source code folder have more sub folder . each sub folder include one .libs folder ,, i can so the libactivemq-cpp.so and so.9 ,..so.9.0.. file in .../src/main/.libs folder. i just want to ask which folder do i need add into ld.so.conf file . or

Re: create a new project and refer to ActiveMQ-CPP files. Compile is fail

2009-06-24 Thread pclovec
fix. not all HOHO thanks pclovec wrote: thanks very much. i got it . small question . in source code folder have more sub folder . each sub folder include one .libs folder ,, i can saw the libactivemq-cpp.so and so.9 ,..so.9.0.. file in .../src/main/.libs folder. i just want to ask

Re: create a new project and refer to ActiveMQ-CPP files. Compile is fail

2009-06-24 Thread Timothy Bish
On Wed, 2009-06-24 at 16:53 -0700, pclovec wrote: thanks very much. i got it . small question . in source code folder have more sub folder . each sub folder include one .libs folder ,, i can so the libactivemq-cpp.so and so.9 ,..so.9.0.. file in .../src/main/.libs folder. i just want to ask

Re: InFlightCount/DispatchCount meaning

2009-06-24 Thread Denis Bazhenov
Yeah, but I have fast consumers and slow producers. In my case InFlightCount must be about zero, I guess. This is because of producers too slow to generate a lot of messages for consumers. Do I miss something? On Wed, 2009-06-24 at 17:00 +0100, Gary Tully wrote: the inflight count means inflight

Re: activemq-cpp client heartbeat and reconnect with broker?

2009-06-24 Thread shaldar
Hi Chetan - I tested with 3.0 as you suggested. I built and used the SimpleAsyncConsumer.cpp example that comes with 3.0. It's connecting and receiving messages from the remote broker. However, changing the brokerURI to failover://(tcp://207.153.194.152:61616) or