3138 Commits

Author SHA1 Message Date
Justin Bertram
bcf11e82ab
NO-JIRA drop Travis CI 2023-02-13 14:09:29 -06:00
JiriOndrusek
7b15f4277f [ARTEMIS-2050] It is possible to get AMQ224000: Failure in initialisation: java.lang.NullPointerException during shutdown of backup server with shared store
(cherry picked from commit 3c3c81720a93e7617fca757dd9df49cd3b590d96)
2018-12-14 19:16:58 -06:00
Justin Bertram
c957ffb208 NO-JIRA Fix test checkstyle 2018-12-10 14:45:38 -06:00
Clebert Suconic
afa0822fd0 ARTEMIS-1894 Avoiding apache.org URL on codebase
(cherry picked from commit 1369690f574c2c97d1fa3930260eae5039b703c1)
2018-12-10 14:45:30 -06:00
Justin Bertram
0a7757b2cd ARTEMIS-2199 PagingStore leak when deleting queue
When deleting a queue the JMSPostQueueDeletionCallback#callback will
invoke PostOfficeImpl#getBindingsForAddress which will *create* a
Bindings instance if one doesn't exist. This will trigger the creation
of a PagingStore instance which will be stored by the PagingManager
and may never be deleted. This is particularly problematic for use-cases
involving temporary JMS queues.

This change uses the lookupBindingsForAddress instead of
getBindingsForAddress which doesn't implicitly create a Bindings
instance.

This problem doesn't exist on the master branch as the
JMSPostQueueDeletionCallback no longer exists there.
2018-12-10 14:45:22 -06:00
Justin Bertram
11ce7f864e ARTEMIS-1874 fix NPE setting object property
(cherry picked from commit 4d492bea0ee5fb00dcceca9366375cb87d32fe94)
2018-09-28 10:41:40 +02:00
Clebert Suconic
c3fded0be8 ARTEMIS-2053 avoiding data loss after compacting
(manually picked from commit 6b1abd1aadc2d097e3baefeb312c8e68092876ba)
2018-09-05 12:15:59 -04:00
andytaylor
0a28481b2c This closes #2097 ARTEMIS-1876 InVMNodeManager shouldn't be used if no JDBC HA is configured 2018-05-22 10:25:37 +01:00
Francesco Nigro
6b5f9d943c ARTEMIS-1876 InVMNodeManager shouldn't be used if no JDBC HA is configured
When database persistence and no shared store option is being used,
Artemis is choosing to use InVMNodeManager, that is not providing
the same behaviour of FileLockNodeManager.

(cherry picked from commit f886c0bdb451c947143fba6cf07cbf8ce7f3ff4d)
2018-05-22 09:44:16 +02:00
Clebert Suconic
b1538e7c48 Revert "[ARTEMIS-1770] Log warning when connection is closed"
This reverts commit 20aed7f864ad1f2a549a155f2b8e689b8850e7c4.
2018-05-02 11:30:20 -04:00
Clebert Suconic
3e9ee356fc This closes #2048 2018-04-30 20:43:39 -04:00
JiriOndrusek
0dd84db98f [ARTEMIS-1823] - Log warning on boot when persistence is disabled and paging enabled
no tests are needed as this is a simple logging change.

