ActiveMQ Object Message to json transformation not working

2016-03-15 Thread xabhi
Hi, I am having trouble sending a custom Object Message to a STOMP consumer with ActiveMQ v5.11.1 In Jconsole, I can see messages being dequeued by STOMP consumer but the subscription callback is never called. However note that if I send a simple string as object message it gets processed by STO

Re: Multiple virtual topics and messages routing to consumers

2016-03-15 Thread Nuno Oliveira
Thank you for the feedback. I have created a simple test case for this based on one of the ActiveMQ basic examples (attached to this mail - App.java). I create two producers, one that will send messages to virtual topic VirtualTopic.> and another one that will send messages to virtual topic V

Re: Multiple virtual topics and messages routing to consumers

2016-03-15 Thread Quinn Stevenson
Is there a specific reason the default configuration won’t work for you? (Either don’t set anything, or explicitly set the default of I tried a simple sample using the defaults, and it seems to accomplish what you’re after. > On Mar 14, 2016, at 11:05 AM, Nuno Oliveira > wrote: > > prefix

Re: Leveldb not recovering from failover

2016-03-15 Thread mtod
I think I found the issue it was a typo in the activemq.xml leveldb config. I setup a new test I'll report back. Thanks Mike -- View this message in context: http://activemq.2283324.n4.nabble.com/Leveldb-not-recovering-from-failover-tp4709307p4709317.html Sent from the ActiveMQ - User mailin

Re: Message not redirected to DLQ when exception thrown by MDB

2016-03-15 Thread artnaseef
OK, since this works in one container (WebLogic) and not another (WildFly) - my suspicion is with the container handling of the exception. Turning up the logging on org.apache.activemq.ActiveMQSession to DEBUG on the JMS client should cause the following to get logged: * ... Transaction Commit :.

Leveldb not recovering from failover

2016-03-15 Thread mtod
I have a 3 node cluster on Redhat servers running ActiveMQ version 5.13.2 and Zookeeper 3.4.8 The system runs without error for days then when I fail it over it will sometimes will not recover see log segment below. The strange thing is I’m getting a Connection refused even from the master connect

Re: Message not redirected to DLQ when exception thrown by MDB

2016-03-15 Thread THMayr
To answer this question you may read chapter "13.6.1 Bean-Managed Transaction Demarcation" of the specification "Enterprise JavaBeans 3.1, Final Release, November 5, 2009". Message driven beans with bean-managed transaction demarcation are not called with an active transaction. The MDB may use the

Re: ActiveMQ password encryption Error

2016-03-15 Thread Ihjaz
Hi, Generate the other passwords in credentials-enc.properties like 'activemq.password' and 'guest password' using the new key and then it will work. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-password-encryption-Error-tp4702761p4709296.html Sent from the A

Re: Message content returns null occasionally from Virtual Topic to the consumer

2016-03-15 Thread Rohit Sonawat
I have also tested in 5.13.2 and issue is still exists. I have a windows 64 bit environment in which i was also not able to replicate it but it is replicable in other system that we have, both 32 and 64 bit windows. Number of messages in which it will replicate is not consistent but it will eventua

Re: Message content returns null occasionally from Virtual Topic to the consumer

2016-03-15 Thread Christopher Shannon
I have run this test a few times and it I never get a null message, which could just be because there is a race condition that isn't happening for me. Can you test with a later version such as 5.13.2 to see if it still happens for you? On Tue, Mar 15, 2016 at 7:07 AM, Rohit Sonawat wrote: > Yes

Re: Failover very slow with kahadb while restart of master is fast

2016-03-15 Thread Christian Schneider
I now took thread dumps of activemq while it was taking so long to start up. This is where it seemed to spend most of the time: http://apaste.info/H1c So it looks like it is reading the kahadb journals. Does anyone have an idea why it seems to matter if the master restarts (fast) or the dlave

Re: Message content returns null occasionally from Virtual Topic to the consumer

2016-03-15 Thread Rohit Sonawat
Yes I am using default broker configuration -- View this message in context: http://activemq.2283324.n4.nabble.com/Message-content-returns-null-occasionally-from-Virtual-Topic-to-the-consumer-tp4709151p4709292.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Message content returns null occasionally from Virtual Topic to the consumer

2016-03-15 Thread Christopher Shannon
Are you using a default broker configuration for your test (broker.xml)? If not, can you post your configuration? On Tue, Mar 15, 2016 at 2:18 AM, Rohit Sonawat wrote: > Waiting for a reply and i am going to raise a bug in Active MQ 5.12.2. > My test results show evidence that there is a promine