Re: State of KahaDB master slave replication?

2011-08-17 Thread ngochai
Hi, Does anyone have any update on this? http://activemq.apache.org/kahadb-master-slave.html Regards, Ngoc Hai -- View this message in context: http://activemq.2283324.n4.nabble.com/State-of-KahaDB-master-slave-replication-tp2365622p3751915.html Sent from the ActiveMQ - User mailing list archiv

Re: Consumer count question

2011-08-17 Thread Don Santillan
Thanks Gary, I can see the broker consumer count changed after adding it in the broker url. Does having an advisor consumer per connection affect consumer performance? I asked this because currently, we're getting high message queue count once in a while. On Thursday, 18 August, 2011 12:34 A

Re: How to deal with failures on a queue

2011-08-17 Thread Hervé BARRAULT
HI, if you are using Enterprise Integration Patterns, you can use the DeadLetterChannel Pattern : http://www.enterpriseintegrationpatterns.com/DeadLetterChannel.html Regards 2011/8/17 Walter Closenfleight > I'm confused on how to deal with failures. > > If any part of my logic in the processMsg

How to deal with failures on a queue

2011-08-17 Thread Walter Closenfleight
I'm confused on how to deal with failures. If any part of my logic in the processMsg (below) fails (external resources not available, wrong parameters passed in queueMsg, etc.) then I do not want the message to be dequeued. I realize, however, that the message will then just fire again and keep fa

Re: Consumer count question

2011-08-17 Thread Gary Tully
if each consumer uses a new connection, there will be an advisor consumer per connection. use ?jms.watchTopicAdvisories=false on the broker url to remove them. They are used to have an early indication of temp queue creation/deletion. On 17 August 2011 14:26, Don Santillan wrote: > Hello, > > I'

Re: How to disable ActiveMQ 5.4.2 failover successful connection by editing log4j.properties

2011-08-17 Thread Gary Tully
log4j.logger.org.apache.activemq.transport.failover.FailoverTransport=ERROR On 17 August 2011 14:17, jessezbj wrote: > Thank you very much! > > I am sure the log4j.properties loaded by my client program is the one I am > editing. > > but failover connection INFO logging still comes out. > > could

Re: How to connect ActiveMQ client to a Broker thru a firewall?

2011-08-17 Thread djfrisch
Hi Aleksander, Thanks for your reply. It appears that we are able to get through the corporate firewall and that the connection is being blocked by the broker's host (Windows 2008). We are investigating that now. Dave -- View this message in context: http://activemq.2283324.n4.nabble.com/How-

Re: AcetiveMQ AJAX in Grail Application

2011-08-17 Thread bdrhoa
Thanks for the input. The plugin actually seems to work OK. I handle handle messages completely on the server side. My problem is that I'm trying to update a jprogress bar to show the progress of a (very) long running process. And it appears that I must use ActiveMQ AJAX to do that. And that's wha

Re: Random hang waiting to consume a message

2011-08-17 Thread Frank Gynnild
Thanks Tim, that is exactly what I needed. Best regards, Frank On 17.08.2011 17:04, Timothy Bish wrote: On Wed, 2011-08-17 at 09:43 +0200, Frank Gynnild wrote: Thanks a lot for your information, I really appreciate it. I'll start retesting using these configuration changes as it seems like NM

Re: AcetiveMQ AJAX in Grail Application

2011-08-17 Thread Todd Crone
In BuildConfig you will need something like these dependencies: // not sure if this one is needed runtime "org.springframework.integration:spring-integration-core:$springIntegrationVersion" // I think this is needed for JmsTemplate runtime "org.springframework.inte

Re: AcetiveMQ AJAX in Grail Application

2011-08-17 Thread Todd Crone
I would avoid the Grails plugin. It openly admits to not be good for production usage and I have seen these types plugins in Grails that give you nothing but heartache. In my Grails app, I simply configured activemq in resources.groovy. Sample config in resources.groovy: jmsFactory(org.

Re: Random hang waiting to consume a message

2011-08-17 Thread Timothy Bish
On Wed, 2011-08-17 at 09:43 +0200, Frank Gynnild wrote: > Thanks a lot for your information, I really appreciate it. > > I'll start retesting using these configuration changes as it seems like > NMS also supports > these properties. I'll let you all know when the results are ready. > > Does anyo

Activemq-blaze build

2011-08-17 Thread Ramon
Hello, I am wondering if any one can help me with the activemq-blaze build. I checked out the code from http://svn.apache.org/repos/asf/activemq/activemq-blaze/trunk and I want to build it using Maven2. For some reason I can't get org.apache.activeblaze.wire package. I appreciate your help. Ra

Consumer count question

2011-08-17 Thread Don Santillan
Hello, I'm just curious on the consumer count I'm getting using the statistics plugin. I use the plugin to get some statistics like the number of consumers bound to a queue and a broker. I am setting a queue to have 10 consumers. Getting the queue and broker statistics, I get 10 consumers co

Re: How to disable ActiveMQ 5.4.2 failover successful connection by editing log4j.properties

2011-08-17 Thread jessezbj
Thank you very much! I am sure the log4j.properties loaded by my client program is the one I am editing. but failover connection INFO logging still comes out. could you show me an example log4j.properties file content which can work ? -- View this message in context: http://activemq.228332

Re: How to disable ActiveMQ 5.4.2 failover successful connection by editing log4j.properties

2011-08-17 Thread Gary Tully
set the system property -Dlog4j.debug=true to see where the log4j configuration is being found, it appears that is is not picking the properties file that you expect. With that system property, log4j will trace the configuration resolution process. On 16 August 2011 22:58, jessezbj wrote: > I tri

Re: AcetiveMQ AJAX in Grail Application

2011-08-17 Thread Dejan Bosanac
The best way to connect Grails apps with ActiveMQ is to use http://grails.org/plugin/activemq 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/ Bl

Re: where is my redelivered: header? ;)

2011-08-17 Thread Dejan Bosanac
There were no changes in Stomp part on how to deal with this header, so it must be something else changed to cause this. It would be the best if you could create a test case of what you expect so we can nail it down. There's no way to define redelivery policy using CONNECT header at the moment. An

Failed network bridge could not be re-established: "Cannot send, channel already failed"

2011-08-17 Thread Martin C.
Hi, we use a network-of-broker configuration with a central broker and a lot of hubs, all using ActiveMQ 5.5.0. Today, one of the bridges collapsed and could not be re-established. Below you see the log-file. You can see, that first a client connection failed with "Cannot send, channel has already

Re: Random hang waiting to consume a message

2011-08-17 Thread Frank Gynnild
Thanks a lot for your information, I really appreciate it. I'll start retesting using these configuration changes as it seems like NMS also supports these properties. I'll let you all know when the results are ready. Does anyone know of a exhaustive list of all configuration parameters that c

Re: How to connect ActiveMQ client to a Broker thru a firewall?

2011-08-17 Thread Aleksandar Ivanisevic
djfrisch writes: > Hi, > > I have an ActiveMQ 5.5.0 broker running on Windows 2008 with > transportConnector name="openwire" uri="tcp://host.domain:61616". I need to > publish messages to this broker from a standalone java client on the other > side of a firewall. Port 61616 for the broker host