2533 Commits

Author SHA1 Message Date
jbertram
3f6089891d ARTEMIS-293 rebalance inflow on topology change 2015-11-03 16:42:15 -06:00
Ville Skyttä
68c9f3fd69 Spelling fixes 2015-11-03 10:30:40 -05:00
Martyn Taylor
62262805ab ARTEMIS-291 Allow multiple acceptors with same host/port 2015-11-02 12:42:49 +00:00
jbertram
43b421a588 ARTEMIS-289 potential ConcurrentModificationException 2015-10-29 13:41:29 -05:00
jbertram
fe4dafedcb ARTEMIS-168 - pluggable authorization 2015-10-27 10:12:22 -04:00
jbertram
d03541a460 Fix incorrect ID on WARN message 2015-10-27 10:12:21 -04:00
Andy Taylor
dd402f4f91 ARTEMIS-282 - remove unneeded check on file lock creation
https://issues.apache.org/jira/browse/ARTEMIS-282
2015-10-27 10:10:57 +00:00
Clebert Suconic
15b8b8138b Improving forceGC method on ActiveMQTestBase 2015-10-26 11:02:53 -04:00
Erich Duda
7970b6e6f8 SessionCloseOnGCTest#testCloseOneSessionOnGC: enforce that Finalizer will be called after garbage collector 2015-10-26 10:53:48 -04:00
Ville Skyttä
86b89306d7 Improve "protocol property is deprecated" message, use constants in it 2015-10-25 09:42:57 +02:00
Ivo Studensky
8a2ecff4fd ARTEMIS-274 ActiveMQThreadFactory has to be constructed within doPrivileged block 2015-10-22 09:30:14 -04:00
Clebert Suconic
9a98684846 ARTEMIS-197 fixing examples by using proper location on folders 2015-10-21 16:43:10 -04:00
Martyn Taylor
6aae2cc5f1 ARTEMIS-273 Use data locations not dir in moveData 2015-10-21 11:54:41 +01:00
Julian Scheid
aa492fb9b6 ARTEMIS-271 Expose HttpRequest in WebSocketServerHandler 2015-10-20 18:24:09 -04:00
Julian Scheid
aa7696e329 ARTEMIS-270 Supply RemotingConnection for authorization 2015-10-20 18:23:41 -04:00
jbertram
ef5a9809f2 ARTEMIS-256 orchestrate failback deterministically
The failback process needs to be deterministic rather than relying on various
incarnations of Thread.sleep() at crucial points. Important aspects of this
change include:

1) Make the initial replication synchronization process block at the very
last step and wait for a response from the replica to ensure the replica has
as the necessary data. This is a critical piece of knowledge during the
failback process because it allows the soon-to-become-backup server to know
for sure when it can shut itself down and allow the soon-to-become-live
server to take over. Also, introduce a new configuration element called
"initial-replication-sync-timeout" to conrol how long this blocking will occur.

2) Set the state of the server as 'LIVE' only after the server is fully
started. This is necessary because once the soon-to-be-backup server shuts
down it needs to know that the soon-to-be-live server has started fully before
it restarts itself as the new backup. If the soon-to-be-backup server restarts
before the soon-to-be-live is fully started then it won't actually become a
backup server but instead will become a live server which will break the
failback process.

3) Wait to receive the announcement of a backup server before failing-back.
2015-10-20 14:55:31 -04:00
Andy Taylor
98c2aa433f ARTEMIS-262 Fix Bridge OOM exception
Netty 4.x uses pooled buffers.  These buffers can run out of memory when
transferring large amounts of data over connection.  This was causing an
OutOfMemory exception to be thrown on the CoreBridge when tranferring
large messages.  Netty provides a callback handler to notify listeners
when a Connection is writable.  This patch adds the ability to register
connection writable listeners to the Netty connection and registers the
relevant callback from the Bridge to avoid writing when the buffers are
full.
2015-10-19 10:32:59 +01:00
Clebert Suconic
360338a362 NO-JIRA making sure there wouldn't be duplicates out of transaction timeout 2015-10-17 00:26:44 -04:00
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
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
Andy Taylor
35ab56fd91 ARTEMIS-244 - fixed property name
https://issues.apache.org/jira/browse/ARTEMIS-244
2015-10-08 12:15:21 +01:00
Andy Taylor
38a809fded ARTEMIS-243 - fix possible null pointer
https://issues.apache.org/jira/browse/ARTEMIS-243
2015-10-08 12:15:21 +01:00
Clebert Suconic
4eb669f035 ARTEMIS-151 avoiding duplicate config of acceptors 2015-10-07 22:07:05 -04:00
Clebert Suconic
c3448e7029 ARTEMIS-151 Fixing tests 2015-10-07 18:48:26 -04:00
Julian Scheid
fe16ffe068 ARTEMIS-227 allow adding STOMP interceptor instances 2015-09-25 14:56:26 -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
Clebert Suconic
4cdcc618ff ARTEMIS-232 Fixing logs 2015-09-24 22:31:29 -04:00
Clebert Suconic
fcdfbdb82e ARTEMIS-231 fixing wrong notification exceptions 2015-09-24 22:31:28 -04: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
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
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
Clebert Suconic
cc88be51e4 ARTEMIS-219 fixing path resolution for windows
https://issues.apache.org/jira/browse/ARTEMIS-219

The fix will basically use Path.resolve insead of URI.resolve
2015-09-08 10:29:29 -04: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
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
jbertram
ea9609c579 ARTEMIS-211 Memory leak using wildcard topic 2015-09-02 15:47:00 -05:00
Clebert Suconic
511bfc7e15 ARTEMIS-187 Hold lock between server running and data tools to avoid data damaged 2015-08-31 17:38:43 -04:00
Clebert Suconic
8d98fc395f Refactoring Auth
this is doing some refactoring, making the SecurityStore mechnism possible to be reused on other protocols,
without forcing them to implement ServerSession on checks that won't fit the Server Model from Artemis
2015-08-28 15:04:59 -04:00