Commit Graph

6385 Commits

Author SHA1 Message Date
Hiram R. Chirino 7806807db1 Fixes problem /w amqp impl of message acks.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403459 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 18:41:44 +00:00
Timothy A. Bish afe73c1861 fix and tests for: https://issues.apache.org/jira/browse/AMQ-3746
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403073 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 18:58:06 +00:00
Timothy A. Bish f0b3f1c6e0 Polish up some old code.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1402661 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 21:04:15 +00:00
Hiram R. Chirino cfe5e98da3 Implementing AMQ-4137 : Create a store import/export command line tool to covert between store types
Usage is a simple as "bin/activemq export --file=archive.tgz".  All data is stored in the tgz in the format defined by the Apollo store export/import utilities.  Only export implemented at this time.  I have verified that Apollo can import queues exported from ActiveMQ.  Durable subs probably need a little more work.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1402652 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 20:28:49 +00:00
Hiram R. Chirino 4a294080e3 Support disabling the broker auto startup XBean behavior.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1402651 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 20:28:38 +00:00
Hiram R. Chirino dc4ceb47e8 PLAIN Sasl is now working.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1402532 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 14:39:46 +00:00
Timothy A. Bish e6285b7426 fix for: https://issues.apache.org/jira/browse/AMQ-4133
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1402354 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 23:16:57 +00:00
Timothy A. Bish 838206ff92 fix for: https://issues.apache.org/jira/browse/AMQ-4132
Allow the transport to reassemble OpenWire commands from multiple chunks of varying size which can occur depending on the cipher suite.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1402317 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 20:14:33 +00:00
Robert Davies 556ee7b48e Fixed a spelling in an error message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1402189 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 15:28:44 +00:00
Bosanac Dejan b8a6e5a6ca amqp - support configurable transformers and populate message properties for the default native one
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1402148 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 13:36:09 +00:00
Hiram R. Chirino f81b52e28a Updating readme since missing XA support is no longer missing.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401957 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 02:50:07 +00:00
Hiram R. Chirino 1978ac4573 Implementing AMQ-4134: Add XA support to the LevelDB store.
All XA tests are now working.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401956 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 02:48:50 +00:00
Hiram R. Chirino 111635ea1c Implementing AMQ-4134: Add XA support to the LevelDB store.
More test cases are now working.  Only the durable sub XA cases are broken at this point.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401911 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 23:08:37 +00:00
Hiram R. Chirino ebd3d34e09 Implementing AMQ-4134: Add XA support to the LevelDB store.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401881 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 21:09:16 +00:00
Gary Tully ba5fdc5915 test case for https://issues.apache.org/jira/browse/AMQ-4122 - that does not show a problem atm
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401849 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 19:59:43 +00:00
Bosanac Dejan 2a0a0b66f6 initial amqp selector support
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401674 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 13:32:32 +00:00
Timothy A. Bish d3571a6154 update for: https://issues.apache.org/jira/browse/AMQ-4123
make the test use the Wait condition instead of hard sleeps

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401666 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 13:13:57 +00:00
Gary Tully 6b44c3c9d1 disable jmx b/c we can't ensure the rmi server port is available - see http://svn.apache.org/viewvc?view=revision&revision=1382852 which removed the socket factory that set setReuseAddress - https://issues.apache.org/jira/browse/AMQ-4033
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401661 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 13:01:35 +00:00
Timothy A. Bish f8f24e8307 fix for: https://issues.apache.org/jira/browse/AMQ-4126
Also relates to: https://issues.apache.org/jira/browse/AMQ-3996

Test case added

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401511 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 23:06:50 +00:00
Christian Posta d212d3c02a AMQ-4123 Improve MQTT Inactivity Monitoring
* Fixed broken MQTTTests
* Added more tests around Inactivity Monitoring / MQTT keep alive
* Removed the KeepAliveInfo check from the MQTTInactivityMonitor, clarified the PINGREQ/RESP frames in the inactivity check
* Implemented a grace period for the keep alive on the server side per MQTT spec
* Fixed clientId assignment
* Added "default" keep alive for server-side control of lingering MQTT connections

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401509 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 22:52:06 +00:00
Timothy A. Bish 692411e989 Fix some spelling errors in the API docs.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401445 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 20:26:25 +00:00
Timothy A. Bish 7a2293d743 fix and test for: https://issues.apache.org/jira/browse/AMQ-4106
NIO based transports weren't updating the receive counter in the TcpTransport which can lead to the inactivity monitor mistakenly shutting down the connection.  

