Commit Graph

109 Commits

Author SHA1 Message Date
Christopher L. Shannon 2e0eca7189
AMQ-9161 - Fix javadoc comment so Xbean parsing works (#990)
The previous comment added in PR #989 added a second javadoc comment
which prevent Xbean from generating the correct schema
2023-03-15 07:35:03 -04:00
Matt Pavlovich 04f589e2bd
[AMQ-9161] Mark JDBC JournalPersistenceAdapter as deprecated for removal (#989)
Deprecated for removal as this PersistenceAdapter is no longer used and replaced by the JDBCPersistenceAdapter.
2023-03-14 05:57:50 -04:00
Christopher L. Shannon (cshannon) f83c5f1ba1 AMQ-9175 - Properly set broker on ConnectionContext inside
MemoryTransactionStores

This fixes a NPE when using the messageDelivered advisory and
transactions
2022-11-21 11:03:08 -05:00
Matt Pavlovich 6598ec5717
[AMQ-8977] Upgrade to mockito 4.6.1 (#851) 2022-06-29 09:08:08 -05:00
jbonofre 472dcf8497 [AMQ-7426] Upgrade to log4j2 2022-02-24 15:20:51 +01:00
Jean-Baptiste Onofré b977f8c629
Merge pull request #232 from sturman/master
set name for primary key on create table
2021-03-22 11:12:40 +01:00
gtully 2f40261362 AMQ-8131 - revert treating unmatched as real acks b/c individual acks are not tracked. make use of enableMessageExpirationOnActiveDurableSubs to ensure unmatched can eventually expire 2021-02-01 12:11:30 +00:00
gtully e1b3204407 AMQ-8131 - track unmatched acks in the acks table 2021-01-28 14:46:29 +00:00
gtully 96fa8458ce [AMQ-7394] use canRecoveryNextMessage to base blocking on shared usage, the existing fix regressed AMQ5266Test 2020-05-20 15:15:48 +01:00
jbonofre e9caa75b1a [AMQ-7473] Add stopOnError configuration to stop the broker when locker has an exception 2020-05-13 07:53:00 +02:00
Jean-Baptiste Onofré e20ef34ae0
Merge pull request #495 from jbonofre/AMQ-7425
[AMQ-7425] Simple fix to be sure to delete message from JDBC message store
2020-03-03 17:14:23 +01:00
jbonofre 4528b773c6 [AMQ-7425] Simple fix to be sure to delete message from JDBC message store 2020-03-03 07:36:42 +01:00
jbonofre dcd3d5db3f [AMQ-7394] Simple first fix to use listener.hasSpace() when recovering message from JDBC message store 2020-03-03 06:20:51 +01:00
Jean-Baptiste Onofré 80d06fc186
Merge pull request #481 from jbonofre/AMQ-7424
[AMQ-7424] Prevent NPE during commitRemove() on JDBC adapter
2020-02-29 07:09:56 +01:00
jbonofre d8ae8734a9 [AMQ-7424] Prevent NPE during commitRemove() on JDBC adapter 2020-02-27 21:21:47 +01:00
jbonofre 61bf624c6d [AMQ-7368] Add limitQuery in HSQL, MySQL and PostgreSQL JDBC adapters 2020-02-27 20:34:56 +01:00
Pascal Schumacher 26a0f8214c AMQ-7403: Potential PreparedStatement/ResultSet leak in LeaseDatabaseLocker#determineTimeDifference 2020-02-11 21:12:57 +01:00
Jean-Baptiste Onofré 3c10f6ef86 [AMQ-7008] Add index on messages table to speed up browsing 2019-11-19 08:54:07 +01:00
Jean-Baptiste Onofré d16d7cd172
Merge pull request #276 from chipitsine/master
AMQ-6904 add overrides for ms sql
2019-11-18 17:02:54 +01:00
gtully ed5edb03d7 AMQ-7311 - track recovered prepared ack locations on a per subscriber basis, fix and test 2019-09-26 15:54:57 +01:00
gtully a0f4f1c93d no jira - fix intermittent test failure with two derby instanced in play in error 2019-09-04 17:14:37 +01:00
Jean-Baptiste Onofré 46f8deeb67 [AMQ-6780] Add PostgreSQL version JDBC driver name in jdbc store services 2018-10-19 06:11:14 +02:00
gtully 3ea18f4ed1 fix npe in long time failing ci JournalDurableSubscriptionTest 2018-07-04 10:40:31 +01:00
gtully 72613aaba6 AMQ-6707 - ensure entryLocator is used for rollback of prepared add to avoid NPE, relates to AMQ-5567 2018-05-18 10:32:00 +01:00
gtully bd45d931ba [AMQ-6906] tidy up cleanup on jdbc error and combine updates in single completion to avoid prepared sequence update on non transacted add with error. More jdbc error related tests 2018-05-03 11:32:21 +01:00
gtully ea70e827c0 AMQ-6707 - JDBC XA recovery and completion.
ensure pending transactions are visible for recovery without restart
sync store and cursor size during and after completion
ensure pending messages are not visible to browsers
retain transaction state on jdbc error
a bunch of new tests around xa completion
2018-04-26 14:58:48 +01:00
gtully efaf9cd77e [AMQ-6906] jdbc store; ensure rolled back prepared ack messages are recovered asap 2018-02-28 13:31:12 +00:00
Ilya Shipitsin ee9921bd97 AMQ-6904 add overrides for ms sql 2018-02-24 23:45:10 +05:00
Dejan Bosanac c7291f1ecf https://issues.apache.org/jira/browse/AMQ-6799 - IOExceptionHandler during the startup 2017-08-24 14:04:36 +02:00
gtully b07821ab64 [AMQ-6625] remove kahadbioexceptionhandler by pushing allowIOResumption into persistence adapter. This allows the lease locker to still be used with kahadb for stopStartConnectors support 2017-06-15 17:28:31 +01:00
gtully c50dc6ff00 [AMQ-6693] ignore the long term connection associated with the broker context, fix and test 2017-06-01 12:00:04 +01:00
Christopher L. Shannon (cshannon) 58046194d0 https://issues.apache.org/jira/browse/AMQ-6649
Adding MS SQL jdbc driver 6.1 support
2017-04-10 08:52:05 -04:00
Roman Isko 92da897200 set name for primary key on create table 2017-03-23 13:23:15 +02:00
Benjamin Graf 8bc3ee29cd AMQ-6057: Add performance patch to JDBC statements definition 2016-11-23 10:46:58 +01:00
Dominik Przybysz 0d90a2a683 Delete redundant persistenceAdapter.getTransactionContext 2016-11-03 14:02:01 -04:00
Hadrian Zbarcea d54d046b8a This closes #185. Won't fix. (fix more file permissions) 2016-11-03 11:54:33 -04:00
Christopher L. Shannon (cshannon) b9fad53fc6 https://issues.apache.org/jira/browse/AMQ-6067
The JDBCMessageStore now checks hasSpace() when running a message
recovery listener to prevent going past the max configured page size
2016-08-26 13:46:42 -04:00
Christopher L. Shannon (cshannon) cf3d419528 https://issues.apache.org/jira/browse/AMQ-6375
Adding non-blocking metrics to KahaDB to track message counts and sizes
for subscriptions.  Turned off by default but can be enabled on the
KahaDBPersistenceAdapter
2016-07-26 12:02:44 -04:00
gtully 2a815c2e08 AMQ-6370 - move cleanup lock to connection allocation to avoid contention with between store and connection pool. pool connection grant or block is now guarded by store lock which lasts till connection is closed 2016-07-21 10:54:40 +01:00
Christopher L. Shannon (cshannon) 4b2760e749 NO-JIRA: Adding missing header 2016-07-14 09:49:47 -04:00
Jeroen Bastijns 03a211ec06 AMQ-6317: Use an SQL Statement for each createSchemaStatement
closes #190
2016-06-28 15:57:17 +01:00
Dejan Bosanac 2e00891827 https://issues.apache.org/jira/browse/AMQ-6278 - revisit LeaseDatabaseLocker log levels 2016-05-03 14:53:31 +02:00
gtully 13ec994939 Revert "https://issues.apache.org/jira/browse/AMQ-4495 - revisit. Reinstate check for space on pagein, so that highWaterMark is respected and full state is not reached, hense pfc is not triggered in error"
This reverts commit d8cf54b0a9.
2016-03-07 16:26:25 +00:00
gtully d8cf54b0a9 https://issues.apache.org/jira/browse/AMQ-4495 - revisit. Reinstate check for space on pagein, so that highWaterMark is respected and full state is not reached, hense pfc is not triggered in error 2016-03-01 11:44:41 +00:00
Dejan Bosanac 78c959a5c4 https://issues.apache.org/jira/browse/AMQ-6049 - limit query results 2015-11-18 13:03:24 +01:00
Christopher L. Shannon (cshannon) 734fb7dda3 https://issues.apache.org/jira/browse/AMQ-5923
Adding metrics to track the pending message size for a queue and for
subscribers.  This is useful so that not only the pending count is
known but also the total message size left to consume. Also improving
the message size store tests as well.
2015-09-09 18:12:15 +00:00
Christopher L. Shannon (cshannon) 457dbd8b64 https://issues.apache.org/jira/browse/AMQ-5919
Converting printStackTrace statements to slf4j so that exceptions
are logged properly
2015-08-05 16:29:29 +00:00
gtully 7c116631b5 AMQ-5266 - fix leak in transaction context - completions were not cleared on close/commit 2015-07-17 12:31:29 +01:00
gtully 3985e7225f https://issues.apache.org/jira/browse/AMQ-5853 - fix cacheEnabled case - additional test and fix for both jdbc and kahadb stores 2015-07-09 10:30:54 +01:00
Christopher L. Shannon (cshannon) 785b16bf9e https://issues.apache.org/jira/browse/AMQ-5748
Added a getMessageSize method to MessageStore to support retrieving the
total message size of all stored messages for a destination.  Added a
new storeMessageSize statistic to DestinationStatistics.
2015-07-07 18:03:27 +00:00