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
Clebert Suconic
1492fe7adc
speeding up test
2015-06-23 12:42:59 -04:00
Clebert Suconic
f401a67ffe
ARTEMIS-136 extending XA change to also cover RBOTHER
2015-06-23 10:08:23 -04:00
Clebert Suconic
e690da96a6
simple test fix
2015-06-22 20:49:27 -04:00
Clebert Suconic
e3aa94e394
ARTEMIS-142 Fix on import / export tests
2015-06-22 19:32:29 -04:00
jbertram
494477b240
ARTEMIS-142 ActiveMQClusteredTest fix
2015-06-22 09:49:54 -05:00
Clebert Suconic
ff6cd8d18f
Fixing test that was using reflection by exposing a few properties on the RemotingServiceImpl
2015-06-22 09:46:15 -04:00
jbertram
aa5ff90807
ARTEMIS-141 Move classloading into ServiceRegistry
2015-06-22 09:04:24 -04:00
Clebert Suconic
4388923527
ARTEMIS-139 data.folder related to artemis
...
https://issues.apache.org/jira/browse/ARTEMIS-139
I'm using the constructors on File(parent, filename) now with the home directory
2015-06-17 14:10:54 -04:00
Clebert Suconic
07f9fe4e7b
[ARTEMIS-138] list will return empty list now on non existent folders
...
https://issues.apache.org/jira/browse/ARTEMIS-138
The list method should return an empty list in case of non existent folders,
So this would unveil whatever is the cause for non existent folders at the next level where it's happening
2015-06-16 14:38:53 -04:00
jbertram
adb9ccd013
[ARTEMIS-92] Transformer instance injection
2015-06-16 13:24:35 -05:00
Clebert Suconic
51c34c87d2
ARTEMIS-136 - XA Error fix with proper exception error
...
https://issues.apache.org/jira/browse/ARTEMIS-136
From what I researched from implementers of XA TM if you throw ERR over communication errors the transaction manager will create
an heuristic transaction to be manually dealt with.
Other XA Implementations (such as Oracle JDBC) are return FAIL over communication failures during any XA operation.
2015-06-15 16:34:55 -04:00
John D. Ament
3710b3aa3c
ARTEMIS-103 Changed JGroupsBroadcastEndpoint to not close its JChannel since its externally managed. Added javadocs to impacted areas to clarify that the JChannel is not closed by these implementations.
2015-06-14 19:59:28 -04:00
Thiago Kronig
4dd54080a1
ARTEMIS-127 Fix Array.toString(), nonatomic update on volatiles
2015-06-12 01:27:54 -03:00
Thiago Kronig
ae6a2b87ea
ARTEMIS-127 Fix some concurrency idioms for ActimeMQ Tests
2015-06-12 00:30:23 -03:00
Thiago Kronig
64ecb9565d
ARTEMIS-127 Use L as suffix for long constants
2015-06-11 23:58:14 -03:00
Thiago Kronig
aab34e5bd0
ARTEMIS-127 Fixing sync on non-final object for ArtemisBrokerWrapper
2015-06-11 23:58:13 -03:00
Thiago Kronig
61895223d0
ARTEMIS-127 Fixing activemq-unit-tests pom version
2015-06-11 23:58:12 -03:00
jbertram
cb4d2e046e
ARTEMIS-109 restore optional divert routing name
2015-06-11 16:28:06 -05:00
John D. Ament
8aa598f594
ARTEMIS-91 Separated out interface for ServiceRegistry. Provided a getter in the ActiveMQServer interface.
2015-06-10 22:48:48 -04:00
Tomas Hofman
72354ee38f
ARTEMIS-135 - Fix on journal load
...
https://issues.apache.org/jira/browse/ARTEMIS-135
This is importing a recent fix from the journal on the old version.
If a crash happened between the create file and the fill of the file the
file wouldn't be loaded and the server wouldn't start until you removed the offending file
2015-06-10 20:29:45 -04:00