Commit Graph

6899 Commits

Author SHA1 Message Date
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
Hiram R. Chirino 9a6a83fe0d Improved AMQP protocol support. All JORAM Selector tests are now working.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404158 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 14:17:32 +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 f6a5c7bd47 apply patch for: https://issues.apache.org/jira/browse/AMQ-4140
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404116 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 12:49:30 +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 822c4f37cb Protect against a possible NPE in the selector handling logic.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403753 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:56:20 +00:00
Hiram R. Chirino 3c9c147e76 Use the transformer default values for delivery mode, priority and ttl if not set on the amqp header.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403752 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:56:13 +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
Hiram R. Chirino 8835535a94 Adding browser support.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403690 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 13:31:15 +00:00
Hiram R. Chirino 3b0b1fa7da Temp queues verified to work now.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403689 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 13:31:04 +00:00
Claus Ibsen 4018202226 Upgraded to Camel 2.10.2
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403632 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 07:14:43 +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
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