Commit Graph

6469 Commits

Author SHA1 Message Date
Clebert Suconic da74f2ac50 This closes #118 test fix 2015-08-11 15:50:14 -04:00
jbertram f6061d0d53 Fix ReplicatedMultipleServerFailoverExtraBackupsTest 2015-08-11 14:06:58 -05:00
Clebert Suconic 53fe8ec9f7 This closes #116 openwire fixes 2015-08-11 11:23:08 -04:00
Howard Gao bb1e03c079 Openwire test fix:
Fixed issues with TcpTransportBrokerTest
  removed one irrelevant test
  Not all tests in it are passing however that'll
  fix 125 of total 128 tests.
2015-08-11 11:23:08 -04:00
Clebert Suconic 126be4ce24 This closes #117 ARTEMIS-179 on reconnection issues
Each commit part of this merge was left here distinct so there would be a record of why each specific change was made since they had potentially far-reaching consequences.
2015-08-11 11:21:56 -04:00
jbertram 38188cdf2e ARTEMIS-179 fix BindingsClusterTest 2015-08-10 16:19:01 -05:00
jbertram 3bb88c60ca ARTEMIS-179 fix scale-down 2015-08-10 10:23:30 -05:00
jbertram 682cad63f3 ARTEMIS-179 Do not reconnect bridge on DISCONNECT
Note: this breaks scale-down because the bindings are removed.
2015-08-10 10:22:21 -05:00
jbertram f3be78a096 ARTEMIS-179 Expose disconnect/reconnect problem
Currently a cluster bridge will continue to attempt to reconnect to
a node that sends it a DISCONNECT until its reconnect-attempts is
exhausted. A DISCONNECT message indicates that the node is not coming
back so no reconnect attempt should be made and the bridge should be
stopped, the bindings should be cleaned up, etc.

The change to this test exposes this problem.
2015-08-10 10:20:01 -05:00
Clebert Suconic 69bacc8393 This closes #115 checkstyle changes 2015-08-10 11:11:52 -04:00
Clebert Suconic 5ac2c2444b manual checkstyle changes 2015-08-10 10:08:23 -04:00
Clebert Suconic bac96047f5 automatic checkstyle change
this is just calling Idea format on all the files using the new style
I am separating manual changes from automatic changes in case I have to repeat the manual changes again
2015-08-10 09:26:42 -04:00
Clebert Suconic 455962a2aa idea style update 2015-08-10 09:20:56 -04:00
Clebert Suconic 7fb5d921e3 Changing checkstyle configuration to the new style 2015-08-10 09:16:53 -04:00
Clebert Suconic feac2ad415 This closes #114 openwire test fixes 2015-08-10 09:14:44 -04:00
Howard Gao 125bfd34e7 Fix openwire IsStillMarshallsTheSameTest
Added missing resource files.
2015-08-10 09:14:44 -04:00
Howard Gao 85989fb509 Fix openwire test: ExpiryHogTest
Removed code irrelevant to Artemis broker
2015-08-10 09:14:44 -04:00
Clebert Suconic 2cc4d399b2 This closes #112 openwire fix 2015-08-10 09:12:27 -04:00
Howard Gao 5230237a7c Fix openwire tests - ProducerFlowControlSendFailTest 2015-08-10 09:12:27 -04:00
Clebert Suconic 4ed21a44c5 This closes #113 removing example profile 2015-08-07 15:30:55 -04:00
Clebert Suconic dd8203185b ARTEMIS-180 removing -Pexample and some other improvements around the examples 2015-08-07 15:17:28 -04:00
Clebert Suconic 138bfe9682 Removing 'created by' comments 2015-08-07 15:17:24 -04:00
Clebert Suconic d4de65041b This closes #111 openwire refactoring 2015-08-06 10:17:10 -04:00
Andy Taylor 81756739bb ARTEMIS-186, ARTEMIS-188 and some refactoring
refactoring and simplifying some of the connection state code and removing stuff we dont need. Also removed some of maps used and removed the need for lots of lookups

https://issues.apache.org/jira/browse/ARTEMIS-186

Added message pull support for zero prefetch consumers

https://issues.apache.org/jira/browse/ARTEMIS-188

