Commit Graph

2013 Commits

Author SHA1 Message Date
Clebert Suconic e857c1b953 NO-JIRA Fixing test race on Wait (ProducerAutoCreateQueue) 2020-04-15 14:35:36 -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 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
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
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 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
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
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 7ff71a97af ARTEMIS-2699 Avoid some journal exceptions on test 2020-04-08 14:56:06 -04:00
brusdev 0f200a4798 ARTEMIS-2698 Expose queue group attributes 2020-04-08 12:53:56 -04:00
Francesco Nigro 124ed872a6 ARTEMIS-2702 QuorumVoteServerConnect with requestToStayLive is voting order sensitive 2020-04-08 12:53:03 -04:00
Clebert Suconic ee29b4be10 ARTEMIS-2659 Fixing auto created queues leading to journal errors
This was causing the queue to be removed right before the server being stopped, leading to exceptions about the journal being stopped.
2020-04-08 12:42:38 -04:00
Clebert Suconic 1932cfc818 ARTEMIS-2659 Fixing intermittent failures 2020-04-08 11:34:05 -04:00
Clebert Suconic 858a8240f9 ARTEMIS-2659 / ARTEMIS-2673 Fix AmqpSendReceiveTest.testAcceptWithoutSettling 2020-04-07 23:06:40 -04:00
Clebert Suconic af796d5ce4 ARTEMIS-2701 Improving DLQ/check over previously removed records 2020-04-06 12:25:35 -04:00
Clebert Suconic ae17fd6552 NO-JIRA Fixing intermittent failure on AutoDeleteJmsDestinationTest 2020-04-05 00:58:57 -04:00
brusdev 38a79be314 ARTEMIS-2691 Improve critical analyzer LOG policy
Reset the critical component timer after the expiration to allow further LOG
actions after the first expiration.
2020-04-04 18:19:46 -04:00
Clebert Suconic 1320ad9367 NO-JIRA more fixes into NotificationTest
this test was failing intermittently.
Some small speedup on the test as well.
2020-04-03 10:24:24 -04:00
Clebert Suconic b0cfbe0a34 NO-JIRA Fixing NotificationTest 2020-04-02 11:15:16 -04:00
Atri Sharma 505b3b0fdc ARTEMIS-2636: Add Disk Store Usage Metrics
ARTEMIS-2688: Check Arguments In FileStoreMonitor.calculateUsage
2020-04-02 11:04:42 -04:00
Clebert Suconic bd77a536c6 ARTEMIS-2685 Not Block Netty Thread in any way for OpenWire 2020-04-01 18:02:48 -04:00
Francesco Nigro 493ce497c7 ARTEMIS-1975 Fix AMQP paged large message usage counter 2020-04-01 17:46:26 -04:00
Francesco Nigro 891f2817ff NO-JIRA Improve AMQP paging test coverage and determinism 2020-03-31 15:55:04 -04:00
Atri Sharma 405eb969c1 ARTEMIS-2636: Introduce Disk Usage Metrics
ARTEMIS-2636: This commit introduces metrics to publish the amount of disk used currently
2020-03-30 22:27:58 -04:00
Justin Bertram 59e07c9780 ARTEMIS-2681 timestamp not set on notif msgs 2020-03-27 15:42:26 -04:00
Federico Valeri 8cf35385a4 ARTEMIS-2608 Fix ClassCastException on binary properties conversion 2020-03-27 13:12:57 -04:00
Clebert Suconic 6d2b17d23a NO-JIRA Improving SoakPagingTest 2020-03-26 14:38:57 -04:00
Clebert Suconic ca50b3449e ARTEMIS-1975 Removing ThreadLocal for StorageManager 2020-03-25 21:54:46 -04:00
Justin Bertram fdfe3ba3fa ARTEMIS-2679 deprecate message-expiry-thread-priority
Due to the changes in 6b5fff40cb the
config parameter message-expiry-thread-priority is no longer needed. The
code now uses a ScheduledExecutorService and a thread pool rather than
dedicating a thread 100% to the expiry scanner. The pool's size can be
controlled via scheduled-thread-pool-max-size.
2020-03-25 16:43:38 -04:00
Clebert Suconic 03fb630f73 ARTEMIS-1975 Fixing LargeMessage encoding for replication 2020-03-25 16:16:05 -04:00
Clebert Suconic 31e72c6cbb NO-JIRA Adding timeout into AmqpReplicatedLargeMessageTest 2020-03-24 23:05:23 -04:00
Clebert Suconic a4489a322e ARTEMIS-1975 Moving encode cache towards AMQPLargeMessage
Using a property on AMQPLargeMessage instead of a ThreadLocal
This was causing issues on the journal as the message may transverse different threads on the journal.
2020-03-24 18:22:59 -04:00
Clebert Suconic 31c945f8b0 ARTEMIS-1975 Fixing encodesize cached on AMQP Large Message
Encoding ahead is broken with AMQP Large Message
This is still part of ARTEMIS-1975
2020-03-24 15:51:46 -04:00
Benjamin Graf 4b49b3f371 ARTEMIS-975: Add transactional records to deletedRecords to check for committed transactions that also hold references to 2020-03-24 09:32:47 -05:00
Clebert Suconic f874a02d17 ARTEMIS-2673 PageStore should only be removed when Address is removed
& ARTEMIS-2674 AMQP should use a separate executor for IO
2020-03-23 20:02:17 -04:00
Justin Bertram 3107535a32 ARTEMIS-2671 NPE in LDAP security plugin listener
To get the name of the destination use the relative Rdn position rather than a
strict match of "uid". Also, improve logging.
2020-03-23 17:02:38 -04:00
Justin Bertram 402dda2161 ARTEMIS-2667 NPE w/clearing non-durable dupl ID cache 2020-03-23 16:55:42 -04:00
Francesco Nigro 085a74cf06 ARTEMIS-2669 not durable AMQP messages cannot became durable on depaging 2020-03-22 17:46:37 -04:00
Clebert Suconic 559fa2008d ARTEMIS-2672 multi-thread isue with Shared Subscriptions
Some of them may throw queue already existed exception
2020-03-20 21:26:45 -04:00
Michael Pearce f1fdfc6857 ARTEMIS-2665 AMQP use createSharedQueue like Core 2020-03-18 11:51:58 -04:00
brusdev 974a80002a NO-JIRA Fixing GeneralInteropTest stability 2020-03-17 16:23:05 -04:00
brusdev 43639bdeae ARTEMIS-2664 The prefetch size is exceeded after delivered acks
Decrement delivered acks before acquiring credits.
2020-03-17 14:08:10 -04:00