Forgot one. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401397 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 19:15:34 +00:00
Timothy A. Bish 78265ea211 fix and test for: https://issues.apache.org/jira/browse/AMQ-4106
NIO based transports weren't updating the receive counter in the TcpTransport which can lead to the inactivity monitor mistakenly shutting down the connection.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401394 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 19:13:19 +00:00
Timothy A. Bish 79127ae440 Add a method for manually send a keep alive value to the broker.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401300 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 14:14:39 +00:00
Bosanac Dejan 7cb7d188f9 https://issues.apache.org/jira/browse/AMQ-3485 - make sure prefetch size of zero is a workaround
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401261 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 12:16:47 +00:00
Christian Posta 8a5f160fd2 Tests for https://issues.apache.org/jira/browse/AMQ-4123
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401102 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 22:01:08 +00:00
Gary Tully f6970c76ae polish test shutdown, jdk7 ci builds show regular failure here with jmx reuse
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1400839 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 11:24:23 +00:00
Gary Tully f129a0be89 https://issues.apache.org/jira/browse/AMQ-4118 - polish test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1400319 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 22:30:27 +00:00
Gary Tully 4cf6151a8c https://issues.apache.org/jira/browse/AMQ-4118 - resolve with test. keep cache uptodate when overflow chain is released so new end page is visible as terminus
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1400317 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 22:19:38 +00:00
Timothy A. Bish 2ad13d682a fix for: https://issues.apache.org/jira/browse/AMQ-4117
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1400304 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 21:41:39 +00:00
Gary Tully 652b47f943 add little performance test for split values in the list index, disabled atm
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1400242 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 19:31:36 +00:00
Timothy A. Bish 0fffe21720 fix for: https://issues.apache.org/jira/browse/AMQ-3996
Updates TransportServer API so that JaasDualAuthenticationBroker can tell when its dealing with a TransportServer that will provide SSL connections and it can validate client certificate chains from ConnectionInfo.  Also updated the properties files to reflect the newly generated certificates. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1400155 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 16:21:53 +00:00
Hiram R. Chirino 2db73e2b7e More AMQP impl changes. More tests pass, initial cut of transaction support is in.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1400116 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 14:28:02 +00:00
Bosanac Dejan 5d9695c5ef https://issues.apache.org/jira/browse/AMQ-4098 - additional fix; incluse wrapper.jar in unix distro as well
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1400039 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 10:56:07 +00:00
Bosanac Dejan 51eb87a84b https://issues.apache.org/jira/browse/AMQ-4115 - xss in web demos
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1399577 13f79535-47bb-0310-9956-ffa450edef68
2012-10-18 10:57:52 +00:00
Timothy A. Bish 65af81e09e fix for: https://issues.apache.org/jira/browse/AMQ-3996
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1399438 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 21:17:45 +00:00
Bosanac Dejan b5e46ef9c5 https://issues.apache.org/jira/browse/AMQ-4108 - master broker advisory topic needs to be retroactive
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1399302 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 15:16:01 +00:00
Gary Tully be8e58be14 https://issues.apache.org/jira/browse/AMQ-4094 - ensure list is split down to single entry before page over flow for a value, ensures the smallest marshall size for a page
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1399300 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 15:11:30 +00:00
Timothy A. Bish a49e75ada0 Update the test keystore files as all the certificates are expired.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1399294 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 15:04:17 +00:00
Claus Ibsen 5b63698924 AMQ-4112: Upgraded to MQTT 1.4 and polished tests.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1399151 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 08:35:00 +00:00
Timothy A. Bish 021e35ad3c Update the test keystore files as all the certificates are expired.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1398966 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 20:05:01 +00:00
Timothy A. Bish e9bf83fc92 Fix for: https://issues.apache.org/jira/browse/AMQ-4104
Add the unit test for this

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1398838 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 15:11:25 +00:00
Timothy A. Bish 46824cedc7 Fix for: https://issues.apache.org/jira/browse/AMQ-4104
Let the protocol converter handle setting the version after it forwards the CONNECTED frame. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1398833 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 14:59:37 +00:00
Gary Tully 47ee52e5d3 https://issues.apache.org/jira/browse/AMQ-4094 - revert inadvertent mod/regression to BTreeNode, multiple iterations of the test verify it is unnecessary and seems to be the root cause of some instability
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1398770 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 12:54:09 +00:00
Bosanac Dejan 76153ff245 https://issues.apache.org/jira/browse/AMQ-4110 - web console sending messages to the secured broker - use default credentials defined in factory if not explicitly set
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1398731 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 11:03:04 +00:00
Claus Ibsen 9e94ee40a2 AMQ-3723: Upgraded to xbean 3.12
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1398643 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 04:53:46 +00:00
Timothy A. Bish f1c4a32017 Remove the System.out lines from the test, use LOG instead.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1398419 13f79535-47bb-0310-9956-ffa450edef68
2012-10-15 17:46:54 +00:00
Gary Tully 0a5ce71f6f https://issues.apache.org/jira/browse/AMQ-4103 - LeaseDatabaseLocker can not be changed from 5 sec poll - fix with test, default value now 10s to be consistent with other lockers and is also configurable. regression from https://issues.apache.org/jira/browse/AMQ-4005
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1398238 13f79535-47bb-0310-9956-ffa450edef68
2012-10-15 10:38:59 +00:00
Timothy A. Bish 8af1df7aea fix for: https://issues.apache.org/jira/browse/AMQ-4095
Add check null on engine. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1396975 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 10:22:46 +00:00
Timothy A. Bish 72eb191b74 fix for: https://issues.apache.org/jira/browse/AMQ-4095
Need to wrap the next batch of data once the initial wrapped packet buffer is exhausted. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1396846 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 22:55:21 +00:00