Commit Graph

7356 Commits

Author SHA1 Message Date
Francesco Nigro e4c5ea719f ARTEMIS-2713 Added ReplicatedMultipleFailbackTest 2020-04-15 21:56:34 -04:00
Clebert Suconic ae33b771fa This closes #3086 2020-04-15 17:35:37 -04:00
Justin Bertram 35e0ab63cd ARTEMIS-2715 master broker created w/--replicated should use vote-on-replication-failure=true 2020-04-15 17:35:37 -04:00
Clebert Suconic 71987dbd16 This closes #3083 2020-04-15 15:48:59 -04:00
Justin Bertram f0b4afa672 ARTEMIS-2714 log details for 'Address already in use'
Currently when the broker hits the common 'Address already in use' issue
when starting the process terminates with a vague exception. The user is
left to guess which acceptor actually failed. If the broker has lots of
acceptors it is a tedious process to identify the problematic
configuration. This commit adds details to the exception message about
which acceptor failed and which host:port it was attempting to bind to.
2020-04-15 15:48:59 -04:00
Clebert Suconic 9c537900ee This closes #3085 2020-04-15 14:44:28 -04:00
Justin Bertram 96e74b8109 ARTEMIS-2692 update dependency for JMS client 2020-04-15 14:44:28 -04:00
Clebert Suconic e857c1b953 NO-JIRA Fixing test race on Wait (ProducerAutoCreateQueue) 2020-04-15 14:35:36 -04:00
Timothy Bish 8ac9649ae3 This closes #3082 2020-04-14 17:56:24 -04:00
Clebert Suconic e7a437d999 ARTEMIS-2706 Discounting Transfer payload size 2020-04-14 16:56:52 -04:00
Clebert Suconic 17d659052d This closes #3079 2020-04-14 14:54:31 -04:00
Clebert Suconic d27d61f223 ARTEMIS-2706 Use FrameSize to decide when to flush large messages 2020-04-14 12:59:25 -04:00
Clebert Suconic 5085fabd9a This closes #3080 2020-04-14 11:49:42 -04:00
Clebert Suconic 9e9f88b6b7 ARTEMIS-2685 Fixing Examples
The examples were broken after the change on ServerUtil.
2020-04-14 11:22:09 -04:00
Clebert Suconic b9ff5a1e8d ARTEMIS-2692 Fixing queue durability on tests 2020-04-14 09:17:25 -04:00
Clebert Suconic eb4cd209b1 ARTEMIS-2692 Fixing tests on queue creation
Fixing mishap / typo
2020-04-13 20:58:22 -04:00
Clebert Suconic 89634e3660 This closes #3029 2020-04-13 16:57:06 -04:00
brusdev fc6402613d ARTEMIS-2664 Simplify the credits acquiring.
Replace the AtomicInteger with an int. Indeed deliveredAcks is used only by
the acknowledge method and it is only executed by the EpollEventLoop thread
bounded with the relative connection channel.
2020-04-13 16:48:57 -04:00
Clebert Suconic 30d521152d This closes #3076 2020-04-13 16:48:24 -04:00
gamedev8 65b23e2238 NO-JIRA Doc change. Updating `connectionTtl` to `connectionTTL` 2020-04-13 16:48:07 -04:00
Clebert Suconic c326d2eb84 NO-JIRA Cleanup some commented out code 2020-04-13 16:40:29 -04:00
Clebert Suconic 5141d4f0e2 ARTEMIS-2709 Ignore test until it can be fixed 2020-04-13 16:14:24 -04:00
Clebert Suconic 18d38b717f This closes #3060 2020-04-13 16:03:43 -04:00
Dirkjan Ochtman 89f58e1597 ARTEMIS-2695 Return exception message in AMQP conversion error response 2020-04-13 16:03:42 -04:00
Clebert Suconic be3579d36d This closes #3078 2020-04-13 16:02:36 -04:00
Justin Bertram 40a6bab898 ARTEMIS-2708 JDK bug causes missed props reload 2020-04-13 16:02:35 -04:00
Clebert Suconic 42f75537e4 This closes #3063 2020-04-13 16:02:10 -04:00
Justin Bertram 701b4e4794 ARTEMIS-2692 refactor queue creation
This commit changes all tests to use the new methods.
2020-04-13 14:25:30 -05:00
Justin Bertram 2efa44daf5 ARTEMIS-2692 refactor queue creation
This commit does the following:
- Deprecates existing overloaded createQueue, createSharedQueue,
  createTemporaryQueue, & updateQueue methods for ClientSession,
  ServerSession, ActiveMQServer, & ActiveMQServerControl where
  applicable.
