Commit Graph

7525 Commits

Author SHA1 Message Date
Hiram Chirino 42e1c463d4 Replicated leveldb slaves index snapshots were being labeled with higher journal positions than what they really contained. 2013-11-08 10:34:21 -05:00
Kevin Earls 0d38840051 Commented out UnifiedSessionTest because of CI hangs, see AMQ-4375 2013-11-07 14:53:27 +01:00
Kevin Earls 982b728f24 Increased timeout to fix AMQ-4854 2013-11-07 13:48:21 +01:00
gtully 50ec158e25 https://issues.apache.org/jira/browse/AMQ-4852 - ensure clientId view connector mbean visible for duplex network connectors 2013-11-07 11:35:39 +00:00
Timothy Bish ec5b15cc27 update ignore settings 2013-11-06 11:19:32 -05:00
gtully 002ef96867 replace fabric deps with linkedin zk to reflect revised deps from leveldb replication 2013-11-06 12:08:22 +00:00
gtully 67a7d30b47 https://issues.apache.org/jira/browse/AMQ-4849 - runtime modifications to simpleAuthenticationPlugin plugin implemented with test 2013-11-05 20:38:23 +00:00
Hiram Chirino 4367ec1b82 If a replicated leveldb slave's connection gets slow, lets merge together journal write events to avoid them queuing up on the master side. 2013-11-05 11:53:37 -05:00
Timothy Bish d872994260 polish 2013-11-04 16:51:09 -05:00
Timothy Bish 4e3595d488 move to shade 2.1 plugin version to fix some random failing builds. 2013-11-04 14:58:19 -05:00
Hiram Chirino a907fc9e94 leveldb store: Add more log traces for when we need to get more details on what's going on. 2013-11-04 09:26:01 -05:00
Hiram Chirino b1d8cbe4cd Fixes for leveldb replication: make sure we only apply index updates when we encounter a UOW_END_RECORD so that we don't end up with an inconsistent index if a partial UOW is replicated. 2013-11-04 09:26:01 -05:00
Hiram Chirino dea38e62f8 leveldb replication: Lets always download the current append log just to be safe 2013-11-04 09:26:01 -05:00
Hiram Chirino 2824a94af4 Continue to append to the last leveldb log file on a store restart. 2013-11-04 09:26:01 -05:00
Dejan Bosanac 85fc686006 https://issues.apache.org/jira/browse/AMQ-4844 - introduce activemq core karaf features 2013-11-04 15:08:17 +01:00
gtully 4109b79059 https://issues.apache.org/jira/browse/AMQ-4843 - implement and test for composite virtual destinations - forwardTo 2013-11-04 13:55:21 +00:00
Claus Ibsen 4ddbb8546d AMQ-2960: Fixed potential NPE in pooled connection factory in activemq-spring when using spring-dm in OSGi. As spring-dm may call getObject before postCostruct has been called. 2013-11-03 13:40:38 +01:00
Claus Ibsen d0f48b3ee5 AMQ-1063: Fixed journaled JDBC checkpoint which would mark inTx eager, which was wrong, as getting the JDBC connection may fail. So the mark inTx should only happen if getting the connection was succesful. 2013-11-03 11:54:14 +01:00
Claus Ibsen af1edf4588 Polished 2013-11-03 11:52:44 +01:00
Claus Ibsen 06356db1c4 AMQ-4826: Failover transport - avoid floating-point issue on other JDKs. 2013-11-03 11:00:03 +01:00
Claus Ibsen a6c14b4181 AMQ-2536: Default xpath selector using xalan now uses pre compiled expressions which is faster. Also avoids previous issues with swalling exceptions if xalan is not in the classpath. 2013-11-03 09:24:34 +01:00
Claus Ibsen 5907459fc3 AMQ-3350: Fixed chat web demo which may swallow first message. Thanks to Ken Seiss for the patch. 2013-11-03 08:53:36 +01:00
Claus Ibsen 48d615d311 AMQ-4325: Fixed ActiveMQ Camel component to support username/password being configured when using ActiveMQ factory method. Also fixes the factory method would eager create plain connection factory, instead of using createConnectionFactory method as otherwise, which is optimized for AMQ. 2013-11-02 20:17:28 +01:00
Claus Ibsen 1ad6bd59ee Removed non existing AMQ journal Camel component which was removed a long time ago. 2013-11-02 19:34:18 +01:00
Claus Ibsen 65be281c16 Removed not use class, which neither has ever been documentated, or used by end users. Also they can implement their own spring JMS message converter if they want. 2013-11-02 19:32:44 +01:00
Claus Ibsen 5469d806e8 Polished camel broker component 2013-11-02 19:27:00 +01:00
Claus Ibsen 6e49ef3a60 AMQ-4746: Fixed ClassLoadingAwareObjectInputStream to load simple types first, using same logic as in Camel. This helps with AMQ clients in other runtimes such as Applet based or whatnot. 2013-11-02 15:24:01 +01:00
Claus Ibsen 20747eedca AMQ-4685: Improved LDAPLoginModule to support ldap alias when result is absolute. Thanks to Igor Podolskiy for patch. 2013-11-02 14:51:09 +01:00
Claus Ibsen 70e2b998d2 AMQ-4668: REST API only accepts non-form content if content type of text/xml 2013-11-02 11:44:44 +01:00
Hiram Chirino 190da29691 Fix for: https://issues.apache.org/jira/browse/AMQ-4837 : LevelDB corrupted in AMQ cluster.
- The tracked flushed offset was not getting initialized to match the initial size of the log file.  This invalid flushed offset was being used to do the initial sync /w the slave and then things went downhill.
2013-11-01 12:13:33 -04:00
Claus Ibsen ec4c2d9464 Upgraded hawtio 2013-11-01 15:42:15 +01:00
Dejan Bosanac 5dacae368b https://issues.apache.org/jira/browse/AMQ-3725 - close delegated file only if not null 2013-11-01 14:03:20 +01:00
Claus Ibsen 8a8fcb6ef4 AMQ-4841: Fixed JDBC leased locker to allow being configured in any order in the XML file, being able to use the defined statemnts. Otherwise you would have had to define the locker last in the XML file. Thanks to Pat Fox for the test case. 2013-11-01 12:46:36 +01:00
gtully 855419359c https://issues.apache.org/jira/browse/AMQ-4832 - apply patch from Matthew Walker with thanks 2013-10-31 21:16:17 +00:00
Dejan Bosanac 582af3e74a https://issues.apache.org/jira/browse/AMQ-3725 - allow kahadb to recover from failed file system 2013-10-31 17:58:52 +01:00
Hiram Chirino 24d5490e57 Fix for: https://issues.apache.org/jira/browse/AMQ-4837 : LevelDB corrupted in AMQ cluster.
- Log rotation was causing a pre-mature index snapshot to be taken on the slave (snapshot while the slave was still synchronizing).
- Also fix issue with the append position displayed in JMX for the master not being correct.
2013-10-31 12:52:50 -04:00
Claus Ibsen 7dfb0a2a3c AMQ-4433: Validate socket.xxx transport connector options, to detect invalud/unused options and fail. Thanks to Christoffer Sawicki for the patch. 2013-10-31 12:13:40 +01:00
Hiram Chirino 3ed52ef8a2 Working on a test case for https://issues.apache.org/jira/browse/AMQ-4837 : LevelDB corrupted in AMQ cluster. 2013-10-30 15:44:06 -04:00
Hiram Chirino 17415ceecd Only register the leveldb store MBeans in JMX if jmx is enabled on the broker. 2013-10-30 15:34:29 -04:00
Hiram Chirino 2a59294909 Makes it easier to launch activemq from an IDE in debug mode. 2013-10-30 13:56:22 -04:00
Hiram Chirino f7311567a0 Fixes https://issues.apache.org/jira/browse/AMQ-4840 - Invalid STOMP frame sent on websocket connections with heartbeats. 2013-10-30 13:55:55 -04:00
Hiram Chirino 22dc6d444a https://issues.apache.org/jira/browse/AMQ-4471 - Fixing bug where stomp ws example allows remote JS execution. 2013-10-30 13:19:26 -04:00
Hiram Chirino aaa1a74dfb Add a toString() method to the replicated leveldb store so that it displays a nicer message when the broker starts it up. 2013-10-30 12:22:28 -04:00
gtully 928068dfd4 remove unneeded deps that pull in older amq versions 2013-10-30 16:21:12 +00:00
Claus Ibsen 1dbb06f530 Upgrade hawtio 2013-10-29 08:23:45 +01:00
Claus Ibsen dc290ecb45 AMQ-4829: Fixed activemq:dstat command and also sort the listing A..Z by default. 2013-10-28 17:02:17 +01:00
gtully da45d994ac https://issues.apache.org/jira/browse/AMQ-4821 - refix; we now use any referenced factorybean for default properties 2013-10-24 22:09:16 +01:00
Christian Posta c2eb4863a8 Fix for https://issues.apache.org/jira/browse/AMQ-4823 NetworkConnector not registered in JMX when created from Broker View + unit tests 2013-10-24 10:36:00 -07:00
Timothy Bish ec97d0aad0 fix for: https://issues.apache.org/jira/browse/AMQ-4822 2013-10-24 10:41:05 -04:00
gtully 043a4ad4ff https://issues.apache.org/jira/browse/AMQ-4820 - find elements by ns and local name to deal with namespace prefix. Ensure we trap all errors on plugin start so we don't cause a failed broker start, and trap no broker element with a better error 2013-10-24 13:00:04 +01:00