Commit Graph

101 Commits

Author SHA1 Message Date
Matt Pavlovich 67256c61b1
[AMQ-7309] Update to jakarta.jms/jakarta.jms-api:2.0.3 (#682)
- API update only
 - Throw UnsupportedOperationException
 - Disable activemq-camel from build
 - Formatting fixes
 - Use geronimo-jms for osgi-related artifacts
 - Fix features.xml invalid xml header
 - Add a unit test to confirm JMS 2.0 methods for phase 1 (throw UnsupportedOperationException)
 - Add deliveryTime field to Message
 - Minor formatting fixes
2021-11-10 11:56:04 -06:00
Jean-Baptiste Onofré 66a7d700fb [AMQ-8408] Remove JavaSE requirement in ActiveMQ bundles 2021-10-22 15:52:17 +02:00
Matt Pavlovich 5fe4999a4d [AMQ-8279] Fix type-o when converting new Boolean(true) to Boolean.TRUE 2021-05-26 10:43:17 -05:00
Matt Pavlovich 2cc17a2fa0 [AMQ-8279] Compiler warning cleanups
- Remove unsused imports (exept for generated classes)
 - Convert to T.valueOf on boxed primitives from new T()
2021-05-25 09:34:35 -05:00
Jean-Baptiste Onofré fc80b86ac6
[AMQ-7442] Support JDK11 full build and code style (#647) 2021-05-25 06:55:39 +02:00
Jean-Baptiste Onofré d2851888bf
Merge pull request #551 from coheigea/AMQ-7513
AMQ-7513 - Fix http://activemq.org links
2020-08-11 09:42:43 +02:00
Timothy Bish 742a7f42f0 AMQ-8016 Fix introspection support not checking Boolean class types
Support class should check both primitive and Object based types for
conversion from String to boolean or Boolean targets
2020-07-31 11:42:47 -04:00
Christopher L. Shannon (cshannon) 6c0cb4143d AMQ-7516 - Fix XAConenctionPoolTest after change to make tmFromJndi an
object
2020-07-16 08:18:01 -04:00
Tomasz Adamski 871654ded6 Change org.apache.activemq.jms.pool.XaPooledConnectionFactory#tmFromJndi parameter to Boolean for JCA validation 2020-07-15 14:53:58 +02:00
Christopher L. Shannon (cshannon) 17defa79d4 NO-JIRA: Update branch to 5.17.0-SNAPSHOT after release 2020-07-14 07:27:43 -04:00
Colm O hEigeartaigh fca3b615eb AMQ-7513 - Fix http://activemq.org links 2020-07-10 17:29:01 +01:00
Jean-Baptiste Onofré 334476ac63 [maven-release-plugin] prepare for next development iteration 2020-06-25 07:26:41 +02:00
Jean-Baptiste Onofré 86dd78b1aa [maven-release-plugin] prepare release activemq-5.16.0 2020-06-25 07:26:13 +02:00
Jean-Baptiste Onofré 6908749c2f Fix version 2020-06-25 07:13:04 +02:00
Jean-Baptiste Onofré ff2dae82f3 [maven-release-plugin] prepare release activemq-5.16.0 2020-06-24 21:56:52 +02:00
jbonofre 4ed2ba22a9 Cancel 5.16.0 release 2020-06-24 15:19:34 +02:00
Jean-Baptiste Onofré cd1e9f8697 [maven-release-plugin] prepare for next development iteration 2020-06-23 17:40:26 +02:00
Jean-Baptiste Onofré 2e890c6224 [maven-release-plugin] prepare release activemq-5.16.0 2020-06-23 17:39:53 +02:00
jbonofre 88525ce650 [AMQ-7121] Set setter accessible (for JDK 11) 2020-06-22 17:35:49 +02:00
Benjamin Graf 92dec52e1c [AMQ-7131] Add connectionTimeout to avoid starvation 2020-02-26 18:55:35 +01:00
Daniel Trebbien b020cba744 Fix some incorrect SLF4J logger calls
In some cases, there were an inconsistent number of formatting anchors.

In other cases, formatting anchors were used, but because the
trace/debug/info/warn/error(String, Throwable) variant was used, the
string is a message string rather than a format string.

These issues were found by SLF4J Helper for NetBeans IDE:
http://plugins.netbeans.org/plugin/72557/
2020-02-19 08:26:36 +00:00
Daniel Trebbien 7b528ecee7 Fix some typos 2020-02-19 08:01:41 +00:00
Daniel Trebbien 210f583cbd Utilize parameterized logging 2020-02-19 07:40:38 +00:00
Pascal Schumacher dac97e6294 [AMQ-7401] Make double-checked locking thread-safe by declaring the field volatile. 2020-02-10 19:06:17 +01:00
Colm O hEigeartaigh 892c9e2a2d AMQ-7295 - Update JTA spec 2019-10-16 14:28:17 +01:00
gtully efc857fc1f AMQ-7233 - ensure sessions are cleaned up on pooledconnection.close before temp dests to ensure temp dests actually get deleted, fix and test 2019-06-19 10:29:33 +01:00
Christopher L. Shannon (cshannon) 525fd29d16 AMQ-6974 - test cleanup 2018-07-27 08:38:58 -04:00
giliva 5b1412ddfd Avoid overflow errors - see KAFKA-4290
Add test for overflow values

Bind test sockets to free ports
2018-07-27 08:32:36 -04:00
gtully 004be56127 AMQ-2659 - make configurable based on xaAckMode, otherwise pure xa case can default to autoack in error. Additional tests 2018-06-13 11:48:43 +01:00
gtully 5b4fb8aa2b [no jira] test to exercise pool setBlockIfSessionPoolIsFull false 2017-09-20 15:37:43 +01:00
Christopher L. Shannon (cshannon) a9fe4e33c3 [maven-release-plugin] prepare for next development iteration 2017-06-27 13:41:28 -04:00
Christopher L. Shannon (cshannon) 5f0d6943cb [maven-release-plugin] prepare release activemq-5.15.0 2017-06-27 13:41:01 -04:00
Benjamin Graf 2a56c6037d AMQ-6506: Increase OSGi version range for package import javax.jms 2016-11-22 19:44:45 +01:00
Hadrian Zbarcea be24a133ef This closes #88 (merged as a65ac586). More file permissions fixes. 2016-11-03 14:26:34 -04:00
Hadrian Zbarcea d5a929c0d2 This closes #205. Won't fix. (fix even more file permissions) 2016-11-03 14:11:40 -04:00
Hadrian Zbarcea d54d046b8a This closes #185. Won't fix. (fix more file permissions) 2016-11-03 11:54:33 -04:00
Timothy Bish be032c9821 Close connection in test to try and release VM transport resources 2016-08-02 10:35:32 -04:00
Christopher L. Shannon (cshannon) 06a21dbbb3 [maven-release-plugin] prepare for next development iteration 2016-08-02 09:03:37 -04:00
Christopher L. Shannon (cshannon) 71cbc65283 [maven-release-plugin] prepare release activemq-5.14.0 2016-08-02 09:02:54 -04:00
Timothy Bish 0706fd0bc1 https://issues.apache.org/jira/browse/AMQ-6350
Allow for PooledConnectionFactory restart after being stopped.
2016-07-11 18:20:08 -04:00
Timothy Bish 27ce49f1c8 Ensure all PooledConnectionFactory instances are stopped at tests end to
ensure that pooled connections are all closed to release VM Transport
resrouces
2016-06-03 18:28:57 -04:00
sprgn 991d69f387 Fix error message typo.
Fix typo from javax.jmx.ConnectionFactory to javax.jms.ConnectionFactory
2016-05-20 15:20:09 +02:00
Timothy Bish 2e64abc38a https://issues.apache.org/jira/browse/AMQ-6290
Close failed connection on start if the reconnect on exception flag is
enabled.
2016-05-11 16:03:19 -04:00
Timothy Bish c81a9348ee Need to test the underlying connection to ensure we aren't using an old
one that isn't cleaned up since each checked grabs a new
PooledConnection wrapper.
2016-05-10 15:41:58 -04:00
Timothy Bish 100c5e0b59 Add waitFor to check that once the async processing kicks in the pool
clears the bad connection and a new one is returned from the pool.
2016-05-09 15:15:43 -04:00
Timothy Bish e3a68717f1 Fix race in test due to async processing of the SecurityException, start
might throw but the connection doesn't fire the exception listener until
afterwards which is what triggers the pool to close the connection.
2016-05-04 17:15:13 -04:00
Timothy Bish 102599ee28 Adds some additional tests for the connection pool around error handling
when JMSSecurityException is returned from the broker.
2016-04-20 18:34:29 -04:00
Timothy Bish b65c0d1be4 https://issues.apache.org/jira/browse/AMQ-5510
https://issues.apache.org/jira/browse/AMQ-5534

PooledConnectioFactory added reconnection support but can break if the
holder of the connection adds their own ExceptionListener as the
PooledConnection doesn't protect the internal ExceptionListener from
replacement which leads to cases where the loaned Connection is not
automatically closed so that the next create returns the same failed
connection.
2016-04-20 09:48:06 -04:00
Timothy Bish 4e6cbcdc5f NO-JIRA Use a real transport connector for the test to prevent failures
in CI.
2016-03-15 11:40:17 -04:00
Timothy Bish 4ecff14030 NO-JIRA Update master version to 5.14.0-SNAPSHOT to match the eventual
release version.
2016-01-20 12:40:20 -05:00