MySQL column MSG format

2014-04-16 Thread HubbaBubba
Hi all, I'm using activeMQ v5.6 and connecting a simple chat application using ws+stomp. Ideally I would like to input the chat messages into the connected MySQL database (table activemq.activemq_msgs) as an XML object, however, looking at the messages in the MySQL table, it seems this is not enti

Re: LeaseDatabaseLocker and parallel masters

2014-04-16 Thread Juan Nin
I'm about to start using the LeaseDatabaseLocker, but just for the active/passive piece. For the store itself I'm using a common NFS share with kahadb, since we've had issues with the NFS filesystem lock. Would like to also hear comments for the same but when using this approach for storage instea

Re: Embedded queue: how to share within 1 VM but 2 web apps?

2014-04-16 Thread kthotakura
Hi I was trying the same setup (1 tomcat 2 web apps) with embedded ActiveMQ. I got it working. Checkout my notes - kthotakura.blogspot.com Note: I am not doing any JMX monitoring yet. But otherwise, the two applications (producer and consumer) communicate successfully. -- View this message in

Encrypting the Web Console password

2014-04-16 Thread 1401989
Hi, I have to get rid of the clear text password in ActiveMQ server in the jetty-realm.properties file as part of the security requirements of our project. I followed the procedure for encrypting passwords found here: https://activemq.apache.org/encrypted-passwords.html but I can still only log in

Re: Behavior when a message expires while it is processing

2014-04-16 Thread Mike Chao
To get the JUnit test to pass, I created a BrokerFilter that will filter out duplicate messages based on the String property myMessageId. testJMSExpirationWithFilterPlugin.zip The behavior now is that o

Re: Behavior when a message expires while it is processing

2014-04-16 Thread Mike Chao
So I ran testJMSExpirationAsn1 and got the following NPE. java.lang.NullPointerException at com.test.TestJMSExpirationNoCamel$DLQEndQueueConsumer.run(TestJMSExpirationNoCamel.java:188) at java.lang.Thread.run(Thread.java:722) I changed consumer.receive(3000) to consumer.receive(9000

How to troubleshoot broker problems?

2014-04-16 Thread ryan segura
How do you troubleshoot broker problems? I am running into issues where users cannot connect to the broker anymore. But messages are still flowing (for some topics/queues). Jconsole does not help because in this scenario it has no mbeans or just partial mbeans of data. The broker is generall

LeaseDatabaseLocker and parallel masters

2014-04-16 Thread oliverd
when using JDBCPersistenceAdapter with LeaseDatabaseLocker the master node needs to extend the lease for the next interval in case, there is a long running GC (longer than the lease extend time) then the slave will take over and the old master will detect after the GC completes that it has to ste

ActiveMq 5.9.1 for Karaf

2014-04-16 Thread MillieretXavier
Hi All, When I use the new release 5.9.1 in karaf, and I try to install the activemq-web-console feature, I have the following error: Caused by: java.lang.ClassNotFoundException: javax.xml.stream.XMLStreamException not found by org.apache.activemq.activemq-web-console ... ... Thx for help Rega

Re: Activemq froze - and msgs dont get processed

2014-04-16 Thread Chirag Pujara
I checked logs. there are bunch of Info messages about conection taking too long to shutdown. 2014-04-15 10:51:00,668 | INFO | The connection to 'tcp:// 10.190.133.15:37168' is taking a long time to shutdown. | org.apache.activemq.broker.TransportConnection | ActiveMQ Transport: tcp:///10.190.133

Re: MDB declared destination in ejb-jar.xml

2014-04-16 Thread Gary Tully
They are physical names by default but there is a property, useJndi and it will try and resolve from there see an example at: https://github.com/gtully/activemq-arquillian/blob/master/javaee/mdb-tx-send/src/main/java/org/hornetq/javaee/example/server/MDBMessageSendTxExample.java#L41 On 16 April

MDB declared destination in ejb-jar.xml

2014-04-16 Thread Fernando Troya
Hi, in the documentation ( http://activemq.apache.org/inbound-communication.html and http://activemq.apache.org/activation-spec-properties.html) it states that the destinations declared in ejb-jar.xml are physical queue names and not JNDI names. Is it possible to use JNDI queue names in MDBs? Is t

Re: All 5.x versions of ActiveMQ dowload links

2014-04-16 Thread Dejan Bosanac
Hi, all old releases are available at http://archive.apache.org/dist/activemq/apache-activemq/ I just updated all download pages for old 5.x releases. Thanks for spotting this. Regards -- Dejan Bosanac -- Red Hat, Inc. FuseSource is now part of Red Hat dbosa...@redhat.com Twi

does apollo support message priority?

2014-04-16 Thread Li Li
I remeber activemq 5.9 support it.