Re: Redelivery not happening at the point of failure

2011-10-14 Thread Claus Ibsen
On Fri, Oct 14, 2011 at 7:56 PM, Venkatesh Laguduva wrote: > Thanks Claus, we are kind of divided our route - one as transacted and > another one as not transacted - so that we be in line with activemq > redelivery mechanism. > > Btw, Camel redelivery mechanism seems beneficial as it re-starts at

Queues not showing up using JMX

2011-10-14 Thread kureckam
I'm trying to delete a dynamically created queue programmatically. My research seems to indicate that JMX is the best way to do this. I have successfully created producer, consumers and queues. I can see the queues using the web console http://localhost:8161/admin/queues.jsp but I can't see any qu

ACTIVEMQ-CPP. All machine memory consumed

2011-10-14 Thread Oscar Pernas
Hi all, I have a Java application on one side and a C++ client on the other one. The Java application have a bug and any of the temporary queues that it creates are released. With this bug, the broker start to consume memory, and after a while, I can see an OutOfmemory exception. The problem is

Re: Known issue with gcInactiveDestinations?

2011-10-14 Thread Martin C.
Hi, I am not sure anymore about the settings I used. The steps to reproduce the issue as described in my previous mail were performed using the web-interface, so I suppose I used the default settings there (can't check right now, no ActiveMQ installation here, need to wait till Monday until I get

Re: Redelivery not happening at the point of failure

2011-10-14 Thread Venkatesh Laguduva
Thanks Claus, we are kind of divided our route - one as transacted and another one as not transacted - so that we be in line with activemq redelivery mechanism. Btw, Camel redelivery mechanism seems beneficial as it re-starts at the point of failure, why not activemq go that way? Thanks & Regards

A client is already connected to durable subscriber

2011-10-14 Thread Bashar Saleh
[Setup] ActiveMQ 5.0 Broker - Ubuntu Linux 10.04 Client - Java client running on Windows [Problem] I have an issue with a durable subscription reconnection. When the client above is disconnected (due to a bad connect, cable disconnection, loosing connectivity), the client automatically throw

Re: redelivery from a queue

2011-10-14 Thread Tibor Pal
It turned out that the problem has nothing to do with ActiveMQ or Spring configuration. There was a bug in our code. The described architecture and configuration must work. -- View this message in context: http://activemq.2283324.n4.nabble.com/redelivery-from-a-queue-tp3904212p3904989.html Sent f

Re: Possible bug in AJAX amq.js

2011-10-14 Thread Dejan Bosanac
Hi, can you raise Jira for this (and ideally provide a patch)? Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net

Re: Possible bug in AJAX amq.js

2011-10-14 Thread stratio
Any suggestion or reply about this? -- View this message in context: http://activemq.2283324.n4.nabble.com/Possible-bug-in-AJAX-amq-js-tp3898020p3904922.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: How Can I Build ActiveMQ-CPP library to Support IPv4?

2011-10-14 Thread Timothy Bish
On Fri, 2011-10-14 at 06:05 -0700, newbieSCS wrote: > I read the README.txt file but I didn't see anything referring to IPv4 socket > configuration. Am I missing something? > There's nothing to configure, IPv4 is the only configuration supported currently. > -- > View this message in context:

Re: How Can I Build ActiveMQ-CPP library to Support IPv4?

2011-10-14 Thread newbieSCS
I read the README.txt file but I didn't see anything referring to IPv4 socket configuration. Am I missing something? -- View this message in context: http://activemq.2283324.n4.nabble.com/How-Can-I-Build-ActiveMQ-CPP-library-to-Support-IPv4-tp3902801p3904766.html Sent from the ActiveMQ - User ma

Reply:Re: Why broker urls of client updated by networked broker appear to be hosname-form intsead of IP address?

2011-10-14 Thread SuoNayi
ThanksTorsten ! When I deploy the brokers on the windows os, I get the hostname instead of ip address. After that I deploy the two brokers on the linux server and make sure hosts file has no mapping, I get the ip address this time. Is there any difference to get the url of the broker? And more,I

Re: Why broker urls of client updated by networked broker appear to be hosname-form intsead of IP address?

2011-10-14 Thread Torsten Mielke
On Oct 14, 2011, at 9:51 AM, SuoNayi wrote: > Hi all, two brokers are networked in both direction and confige the broker to > be able to update the broker url of clients and enable to rebalance the > clients. > > when broker of network comes and goes, clients receive the updated url of > brok

redelivery from a queue

2011-10-14 Thread Tibor Pal
Hi, I'm having a problem with message redelivery (ActiveMQ version is 5.5). It seems messages are redelivered from the broker to the consumer several times. The session is not transacted and the acknowledgement mode is auto. Besides I cannot see any exception thrown by the application. Our consume

Re: How to get broker in code?

2011-10-14 Thread Dejan Bosanac
You get it like any other Spring bean. You can take a look at SpringBrokerContext for example https://fisheye6.atlassian.com/browse/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/spring/SpringBrokerContext.java?hb=true Regards -- Dejan Bosanac - http://twitter.com/dejanb

Why broker urls of client updated by networked broker appear to be hosname-form intsead of IP address?

2011-10-14 Thread SuoNayi
Hi all, two brokers are networked in both direction and confige the broker to be able to update the broker url of clients and enable to rebalance the clients. when broker of network comes and goes, clients receive the updated url of brokers.but the urls are in form of hostname not IP, this is no

Re: Redelivery not happening at the point of failure

2011-10-14 Thread Claus Ibsen
You have two different systems capable of doing redeliveries - ActiveMQ - Camel ActiveMQ will redeliver from the beginning of the route again Camel will redeliver at the point of the error ActiveMQ can only redeliver JMS messages (or the other formats it supports) Camel can redeliver any kind of