Added consumer flow control
2015-08-06 09:49:46 +01:00
Clebert Suconic 5c7720dba3 This closes #109 openWire fixes 2015-08-05 09:32:37 -04:00
Clebert Suconic 2ad821a0ca small improvement on org.apache.activemq.JmsQueueCompositeSendReceiveTest 2015-08-05 09:32:09 -04:00
Clebert Suconic ee84d7efdf new method to create ServerLocator 2015-08-05 09:24:22 -04:00
Howard Gao 896813fc1c Fix org.apache.activemq.JmsQueueCompositeSendReceiveTest#testDuplicate
This test uses activemq5 native API to examine queue message count
    The fix uses core's QueueQuery API to do the job instead.
2015-08-05 09:24:22 -04:00
Clebert Suconic 72b7f82712 This closes #110 TTL warning 2015-08-05 08:59:41 -04:00
Ryan Emerson 699a7ca7ef [ARTEMIS-147] Add WARN log when setting connection-ttl OR connection-ttl-override equal to check-period.
Now works when ARTEMIS is deployed in an application server as well as standalone.
2015-08-05 08:59:40 -04:00
Clebert Suconic 38fb9300c7 renaming sync parameter to auto tune journal on the CLI 2015-08-04 15:22:47 -04:00
Clebert Suconic bff0886b0c This closes #106 fixes 2015-08-04 11:45:38 -04:00
Clebert Suconic 517e076620 fixing tests
The refactoring on native left a few name changes and a small twek that I needed to make on buffers
2015-08-03 23:39:35 -04:00
Clebert Suconic 7cfc33790d ARTEMIS-162 Fix non serializable JGroups on Configuration clone used on Colocated support
https://issues.apache.org/jira/browse/ARTEMIS-162
2015-08-03 23:39:35 -04:00
Clebert Suconic 39b9fd1ce7 fixing idea-style damaged from renaming 2015-08-03 11:54:38 -04:00
Clebert Suconic 4b77633af7 This closes #105 test fix on openwire 2015-08-03 08:56:27 -04:00
Howard Gao 65e9ec01b8 Fix openwire unit tests
Fix JmsRedeliveredTest and add processing of RemoveSubscriptionInfo command
2015-08-03 08:56:27 -04:00
Clebert Suconic d9ba65c01c This closes #103 fixes 2015-08-03 08:24:28 -04:00
jbertram df075c423f Fix failing colocated examples 2015-08-03 08:24:28 -04:00
jbertram fe95e34390 Ensure MQTT tests clean up SSL properties 2015-08-03 08:24:28 -04:00
jbertram fc14e31aa7 ARTEMIS-179 excessive cluster bridge retry logging
The information about the bridge connection retries is already logged
at DEBUG level elsewhere and a WARN message is already logged when the
connection dies in the first place. I don't see any good reason to
keep this logging here.
2015-08-03 08:24:28 -04:00
jbertram ecc2cecf87 Fix NPE in management test 2015-08-03 08:24:28 -04:00
Clebert Suconic 5e2a405555 This closes #104 openwire testsuite fix 2015-08-03 08:23:25 -04:00
Andy Taylor 38147ddbe7 added check to stop broker 2015-08-03 08:53:39 +01:00
Andy Taylor 9e761ad8e2 merging #101 - Fix compilation error 2015-07-30 13:08:54 +01:00
Howard Gao 447f33d19f Fix compilation error 2015-07-30 19:57:40 +08:00
Andy Taylor 200fd5c1b9 merging #100 - Include just a few packages in activemq5-unit-tests to start with 2015-07-30 12:33:01 +01:00
Howard Gao 2866ecd4c2 Include just a few packages in activemq5-unit-tests to start with 2015-07-30 18:40:18 +08:00
Andy Taylor 8182f8bd2d merging #98 - ARTEMIS-163 Simplification of the native layer 2015-07-30 10:07:18 +01:00
Clebert Suconic 6fe9e0ebd6 ARTEMIS-163 First pass on the native AIO refactoring
https://issues.apache.org/jira/browse/ARTEMIS-163

On this pass I'm just converting the native layer to a simpler one.
It wasn't very easy to change the alignment at the current framework,
so I did some refactoring simplifying the native layer

The volume of the nubmer of changes here is because:

- The API is changed, we now don't close the libaio queue between files
- The native layer won't use malloc as much as it used to, saving some CPU and memory defragmentation
- I organized the code around nio and libaio
2015-07-29 22:12:03 -04:00