- Deprecates QueueAttributes, QueueConfig, & CoreQueueConfiguration.
- Deprecates existing overloaded constructors for QueueImpl.
- Implements QueueConfiguration with JavaDoc to be the single,
  centralized configuration object for both client-side and broker-side
  queue creation including methods to convert to & from JSON for use in
  the management API.
- Implements new createQueue, createSharedQueue & updateQueue methods
  with JavaDoc for ClientSession, ServerSession, ActiveMQServer, &
  ActiveMQServerControl as well as a new constructor for QueueImpl all
  using the new QueueConfiguration object.
- Changes all internal broker code to use the new methods.
2020-04-13 14:25:30 -05:00
Clebert Suconic 0dfbfaa833 NO-JIRA Adding Serialization compatiblity for a recent 2.x release 2020-04-13 12:25:51 -04:00
Timothy Bish 0a4ec3cbff This closes #3077 2020-04-13 12:12:32 -04:00
Robbie Gemmell 17b5b09b46 ARTEMIS-2659: address some more sporadic test failures due to races in tests 2020-04-13 16:13:31 +01:00
Clebert Suconic fcd27d53c1 This closes #3069 2020-04-13 10:53:35 -04:00
brusdev 431bb87b03 ARTEMIS-2703 Update commons-configuration2 version to 2.7 2020-04-13 10:53:35 -04:00
Clebert Suconic e5b8237d2b NO-JIRA Increasing timeout on test and avoiding intermittent failure 2020-04-08 22:41:06 -04:00
Clebert Suconic 4d7c4ea51c NO-JIRA Improving logging on CoreClientOverOneWaySSLKerb5Test
in case of a failure, it should throw the complete exception instead of just showing Assert.fail
2020-04-08 22:33:56 -04:00
Clebert Suconic a084e5b37f NO-JIRA Avoiding intermittent failures on BridgeTest 2020-04-08 22:27:37 -04:00
Clebert Suconic bbac2937ee NO-JIRA Avoiding intermittent failure on OpenWireLargeMessageTest 2020-04-08 22:17:49 -04:00
Clebert Suconic fa67499509 NO-JIRA Avoiding Intermittent failures on FederatedQueueTest 2020-04-08 16:49:57 -04:00
Clebert Suconic 679bc1a3a0 ARTEMIS-2698 Fixing Typos on exposed group properties 2020-04-08 16:00:26 -04:00
Clebert Suconic 598c2631ad This closes #3058 2020-04-08 15:45:19 -04:00
brusdev c36170477d ARTEMIS-2686 Fix MQTT connect message rejection
Initialize the session state with a default value to fix a NPE, when an incoming
MQTT interceptor rejects a MqttConnectMessage.
2020-04-08 15:45:19 -04:00
Clebert Suconic a4f0e7660e This closes #3052 2020-04-08 15:44:26 -04:00
brusdev 5f5c47e8a5 ARTEMIS-2693 Improve log of starting acceptor errors
Add the log of starting acceptor errors to simplify the detection of the
failing acceptor in case of multiple acceptors.
2020-04-08 15:44:26 -04:00
Clebert Suconic a03e2f1726 This closes #3056 2020-04-08 15:42:26 -04:00
brusdev 24c0601519 ARTEMIS-2684 NullPointer exception when slave tries to scale down
Check the parentServer before to access to its configuration and storageManager.
2020-04-08 15:42:26 -04:00
Clebert Suconic 8b78f704f0 This closes #3074 2020-04-08 15:41:44 -04:00
Timothy Bish a22c3abf79 ARTEMIS-2653 Update proton-j to version 0.33.4 2020-04-08 15:41:44 -04:00
Clebert Suconic 7ff71a97af ARTEMIS-2699 Avoid some journal exceptions on test 2020-04-08 14:56:06 -04:00
Clebert Suconic 800417292f This closes #3064 2020-04-08 12:54:16 -04:00