Commit Graph

4445 Commits

Author SHA1 Message Date
Hiram R. Chirino c5cf03806d Refactored out the remaining plugins in the activemq-core module into their own modules.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406686 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 16:00:07 +00:00
Timothy A. Bish 4f0810acbf update: https://issues.apache.org/jira/browse/AMQ-4159
Don't wait forever for test to complete. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406661 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 14:57:02 +00:00
Hiram R. Chirino 58aca86981 Refactor all the core broker classes from the activemq-core module into the activemq-broker module.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406629 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 13:37:50 +00:00
Hiram R. Chirino 9a8f6e415d Refactored the classes needed to run an ActiveMQ JMS client out from the activemq-core module to the activemq-client module.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406466 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 05:00:17 +00:00
Hiram R. Chirino 803c42d4da Add missing lic headers for extracted interfaces.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406374 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 22:10:28 +00:00
Hiram R. Chirino 0484af1c61 Keep the broker.scheduler package free of kahadb impl specifics.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406371 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 22:05:06 +00:00
Hiram R. Chirino d5dd937b81 Extract out a PListStore interface so that the broker can be decoupled from the KahaDB store implementation.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406370 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 22:04:50 +00:00
Hiram R. Chirino 1aab71b2a7 Move the kahadb disk IO classes under org.apache.activemq.store.kahadb. Drop redundant util classes.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406369 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 22:04:26 +00:00
Hiram R. Chirino 715010a1ea Merged the kahadb module into activemq-core since it's the only known user of the module. Will allow us to eliminate dup util classes.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406368 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 22:03:14 +00:00
Timothy A. Bish 5c20b8ed72 fix for: https://issues.apache.org/jira/browse/AMQ-3016
Don't count-down the shutdown latch early. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406355 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 21:49:48 +00:00
Gary Tully 7410257c2f https://issues.apache.org/jira/browse/AMQ-4162 - visibility on destination query string options, destinationView.options - useful for user metadata about the destination
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406210 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 16:30:31 +00:00
Robert Davies 19622d36a6 Fix for https://issues.apache.org/jira/browse/AMQ-4161
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406186 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 15:37:50 +00:00
Timothy A. Bish 1942324dc3 Apply patch for: https://issues.apache.org/jira/browse/AMQ-4160
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1405934 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 20:21:51 +00:00
Timothy A. Bish 7f0fd0aa06 Apply patch for: https://issues.apache.org/jira/browse/AMQ-4159
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1405836 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 15:30:55 +00:00
Gary Tully c7d8715cd7 fix up regression from: https://issues.apache.org/jira/browse/AMQ-3746 - ensure broker is always non null for topicSubscription
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1405817 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 14:54:43 +00:00
Timothy A. Bish 32e009dd7b fix for: https://issues.apache.org/jira/browse/AMQ-4156
More defensive checks when queuing read and write checks to the static executor.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1405122 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 19:39:53 +00:00
Claus Ibsen b6347ee6d3 AMQ-4153: Fixed issue with ActiveMQWASInitialContextFactory
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404896 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 08:57:40 +00:00
Timothy A. Bish 5e03927da7 fix up test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404830 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 23:34:21 +00:00
Timothy A. Bish af4edb335a apply patch for: https://issues.apache.org/jira/browse/AMQ-3930
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404757 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 20:45:11 +00:00
Timothy A. Bish 566039fa5b fix and updated test for: https://issues.apache.org/jira/browse/AMQ-4149
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404732 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 19:44:37 +00:00
Timothy A. Bish 5207f02e6a fix brokerSerivce instances left running if assertions fail
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404354 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 21:13:45 +00:00
Timothy A. Bish 0ad3cfc11e fix brokerSerivce instances left running if assertions fail
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404348 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 21:06:15 +00:00
Gary Tully 13270e4e74 AMQ-4056 - ensure we do a close
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404271 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 17:50:03 +00:00
Bosanac Dejan 90beb3fb7d https://issues.apache.org/jira/browse/AMQ-4108 - master broker advisory - fix sub-test failures
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404196 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 15:20:55 +00:00
Christian Posta f7c799309d https://issues.apache.org/jira/browse/AMQ-4145 IntrospectionSupport does not convert from primitive to Wrapper classes appropriately
Added two tests to show the conversion was not happening properly, and added an identity converter to the TypeConversionSupport to do a pass-through conversion on types that are the same after a primitive to wrapper class conversion

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404165 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 14:23:45 +00:00
Timothy A. Bish cb3392c307 updated test case to check: https://issues.apache.org/jira/browse/AMQ-4149 could not reproduce issue.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404122 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 13:10:14 +00:00
Timothy A. Bish 6d08aca024 fix for: https://issues.apache.org/jira/browse/AMQ-4129 Adds support for the STOMP v1.2 spec changes.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403869 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 21:09:15 +00:00
Hiram R. Chirino 2f258702f1 Fixes AMQ-4146: String properties in JMS selector expression should not get auto converted to numbers per spec.
If you really want to auto convert string property values to numerics, prefix the selector with 'convert_string_expressions:'.  This change makes the last failing Joram test case pass.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403754 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:56:31 +00:00
Hiram R. Chirino b4a29250b4 Fixes AMQ-4144: When used in a message selector, the JMSDeliveryMode header field should be treated as having the values 'PERSISTENT' and 'NON_PERSISTENT'.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403751 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:56:05 +00:00
Timothy A. Bish 90eb05c0fb Add fix for: https://issues.apache.org/jira/browse/AMQ-4119
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403496 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 20:50:35 +00:00
Timothy A. Bish 8f19af70f4 apply patch for: https://issues.apache.org/jira/browse/AMQ-4142
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403466 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 19:21:20 +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 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
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
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
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