Re: Working C example?

2010-05-31 Thread bcmoney
Hi Charles, Thanks for the info, yes I did check out the C-integration page it was where I first started. Do you have any info at all on building on Windows, or, would I be better off on Linux? Mostly I'm in need of some documentation on getting one of them running on either platform... I think

Browsing sent messages on a topic as RSS

2010-05-31 Thread nabblechuk
Hello there, I would appreciate any advice that you could give me as I am completely new to ActiveMQ and am not sure if it is the best service to use for what I am trying to do. A bit of background: -Want to use ActiveMQ in conunction with Kaazing for a website I am building. -Want to implement

Re: KahaDB failure with Active MQ 5.4 snapshot

2010-05-31 Thread Gary Tully
When you get that NPE, is it recoverable or do you have some data that can reproduce, I tried a bunch of variants of unit tests around that area of the code but could not reproduce. On 31 May 2010 10:27, Christian Grobmeier wrote: > Hello, > > we have upgraded from 5.3.x series to a snapshot ver

Re: Working C example?

2010-05-31 Thread cmoulliard
Hi, Have you checked this web page of ActiveMq wiki site http://activemq.apache.org/c-integration.html http://activemq.apache.org/openwire-c-client.html KR, Charles bcmoney wrote: > > Hi, looking in the http://activemq.apache.org/c-integration.html C > cross-client implementations > ht

Re: Transport protocol "jms-tcp" - how to use?

2010-05-31 Thread cmoulliard
Hi Matthes, There is no jms protocol. JMS is a specification allowing to produce/consume messages from a broker. ActiveMQ provides different protocol to communicate to the broker. If your application runs inside the same virtual machine that ActiveMq, you can use vm:// protocol otherwise tcp://.

Re: KahaDB failure with Active MQ 5.4 snapshot

2010-05-31 Thread cmoulliard
Hi Christian, I'm not quite sure that this is an excellent idea to switch from 5.3 to 5.4-SNAPSHOT on a "production" environment. It should be a better idea to have a network of brokers with br1 = activeMq 5.3 and br2 = activemq 5.4. Using a network of broker between br1 to br2, you will recreate

Re: How can avoid that the broker master loadbalance messages equitably between two brokers ?

2010-05-31 Thread cmoulliard
Thanks for the trick/tips. I will try but my previous remark is always the same. The system is static and need an intervention to change priority when a slow consumer is detected. Kind regards, Charles Joe Fernandez wrote: > > Try using consumer prioritization. > > http://activemq.apache.o

Re: KahaDBPersistenceAdapter (Master) - memoryPersistenceAdapter (Slave)

2010-05-31 Thread cmoulliard
Forget my question, there was an error in my config. cmoulliard wrote: > > Hi, > > I have created a bridge between two brokers (called master and slave) > where persistence is disabled but I see that : > > KahaDBPersistenceAdapter is created by default on the master and > memoryPersistenceAd

Re: Spring && DefaultMessageListenerContainer && JmsTemplate && maxMessagesPerTask == 1 && Network of Brokers && maxConcurrentConsumer > 1 == Crumple

2010-05-31 Thread Gary Tully
Test case is great, thanks, I have opened https://issues.apache.org/activemq/browse/AMQ-2754 to track this, just validating the fix at the moment. On 8 May 2010 07:43, Jamie McCrindle wrote: > Thanks Bruce, > > It's just the 2 brokers at the moment and prefetchSize is set to 1. It > looks like a

Re: Failover Question

2010-05-31 Thread Gary Tully
odd, yea, you would expect to stop in org.apache.activemq.broker.TransportConnection.TransportConnection(...).new DefaultTransportListener() {...}.onException(IOException) does the connection still appear active with netstat or does the consumer still appear in the console? On 31 May 2010 10:14,

ActiveMQ stops processing messages

2010-05-31 Thread Spooky13
Hi, my ActiveMQ 5.3.2 installation stops processing messages completely after a while. If I stop and restart I get the following exception and the messages stored in the queue are processed again: 11:06:22 WARN JDBC Failure: Invalid character string format for type BIGINT. java.sql.SQLException

KahaDB failure with Active MQ 5.4 snapshot

2010-05-31 Thread Christian Grobmeier
Hello, we have upgraded from 5.3.x series to a snapshot version because we got several KahaDB errors. It was fine for a long time but then we suddenly had an KahaDB error again. Any idea where is this coming from? I assume its again something on creating index or such. Thanks for any tips, Christ

AW: Failover Question

2010-05-31 Thread daniel.stucky
Hi, I changed the implementation from receiveNoWait() to receive(1) but it did not change anything in the behavior. After the client crashes I can still see the delivered message in the Queue (using browse) but no receive() call can get this message again, it seems to be stuck in the queu

Re: Dead letter queue not being created

2010-05-31 Thread Gary Tully
the expected behavior is that persistent messages should persist in the DLQ. Can you verify with a 5.4-SNAPSHOT and open a jira issue. A little test case would help. On 29 May 2010 00:38, KRISHNAS wrote: > > Gary > > We have this issue with persistent messages. > > We are using ActiveMQ 5.3.2.