cherry-picked from 04d8390513b8e33c744cb2e98675229b4956b92e
2018-04-27 08:40:36 +02:00
Francesco Nigro
adb11b88ad ARTEMIS-1784 JDBC NodeManager should just use DMBS clock
(cherry picked from commit 6e9195224c163090e485e0d76c6b4418a583fb75)
2018-04-19 14:32:10 +02:00
Francesco Nigro
9fe47f77d4 ARTEMIS-1813 DB2 should avoid Blob to append data
(cherry picked from commit 998be38348b523dda744bba10826cc35a7e4b9d7)
2018-04-18 17:49:09 +02:00
Francesco Nigro
0767e13f11 ARTEMIS-1810 JDBCSequentialFileFactoryDriver should check <=0 read length
(cherry picked from commit 3d30a98b23ae6bd17db8c44efaae2955f308d13e)
2018-04-18 17:27:21 +02:00
Francesco Nigro
3388f68fea ARTEMIS-1788 JDBC HA should use JDBC Network Timeout
(cherry picked from commit 1a3c1feb0a6a352a2ca4088b19f3d3b9b46a4833)
2018-04-18 17:06:21 +02:00
Clebert Suconic
e3f426b4e3 This closes #2028 2018-04-18 09:53:17 -04:00
Francesco Nigro
0da630be50 ARTEMIS-1653 Allow database tables to be created externally
(cherry picked from commit c7651853cdb291dfa3bd2906e1e082fd06cff612)
2018-04-18 09:53:17 -04:00
Niels Lippke
af15fc43c6 ARTEMIS-1653 Allow database tables to be created externally
(cherry picked from commit eab498456762c3df0f786b1f9ae4e372fdbbfa32)
2018-04-18 09:53:17 -04:00
Clebert Suconic
9b534f8ce2 This closes #2029 2018-04-18 09:51:17 -04:00
Francesco Nigro
9a42280dce ARTEMIS-1806 JDBC Connection leaks
(cherry picked from commit bbb2f708dd86d681a02237aa1b7c366668af37d4)
2018-04-18 09:51:16 -04:00
Clebert Suconic
502b317058 This closes #2018 2018-04-17 10:58:34 -04:00
Clebert Suconic
3c54609278 ARTEMIS-1776 Blocked Bridge is not resuming after reconnect
This is still part of ARTEMIS-1776 fix, which still part of the same release as we are on now.
Hence I'm not opening a new JIRA for this one.

Cherry-picked from e5bce13316f7e81bb15a12592622df2ea2632a35
2018-04-11 08:28:19 +02:00
Clebert Suconic
2c73bd0462 ARTEMIS-1776 Asynchronous Flow control on the bridge
Cherry-picked from 70bdfe760393a9d7d17ec175ea68ce83819fe83c
2018-04-10 16:44:07 +02:00
Howard Gao
1e6e1f77d0 ARTEMIS-1621 Make producerWindowSize configurable on clusterconnection bridges
The cluster connection bridge hard codes its producerWindowSize to -1
(meaning no producer flow control) even if you configure it otherwise.

