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
Timothy A. Bish
d84fe0b0f5
additional fix for: https://issues.apache.org/jira/browse/AMQ-4098
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1396644 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 15:31:32 +00:00
Gary Tully
56a61c7c15
fix dry exclusion config, override default merge with append for the excludes so the are additive for the two profiles in use
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1396518 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 09:25:17 +00:00
Gary Tully
84ba54b24f
move fast, all and broken test exclusions to profiles so that exclusions are merged correctly. revert to surefire 2.10 pending fix for http://jira.codehaus.org/browse/SUREFIRE-913 . To run all tests use: -Dactivemq.tests=all
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1395978 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 11:49:17 +00:00
Gary Tully
486e6374f2
remove unnecessary cast that limits locker impls
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1395977 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 11:48:46 +00:00
Bosanac Dejan
cc95295139
https://issues.apache.org/jira/browse/AMQ-4100 - clean on websocket close
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1395976 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 11:40:39 +00:00
Claus Ibsen
07ade0db8f
AMQ-4098: Added missing binary files to the assembly. The files was needed for activemq-demo.xml etc.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1395931 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 09:23:00 +00:00
Claus Ibsen
67f887da88
AMQ-3116: Fixed web-console to show unicode chars when browsing message bodies.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1395295 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 13:10:54 +00:00
Claus Ibsen
c720601aaf
AMQ-3173: activemq-web can now show more JMS message types.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1395293 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 13:03:42 +00:00
Claus Ibsen
ddda4004b4
AMQ-1492: Allow to configure whether changing auto commit is allowed on JDBC persistence adapter. Some JDBC drivers dont allow changing that.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1395278 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 11:56:07 +00:00
Claus Ibsen
229c634a83
AMQ-1719: Avoid potential NPE in connection state tracker.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1395272 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 10:51:52 +00:00
Gary Tully
7db7ed130b
revert the change to defalut included for surefire, there are a bunch of non tests in there. *Test.* is needed
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1394734 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 19:05:28 +00:00
Gary Tully
b24dfb908b
https://issues.apache.org/jira/browse/AMQ-4094 - offline durable subs with selectors can lead to page leaks in the index and bloat of db.data in kahadb - fix up page caching on overflow and btree free on remove. test that validates the inuse page count for specific intervals
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1394733 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 19:04:59 +00:00
Gary Tully
a5eb7c6fa2
polish: some typos
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1394732 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 19:04:18 +00:00
Hiram R. Chirino
536e78208e
Only test using the SwitfMQ client libs if they are available in the users env.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1394682 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 17:40:15 +00:00
Hiram R. Chirino
6baed7a15a
Fixin deadlock in amqp impl. Improved message mapping support and commented out the failing Joram test cases.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1394677 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 17:35:07 +00:00
Hiram R. Chirino
f355b16d38
Lets validate the Qpid JMS client <- AMQP 1.0 -> ActiveMQ impl using the Joram compliance suite. (Still not working).
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1394300 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 22:25:15 +00:00
Hiram R. Chirino
88dfe0020b
Test against the qpid JMS client.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1394280 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 21:39:37 +00:00