Clebert Suconic
6bf1241628
ARTEMIS-257 cleaning up dependencies on artemis-core-client
2015-10-13 10:44:49 -04:00
Clebert Suconic
a5fab2754d
ARTEMIS-252 fixing tests
2015-10-12 17:21:36 -04:00
Clebert Suconic
2a81a5f146
ARTEMIS-252 retryMessages retrying to topic subscriptions + some ammends to #193
2015-10-12 17:03:53 -04:00
Petter Nordlander
989172596e
ARTEMIS-252 Added support to retry messages via JMX on JMS Queue interface
2015-10-12 17:03:42 -04:00
Petter Nordlander
7afe87996b
ARTEMIS-252 added jmx operations to retry messages
2015-10-12 17:03:42 -04:00
jbertram
6ed9c5ae91
ARTEMIS-74 import JAAS auth from 5.x
...
This change allows the use of JAAS login modules for basic authentication
and authorization.
2015-10-09 11:42:22 -05:00
Clebert Suconic
206acdac7d
ARTEMIS-238 and ARTEMIS-236 Fixing Legacy protocol support
2015-10-08 20:32:43 -04:00
jbertram
b8e235f77e
Clarify HTTP(S) upgrade config
...
Demonstrate that the Artemis acceptor receiving HTTP(S) upgrade connections
doesn't need any SSL configuration.
2015-10-05 08:38:22 -05:00
Julian Scheid
7fb30547f4
Add tests for ARTEMIS-230
2015-09-28 20:09:25 +02:00
Clebert Suconic
f0fd89f24f
Small tweak on test: Using Parameterized instead of exension
2015-09-25 14:47:49 -04:00
Julian Scheid
f64c435727
ARTEMIS-228 accept binary WebSocket frames
2015-09-25 14:37:21 -04:00
Julian Scheid
6890f126cb
ARTEMIS-229 validate user and role with address
2015-09-25 15:58:15 +02:00
Julian Scheid
2d679e9071
Add test case for ARTEMIS-231
...
The test doesn't actually fail, but the test output shows the problem.
2015-09-24 21:30:31 -04:00
Clebert Suconic
7a337a7e55
Revert "ARTEMIS-225 validate clientID is set for durable sub"
...
This reverts commit 1c933cfbae
.
2015-09-21 20:39:07 -04:00
jbertram
1c933cfbae
ARTEMIS-225 validate clientID is set for durable sub
2015-09-17 15:46:18 -05:00
Martyn Taylor
bb2c890803
[maven-release-plugin] prepare for next development iteration
2015-09-15 15:43:44 +01:00
Martyn Taylor
63ea448728
[maven-release-plugin] prepare release 1.1.0
2015-09-15 15:41:37 +01:00
jbertram
2eac97aaff
ARTEMIS-210 count references
...
It is possible for the closure of one resource to potentially impact
another since they are now sharing the same ServerLocator instance.
Keep track of references to avoid this.
2015-09-14 15:35:12 -05:00
Howard Gao
0abf52468b
ARTEMIS-200 Message Compression Support
2015-09-14 09:56:19 +08:00
Martyn Taylor
6408fd0357
[maven-release-plugin] prepare for next development iteration
2015-09-11 19:01:57 +01:00
Martyn Taylor
c512f12a34
[maven-release-plugin] prepare release 1.1.0
2015-09-11 19:01:19 +01:00
Clebert Suconic
1add10abfd
ARTEMIS-223 Testcase replicating issue
2015-09-11 13:21:50 -04:00
Clebert Suconic
490662923c
fixing checkstyle on example
2015-09-11 10:16:34 -04:00
Clebert Suconic
f5a727259e
ARTEMIS-222 fixing a deadlock that appeared on the testsuite (MultipleThreadsOpeningTest)
...
https://issues.apache.org/jira/browse/ARTEMIS-222
2015-09-11 09:07:49 -04:00
Clebert Suconic
d5a01287a5
Improving test.
...
There's a race here that only happens on Virtual Machines (VMWare.. etc)
2015-09-11 09:06:38 -04:00
Clebert Suconic
e7e1e0c6eb
Removing a non open wire test
...
-- this test is only validating AMQP <-> MQTT converstion through ActiveMQ5. No value for OpenWire tests
2015-09-11 09:06:00 -04:00
Clebert Suconic
7b2c50415a
using new qpid-jms client on AMQP
2015-09-11 09:06:00 -04:00
Martyn Taylor
fec6546480
[maven-release-plugin] prepare for next development iteration
2015-09-08 16:39:59 +01:00
Martyn Taylor
4d0b15b043
[maven-release-plugin] prepare release 1.1.0
2015-09-08 16:29:09 +01:00
Martyn Taylor
82f6a88d59
[maven-release-plugin] prepare for next development iteration
2015-09-07 10:02:01 +01:00
Martyn Taylor
8c1e0e15fc
[maven-release-plugin] prepare release 1.1.0
2015-09-07 10:01:10 +01:00
Clebert Suconic
79a7ee5a3f
fixing version and adding missing projects on release profile
2015-09-04 23:41:23 -04:00
Martyn Taylor
a2aa18c123
[maven-release-plugin] prepare for next development iteration
2015-09-04 20:20:13 +01:00
Martyn Taylor
a5decb659e
[maven-release-plugin] prepare release 1.1.0
2015-09-04 20:19:11 +01:00
Martyn Taylor
4576ccea08
[maven-release-plugin] prepare for next development iteration
2015-09-04 19:48:52 +01:00
Clebert Suconic
90d05bb17d
Improving openwire tests on the integration-testsuite
...
In one situation I have seen a failrue on ProducerFlowControl to break everything else from here
This change will both avoid the failure and change the report of leaked threads so we can find them easily on the system.out when it happens (for future debugging)
2015-09-03 19:16:19 -04:00
Clebert Suconic
ab618d295d
binding UDP to localhost so the testsuite will work on environments where UDP is not available due to firewal constraints
...
The server would need to have loopback routes for UDP for this to work.
2015-09-03 18:06:10 -04:00
jbertram
ea9609c579
ARTEMIS-211 Memory leak using wildcard topic
2015-09-02 15:47:00 -05:00
Clebert Suconic
0f8750573c
test fix on DuplicateCacheTest
...
Waiting for proper executor to finish
2015-08-31 19:49:01 -04:00
jbertram
853d3665df
ARTEMIS-206 HTTP Upgrade does not work over HTTPS
2015-08-31 14:30:25 -05:00
Howard Gao
1642a856c3
Fix thread leak in test TransactionContextTest
...
This leak happens with amq5.12.0. It didn't happen
with amq5.11.1. Adding connection.start() can work
around this seemingly 5.12.0 issue.
2015-09-01 00:17:36 +08:00
Howard Gao
be9959e0bc
ARTEMIS-191 Refactor RemoveDestinationTest
...
-Using core api to inspect queue status
-Catch command visit() exceptions in order to
pass it back to client.
-Correct destination add/remove handlings
2015-08-28 20:33:38 +08:00
Andy Taylor
2f18b4cbfc
ARTEMIS-193 - OpenWire protocol only works with messages received over openwire
...
Fix the address conversion between protocols so its consistent
https://issues.apache.org/jira/browse/ARTEMIS-193
2015-08-27 10:23:38 +01:00
Howard Gao
99db9f1cbd
Exclude 2 activemq5 openwire tests that purely test on client side
2015-08-26 19:54:19 +08:00
Clebert Suconic
2b45d6eb9e
Adding simple test sending core & consuming OpenWire
2015-08-25 08:31:24 -04:00
Howard Gao
34e127cc0c
ARTEMIS-208 BrokerInfo issue, also:
...
enlarged the default max size for tests to avoid send blocking.
2015-08-24 22:54:12 -04:00
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
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