Cherry-picked from 98ce31bf588a314a0408216e4ad4b85597a15186
2018-04-10 16:29:47 +02:00
Clebert Suconic
a45d90a8d7 This closes #1995 2018-04-05 13:38:23 -04:00
Radovan Stancel
20aed7f864 [ARTEMIS-1770] Log warning when connection is closed 2018-04-05 18:53:05 +02:00
Clebert Suconic
360f8425f4 This closes #1976 2018-03-29 11:07:41 -04:00
Francesco Nigro
15e5debafc ARTEMIS-1774 Node Manager Store table name should be configurable
(cherry picked from commit 83d6f7dd8045221bc2b0996df3944a6c98155c68)
2018-03-29 16:46:04 +02:00
Clebert Suconic
f0729f1c62 NO-JIRA Adding Travis config on 1.x 2018-03-28 12:48:23 -04:00
Clebert Suconic
9d1f762d43 NO-JIRA Script to rebase donation on 1.x
This is useful when looking for old JIRAs fixed in HornetQ and looking for root cause of old changes.
2018-03-28 11:58:26 -04:00
Clebert Suconic
94877c1cf2 This closes #1976 2018-03-28 11:54:16 -04:00
Francesco Nigro
74a0b15710 ARTEMIS-1760 JDBC HA should have configurable tolerance of DB time misalignment
(cherry picked from commit 4842ebe328f8bc2702735adf624773f252d014aa)
2018-03-28 11:54:15 -04:00
Francesco Nigro
9426f7a3c8 ARTEMIS-1757 Improve DB2 compatibility
(cherry picked from commit f5868a94e1a1534ddb8a44c854c132e8b20f1b9d)
2018-03-28 11:54:15 -04:00
Francesco Nigro
717bc8f09a ARTEMIS-1762 JdbcNodeManager shouldn't be used if no HA is configured
(cherry picked from commit 3b8da88989f680fca0ef178312c017a6d0b14ff2)
2018-03-28 11:54:15 -04:00
Francesco Nigro
a9cfc08e67 ARTEMIS-1767 JDBC Lock Acquisition Timeout should behave like the file based version
(cherry picked from commit 6e9ce27a6e36454dafa3749139ae96d45f34b380)
2018-03-28 11:54:15 -04:00
Francesco Nigro
03ff0661b8 ARTEMIS-1640 JDBC NodeManager tests have to be customizable to run on different DBMS
(cherry picked from commit b1422fc3d621699aa6acdf1822f0df05e5260495)
2018-03-28 11:54:15 -04:00
Jeff Mesnil
2a0b9039a3 [ARTEMIS-1590] Properties-based SQLProvider
(cherry picked from commit 938fbd81cbe242504ff6563aa7301e681f80a61c)
2018-03-28 11:54:15 -04:00
Francesco Nigro
f005da6dfd ARTEMIS-1541 Make the JDBC Node Manager more resilient on failures
(cherry picked from commit 70b21725edae28b591b87bb4de0f51364e9cfd50)
2018-03-28 11:54:15 -04:00
Francesco Nigro
a0f3da5d72 ARTEMIS-1509 Add support for JdbcNodeManager into the NettyFailoverTest
(cherry picked from commit 8e8a6f0faf121a03b07b1baa23f5d91ec1cecdc3)
2018-03-28 11:54:15 -04:00
Francesco Nigro
590fbcf1d2 ARTEMIS-1447 JDBC NodeManager to support JDBC HA Shared Store
(cherry picked from commit 95d26b7be37318155680ad43cd84822c5bb8255c)
2018-03-28 11:54:15 -04:00
Clebert Suconic
1a7cd8aabe ARTEMIS-1447 Reuse thread pools on JDBC Locks
(cherry picked from commit 1af6d986a570f4c0db87cdd141fad3c66b84ea92)
2018-03-28 11:54:15 -04:00
Francesco Nigro
565b817592 ARTEMIS-1447 JDBC NodeManager to support JDBC HA Shared Store
(cherry picked from commit 7944a25269d939791bfbc2637e3c649a9137ad45)
2018-03-28 11:54:15 -04:00
Clebert Suconic
b267e8a741 NO-JIRA small doc on ActiveMQScheduledComponent
(cherry picked from commit bc97720bf28e5798c758a2eeffac0ec5f88a42ba)
2018-03-28 11:54:15 -04:00
Clebert Suconic
b097ef381e ARTEMIS-1462 Fixing QueueControlTest
(cherry picked from commit c66a7975e6834293eee52a87689b3a15839b4843)
2018-03-28 11:54:15 -04:00
Francesco Nigro
ed76ecb3c5 ARTEMIS-1462 Allow ActiveMQScheduledComponent initial delay configuration
(cherry picked from commit 40f49ef0bca0cba7fd3df22a807e46e36a59f2c7)
2018-03-28 11:54:15 -04:00
Justin Bertram
846f36e98b This closes #1854 2018-02-12 10:32:20 -06:00
Yeray Borges
de7f6de094 [ARTEMIS-1666] List of prepared transaction details returns Object.toString() instead of Json string 2018-02-12 10:32:19 -06:00
Clebert Suconic
a90adaed51 This closes #1860 2018-02-09 09:10:27 -05:00
Lin Gao
3e212c09db [ARTEMIS-1670] NPE was found in when dropping durable subscriptions from a topic 2018-02-09 15:02:12 +08:00