Re: receive() does not throw exception when activemq.bat is terminated

2008-08-04 Thread David Sitsky
I'm quite a new user to ActiveMq and it's queuing system but as I have understood it the: receive(5000) or receive() (I've also tried receiveNoWait()) should both throw an exception if they are run when the activemq.bat has been terminated. Have a look at the Connection.setExceptionListener(Exc

Re: Memory leak in broker when subscribing to a topic using TCP connector + noLocal?

2008-08-04 Thread Joe Fernandez
Do you get the same sort of behavior if you point your pub/sub client to an external broker? Joe www.ttmsolutions.com Aaron Pieper wrote: > > I'm encountering what appears to be a memory leak in the BrokerService. > The symptom is that the BrokerService's memory usage increases with each > me

Re: QueueSize and InFlightCount on a Topic keeps growing

2008-08-04 Thread Dave Stanley
I'm not sure if it will help, but you could try disabling producer flowControl: It would also be interestin

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

2008-08-04 Thread Dave Stanley
I think one of these two fixes should help. http://issues.apache.org/activemq/browse/AMQ-1797 http://issues.apache.org/activemq/browse/AMQ-1814 Hope this helps, /Dave On Mon, Aug 4, 2008 at 8:06 PM, Dylan Vanderhoof <[EMAIL PROTECTED]>wrote:

Re: Compiling ActiveMQ-CPP fails under Debian 4.0

2008-08-04 Thread oliverw
By the way. The older version ActiveMQ-CPP 2.1.3 does not suffer from the same problem. Configure at least completes without errors - stating libpthread is installed so it must be something with ActiveMQ-CPP 2.2. But I had to fix a whole bunch of compile errors. All of them missing includes: #inc

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

2008-08-04 Thread Dylan Vanderhoof
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, nothing is durable. Once the message is processed, its gone

Memory leak in broker when subscribing to a topic using TCP connector + noLocal?

2008-08-04 Thread Pieper, Aaron (SAIC)
I'm encountering what appears to be a memory leak in the BrokerService. The symptom is that the BrokerService's memory usage increases with each message that is sent to a topic, as though each message is being stored permanently in memory. I've included an example which demonstrates the issue.

Exception on startup - Failed to create local registry

2008-08-04 Thread Badri
Hi When I start Active MQ 5.1, I get the folllowing exception (excerpt given below). I did not get this exception before. 2008-08-04 16:24:39,077 DEBUG ManagementContext - Failed to create local registry java.rmi.server.ExportException: internal error: ObjID already in use at sun.rm

Nested MapMessage in AMQNET

2008-08-04 Thread Mark Pollack
Hi, Are nested map messages, along the lines of the test http://fisheye6.atlassian.com/browse/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/test/message/NestedMapMessageTest.java here for Java supported in the C# binding? The NMS API doesn't have the SetObject or SetObjectPro

Re: Books/Tutorials

2008-08-04 Thread Hans Bausewein
I'd first recommend Sun's documentation: http://java.sun.com/products/jms/index.jsp That's also what the ActiveMQ FAQ says: http://activemq.apache.org/how-do-i-get-started-with-jms.html "Enterprise Integration Patterns" mentioned here: http://activemq.apache.org/enterprise-integration-

Books/Tutorials

2008-08-04 Thread nmittal
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. regards, Nishant -- View this message in context: http://www.nabble.com/Books-Tutorials-

Re: producer send message to consumer and get a response

2008-08-04 Thread Mark Webb
Joe, Dejan, Thanks for the information. This will be of great help to me. On Mon, Aug 4, 2008 at 2:21 PM, Joe Fernandez < [EMAIL PROTECTED]> wrote: > > Yes, this is possible with JMS and is referred to as the request/reply > pattern. Check out the following, which also has some sample code. >

Re: producer send message to consumer and get a response

2008-08-04 Thread Joe Fernandez
Yes, this is possible with JMS and is referred to as the request/reply pattern. Check out the following, which also has some sample code. http://www.enterpriseintegrationpatterns.com/RequestReplyJmsExample.html You may also want to look at the QueueRequestor and TopicRequestor JMS helper classes

Configuring HTTP and REST

2008-08-04 Thread oliverw
I've seen numerous threads about http://activemq.apache.org/rest.html but never a real answer on how to configure ActiveMQ in order to get what's described on the aforementioned documentation page. What's the status on this? -- View this message in context: http://www.nabble.com/Configuring-HTTP

Re: producer send message to consumer and get a response

2008-08-04 Thread Dejan Bosanac
Hi Mark, please take a look at the following link: http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html you can also use Lingo for this: http://lingo.codehaus.org/Request+Response+with+JMS For a web services, you take a look at axis and cxf support: http://activ

producer send message to consumer and get a response

2008-08-04 Thread Mark Webb
>From what I understand about JMS, I think the following scenario is possible, just not sure how to configure it. I am trying to figure out if I can send set up ActiveMQ to perform the following: 1. Producer sends message to JMS Topic/Queue 2. Consumer gets the message from the Topic/Queue 3. Con

receive() does not throw exception when activemq.bat is terminated

2008-08-04 Thread johoso
Hi I'm quite a new user to ActiveMq and it's queuing system but as I have understood it the: receive(5000) or receive() (I've also tried receiveNoWait()) should both throw an exception if they are run when the activemq.bat has been terminated. The reason why I'm terminating is because I want to

Re: Compiling ActiveMQ-CPP fails under Debian 4.0

2008-08-04 Thread oliverw
The latest version of libc6-dev is installed. AFAIK glibc-devel does not exist in Debian. bsnyder wrote: > > On Mon, Aug 4, 2008 at 10:08 AM, oliverw <[EMAIL PROTECTED]> wrote: >> >> ./configure fails for activemq-cpp-2.2 under Debian 4.0 etch using the >> latest >> packages from /testing with:

Re: Compiling ActiveMQ-CPP fails under Debian 4.0

2008-08-04 Thread Bruce Snyder
On Mon, Aug 4, 2008 at 10:08 AM, oliverw <[EMAIL PROTECTED]> wrote: > > ./configure fails for activemq-cpp-2.2 under Debian 4.0 etch using the latest > packages from /testing with: > > checking for pthread_create in -lpthread... no > configure: error: libpthread not found! > > Installing libpthread

Compiling ActiveMQ-CPP fails under Debian 4.0

2008-08-04 Thread oliverw
./configure fails for activemq-cpp-2.2 under Debian 4.0 etch using the latest packages from /testing with: checking for pthread_create in -lpthread... no configure: error: libpthread not found! Installing libpthread-stubs0-dev did not solve the problem. Suggestions? -- View this message in cont

Re: Problems with simple peer:// transport config & Spring

2008-08-04 Thread new2mq
I made an interesting observation over the weekend that may help explain what's going on here, but need some assistance. I've modified my spring configuration to use a PooledConnectionFactory. I'm using ActiveMQ 4.1.1 and the 1.1 JMS APIs (Hence JMSTemplate replacing JMSTemplate102). Here's

Re: Only memory transaction store with JDBC persistence adapter??

2008-08-04 Thread Ryan Stewart
Ryan Stewart wrote: > > [...] > > In this class, preparedTransactions is a LinkedHashMap. Perhaps someone > has made the mistaken assumption that the TransactionId object contains > all the necessary data for recovering a transaction? All of the > TransactionStore implementations have similar c

Re: QueueSize and InFlightCount on a Topic keeps growing

2008-08-04 Thread Mike Gallaher
I forgot to mention that I am running 5.1.0. I'll try the latest snapshot, but as we're about to release our project I'd rather use a release version of ActiveMQ if possible. Writing non-persistent messages to a topic is such a basic use case that I thought I must be doing something wrong, but