Commit Graph

5223 Commits

Author SHA1 Message Date
Clebert Suconic f37df329d9 This closes #2046 2018-04-25 14:53:52 -04:00
Justin Bertram 6598ab271f ARTEMIS-1830 only return prepared txns with listPreparedTxns mgmnt op 2018-04-25 12:45:23 -05:00
Howard Gao 932f0f4086 This closes #2036 2018-04-24 11:33:35 +08:00
Justin Bertram a2ade00a54 ARTEMIS-1821 LDAPLoginModule always returns true on commit() 2018-04-24 11:16:53 +08:00
Howard Gao d1c3ed5543 This closes #2013 2018-04-24 11:11:11 +08:00
Stanislav Knot 60264346da ARTEMIS-1805 fix for broker operations in hawtio 2018-04-24 10:58:15 +08:00
Timothy Bish 9d60b93ecb This closes #2031 2018-04-20 10:35:02 -04:00
Francesco Nigro 4d27f2e7d7 ARTEMIS-1816 OpenWire should avoid ByteArrayOutputStream lazy allocation
OpenWireMessageConverter::toAMQMessage on bytes messages is lazy
allocating a write buffer with a default size of 1024 even when
it won't be used to write anything.
It avoid an useless allocation by reducing it to new byte[0].
2018-04-20 10:26:33 -04:00
Clebert Suconic aa2f4f7bc5 This closes #2033 2018-04-19 13:28:30 -04:00
Justin Bertram 106c52a741 ARTEMIS-1793 fix property detection 2018-04-19 13:28:30 -04:00
Clebert Suconic 3a45f91092 This closes #2030 2018-04-19 12:07:02 -04:00
Otavio Rodolfo Piske af061f7db4 Adds the Travis CI build status label on the README 2018-04-19 16:45:58 +02:00
Clebert Suconic a8c3e1b5fe This closes #2004 2018-04-18 12:02:15 -04:00
Justin Bertram a72046a0e3 ARTEMIS-1793 fix 'destination-type' STOMP header (fix) 2018-04-18 11:53:54 -04:00
Justin Bertram 37bc26e574 ARTEMIS-1793 fix 'destination-type' STOMP header (test) 2018-04-18 11:53:31 -04:00
Clebert Suconic 5ca690b3d0 This closes #2027 2018-04-18 09:54:35 -04:00
Francesco Nigro fdb63df392 ARTEMIS-1784 JDBC NodeManager should just use DMBS clock
It avoid using the system clock to perform the locks logic
by using the DBMS time.
It contains several improvements on the JDBC error handling
and an improved observability thanks to debug logs.
2018-04-18 09:54:34 -04:00
Justin Bertram 7fa8c55f43 This closes #2024 2018-04-18 08:49:01 -05:00
Clebert Suconic 1e9f76f45a ARTEMIS-1814 Try original connection when every other node failed 2018-04-17 17:00:05 -04:00
Clebert Suconic 54ada0e7a5 This closes #2025 2018-04-17 16:58:44 -04:00
Pat Fox 6df09d6e12 ARTEMIS-1815 adding exclusive-queue example 2018-04-17 16:58:30 -04:00
Clebert Suconic 6b74e2ce8e ARTEMIS-857 Fixing QueueControlUsingCoreTest failures after JMX changes 2018-04-17 16:12:45 -04:00
Clebert Suconic ec9882c553 This closes #2026 2018-04-17 15:10:15 -04:00
Clebert Suconic 31baba1e16 NO-JIRA Adding example to run-examples.sh 2018-04-17 15:10:15 -04:00
Clebert Suconic 186bc4464c NO-JIRA fixing checkstyle on virtual topic mapping example 2018-04-17 15:10:15 -04:00
Clebert Suconic 1f4e7be007 NO-JIRA Adding examples verification into travis 2018-04-17 15:10:15 -04:00
Timothy Bish 98da402fb6 NO-JIRA Fix a couple random test failures
Need to add a couple wait conditions to ensure valid stats are checked.
2018-04-17 12:31:26 -04:00
Clebert Suconic ae8b261c4d This closes #2022 2018-04-17 11:44:44 -04:00
Francesco Nigro 998be38348 ARTEMIS-1813 DB2 should avoid Blob to append data
DB2 10.5 doesn't allow to append Blob data to an existing Blob,
producing unexpected errors: a custom DB2 sequential file
can perfom the append by using a customized UPDATE statement.
max-blob-size.db2 and create-file-table.db2 are changed to match the
2 GB max blob size limit allowed by DB2.
2018-04-17 11:44:44 -04:00
Clebert Suconic 9247eaadc8 This closes #1987 2018-04-17 11:42:42 -04:00
Tomas Hofman a8d0db2c14 ARTEMIS-1781 Connector parameters not backward compatible (Fix) 2018-04-17 11:38:19 -04:00
Tomas Hofman 284c620f55 ARTEMIS-1781 Connector parameters not backward compatible (Adding test) 2018-04-17 11:37:38 -04:00
Clebert Suconic e94e5b003c This closes #2016 2018-04-17 11:00:45 -04:00
Francesco Nigro e310bb68b1 ARTEMIS-1808 LargeServerMessageImpl leaks direct ByteBuffer
largeMessagesFactory::newBuffer could create a pooled direct ByteBuffer
that will not be released into the factory pool: using a heap ByteBuffer
will perform more internal copies, but will make it simpler to be garbage
collected.
2018-04-17 11:00:45 -04:00
Clebert Suconic 90b9a9809a This closes #2021 2018-04-17 10:59:06 -04:00
Howard Gao f29eeee167 NO-JIRA: Fix test regression
QuorumFailOverTest.testQuorumVotingLiveNotDead fails
because the quorum vote takes longer time to finish than
the test expects to.
(The test used to pass until commit ARTEMIS-1763)
2018-04-17 10:59:05 -04:00
Clebert Suconic 59162653a4 This closes #2019 2018-04-17 10:43:28 -04:00
Francesco Nigro 3d30a98b23 ARTEMIS-1810 JDBCSequentialFileFactoryDriver should check <=0 read length
In order to avoid out of bounds reads to happen, the reading of the file
should avoid those readings to hit the DMBS and just return the expected
value.
2018-04-17 10:43:28 -04:00
Clebert Suconic 95e9e6e2b6 This closes #1997 2018-04-17 10:41:15 -04:00
Francesco Nigro c7651853cd ARTEMIS-1653 Allow database tables to be created externally
The previous commit about this feature wasn't using the row count query
ResultSet.
The mechanics has been changed to allow the row count query
to fail, because DROP and CREATE aren't transactional and immediate
in most DBMS.
It includes a test that stress its mechanics if used with DBMS like
DB2 10.5 and Oracle 12c.
Additional checks and logs have been added to trace each steps.
2018-04-17 10:41:14 -04:00
Clebert Suconic 8f4042c40c This closes #2003 2018-04-17 10:40:20 -04:00
Francesco Nigro 469d6baa93 ARTEMIS-1788 JDBC HA should use JDBC Network Timeout
JdbcNodeManager is configured to use the same network timeout
value of the journal and to validate all the timeout values
related to a correct HA behaviour.
2018-04-17 10:40:20 -04:00
Clebert Suconic 65be0f2041 This closes #2014 2018-04-17 10:38:53 -04:00
Francesco Nigro bbb2f708dd ARTEMIS-1806 JDBC Connection leaks
The JDBC Connection leaks on:
- JDBCFileUtils::getDBFileDriver(DataSource, SQLProvider)
- SharedStoreBackupActivation.FailbackChecker::run on a failed awaitLiveStatus
2018-04-17 10:38:53 -04:00
Howard Gao 1118bdb65e This closes #2023 2018-04-17 16:36:19 +08:00
Michael André Pearce af91d3ac82 ARTEMIS-857 Add JMX endpoints to view and reset groups
Expose method to return current mappings of groups to consumers
Expose methods to reset (remove) specific group mapping from groupID to Consumer
Expose methods to reset (remove) all group mappings
2018-04-17 15:54:33 +08:00
Howard Gao 7156b61408 This closes #1951 2018-04-17 11:16:46 +08:00
Stanislav Knot 49bb442499 ARTEMIS-1744 fix removing addresses and queues with '*' or '?' in their names via hawtio console 2018-04-17 11:16:08 +08:00
Howard Gao edd25d7c8d This closes #1988 2018-04-17 11:12:49 +08:00
Stanislav Knot 6537877d7a ARTEMIS-1782 fix for displaying hawtio console sub-level tabs 2018-04-17 11:11:49 +08:00