jbertram
7a1199c475
ARTEMIS-210 outbound RA connection load-balancing
...
Inbound sessions are always created from the same ActiveMQConnectionFactory
which means the load-balancing policy is applied to them in the expected
manner. However, outbound sessions are created from independent, unique
ActiveMQConnectionFactory instances which means that the load-balancing
doesn't follow the expected pattern.
This commit changes this behavior by caching each unique
ActiveMQConnectionFactory instance and using it for both inbound and outbound
sessions potentially. This ensures the sessions are load-balanced as
expected.
2015-08-24 18:24:04 -05:00
Ville Skyttä
eb407389a6
Update maven-checkstyle-plugin to version 2.16
2015-08-16 15:26:15 +03:00
jbertram
976174305e
ARTEMIS-209 fix keepAlive
2015-08-14 16:20:10 -05:00
jbertram
cbebbc43fd
Fix ReplicatedLargeMessageWithDelayFailoverTest
2015-08-14 16:20:06 -05:00
Clebert Suconic
030f2fc59a
Revert "ARTEMIS-187 hold lock between live server and tools"
...
This reverts commit f0f4f1684d
.
Sorry about this.. I will rework this and send a commit again
2015-08-14 01:02:39 -04:00
Clebert Suconic
f0f4f1684d
ARTEMIS-187 hold lock between live server and tools
...
This should avoid users damaging data while the server is running (by for instance running compact while the server is running)
https://issues.apache.org/jira/browse/ARTEMIS-187
2015-08-13 23:57:49 -04:00
Clebert Suconic
1dae99746b
ARTEMIS-204 Improvements on OpenWire
...
https://issues.apache.org/jira/browse/ARTEMIS-204
by consequence this will also fix any possible issues with AMQP
2015-08-13 20:39:01 -04:00
Howard Gao
53d5f93e4a
Openwire test fix:
...
Added missing resource file
Added accessor methods to let the test pass
2015-08-12 21:22:57 +08:00
Martyn Taylor
90940091d3
Downgrade Paho SNAPSHOT dep to latest release
2015-08-12 11:59:12 +01:00
jbertram
4fa701eaff
Fix HAClientTopologyWithDiscoveryTest
2015-08-11 15:23:06 -05:00
jbertram
f6061d0d53
Fix ReplicatedMultipleServerFailoverExtraBackupsTest
2015-08-11 14:06:58 -05: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
jbertram
38188cdf2e
ARTEMIS-179 fix BindingsClusterTest
2015-08-10 16:19:01 -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
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
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
Howard Gao
5230237a7c
Fix openwire tests - ProducerFlowControlSendFailTest
2015-08-10 09:12:27 -04:00
Clebert Suconic
138bfe9682
Removing 'created by' comments
2015-08-07 15:17:24 -04:00
Clebert Suconic
2ad821a0ca
small improvement on org.apache.activemq.JmsQueueCompositeSendReceiveTest
2015-08-05 09:32:09 -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
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
Howard Gao
65e9ec01b8
Fix openwire unit tests
...
Fix JmsRedeliveredTest and add processing of RemoveSubscriptionInfo command
2015-08-03 08:56:27 -04:00
jbertram
fe95e34390
Ensure MQTT tests clean up SSL properties
2015-08-03 08:24:28 -04:00
jbertram
ecc2cecf87
Fix NPE in management test
2015-08-03 08:24:28 -04:00
Andy Taylor
38147ddbe7
added check to stop broker
2015-08-03 08:53:39 +01:00
Howard Gao
447f33d19f
Fix compilation error
2015-07-30 19:57:40 +08:00
Howard Gao
2866ecd4c2
Include just a few packages in activemq5-unit-tests to start with
2015-07-30 18:40:18 +08: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
Clebert Suconic
d5dde68f0c
ARTEMIS-157 fixing isHA on connectionFactory
2015-07-22 17:46:04 +01:00
Ville Skyttä
2a647c176f
Declare ConcurrentMaps instead of ConcurrentHashMaps
...
See PR #88 for discussion.
2015-07-22 16:16:57 +03:00
Ville Skyttä
d6f8ed8d70
Deprecate PROTOCOL_PROP_NAME, avoid deprecation warning on STOMP tests
2015-07-22 11:54:18 +01:00
Howard Gao
74600b2a53
openwire tests: Fix some NPEs and Index out of boundary errors
2015-07-16 09:16:25 +08:00
Howard Gao
779092f48f
fix empty keystore files
...
fix Collections.EMPTY_MAP doesn't support put() method issue
2015-07-14 20:07:00 +08:00
Howard Gao
fbdf9cd04c
Activemq5 unit test fixes
...
--Fix server wrapper startup/shutdown issues that mainly causes
a lot of "Address already in use" in tests.
2015-07-13 09:39:52 -04:00
Ville Skyttä
78cb156ef9
Spelling fixes
2015-07-13 09:38:00 -04:00
Howard Gao
19a49f5297
Fix javadoc errors in tests/activemq5-unit-tests
2015-07-10 10:02:38 +08:00
Howard Gao
8d1f4fa32a
fix javadoc warnings
2015-07-09 10:41:50 -04:00
Ville Skyttä
b0a80ce1be
Spelling fixes
2015-07-09 10:41:03 -04:00
Howard Gao
7cf58b1e88
ARTEMIS-149 Advisory Message Support
...
Adding functions to send advisory messages.
2015-07-09 10:23:24 -04:00
Martyn Taylor
0f82ca754b
Added Initial MQTT Protocol Support
2015-07-09 11:08:04 +01:00
gaohoward
f59b10cea2
Fix activemq-unit-test failure
...
-- added addConnector() method so new connector can be created for tests
-- fix zero-byte key store files that cause test failures
-- fix a invm issue in test
2015-07-09 09:18:42 +08:00
Martyn Taylor
19dc0594e5
Set default password properly in security manager
...
The current Security Manager implementation was returning the username
instead of the default password when validating the default user.
This patch returns the correct value and cleans up the validate method.
2015-07-08 16:25:11 +01:00
Howard Gao
5e1758cb87
ARTEMIS-146 Fix Queue auto-creation
2015-06-30 10:03:43 +08:00
Clebert Suconic
aa4a06329f
[ARTEMIS-144] adding Browse and a few other improvements
2015-06-25 15:02:05 -04:00
jbertram
7c066c0ee4
ARTEMIS-105 forceFailover always throws exception
2015-06-24 09:47:13 -05:00
Clebert Suconic
91a41adaa8
Removing extra-tests from running tests on PR builds
2015-06-23 23:43:44 -04:00
Clebert Suconic
077a416ee0
Improving up time of some tests
2015-06-23 16:35:44 -04:00