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
Christopher L. Shannon (cshannon)
cfb4ca9f54
[maven-release-plugin] prepare for next development iteration
2015-11-30 13:48:58 +00:00
Christopher L. Shannon (cshannon)
abfe038ddf
[maven-release-plugin] prepare release activemq-5.13.0
2015-11-30 13:48:11 +00:00
Christopher L. Shannon (cshannon)
7c7c505057
https://issues.apache.org/jira/browse/AMQ-5990
...
Disabling JMX for the Commons Pool implementation inside of
PooledConnectionFactory. In the future if we want JMX we should
enable our own JMX stats that are independent of Commons Pool.
2015-10-01 18:08:37 +00:00
Christopher L. Shannon (cshannon)
04ee70a161
https://issues.apache.org/jira/browse/AMQ-5889
...
Adding support for auto detection of wire protocols over a transport.
OpenWire, AMQP, STOMP, and MQTT can all be detected and the broker
will properly handle each one over a given Transport. Currently
auto TCP, NIO, SSL, and NIO+SSL transports can handle auto-detection
of the wire format and client but support could be added in the
future for other transports like websockets.
2015-08-11 19:39:29 +00:00
Timothy Bish
6cdd750ddc
[maven-release-plugin] prepare for next development iteration
2015-08-10 11:04:26 -04:00
Timothy Bish
a9eeb03520
[maven-release-plugin] prepare release activemq-5.12.0
2015-08-10 11:04:17 -04:00
gtully
a05a9a2129
https://issues.apache.org/jira/browse/AMQ-5552 - added profile for activemq.tests=smoke to run a fast subset of tests that gives a fast verification of a full build
2015-07-09 14:10:38 +01:00
Timothy Bish
9ef4259297
https://issues.apache.org/jira/browse/AMQ-5616
...
Use ConcurrentMap in declarations
2015-04-28 11:15:08 -04:00
Jeff Genender
4441001c42
Updated API for commons-pool2
2015-04-16 16:01:39 +02:00
Jeff Genender
6d6ed4eaaf
AMQ-5721 - Update ActiveMQ to use commons-pool2 instead of commons-pool.AMQ-5636 will need it. The JMS pool and other components should use it as well.
2015-04-16 16:01:39 +02:00
Timothy Bish
e6597c4604
https://issues.apache.org/jira/browse/AMQ-4441
...
Cleanup the test suite, disble unused broker features and add timeouts
etc.
2015-02-18 12:55:54 -05:00
Timothy Bish
f91abd3d46
https://issues.apache.org/jira/browse/AMQ-5564
...
Fixed session in the pool losing their reference to the anonymous
producer created when useAnonymousProducers is true. The anonymous
producer stays live for the life of the pooled session.
Also added some synchronization safety to some methods that could get
into NPE trouble.
2015-02-05 17:50:43 -05:00
gtully
ae595c95b1
[maven-release-plugin] prepare for next development iteration
2015-01-30 12:46:19 +00:00
gtully
4ba1a1689f
[maven-release-plugin] prepare release activemq-5.11.0
2015-01-30 12:46:08 +00:00
gtully
bf5a2997c7
[maven-release-plugin] prepare for next development iteration
2015-01-26 16:48:46 +00:00
gtully
eec2955bde
[maven-release-plugin] prepare release activemq-5.11.0
2015-01-26 16:48:37 +00:00
gtully
64fa706d54
Revert "[maven-release-plugin] prepare release activemq-5.11.0"
...
This reverts commit f47fbe4b89
.
2015-01-26 16:39:35 +00:00
gtully
f47fbe4b89
[maven-release-plugin] prepare release activemq-5.11.0
2015-01-26 16:17:43 +00:00
Dejan Bosanac
b53d8ea295
https://issues.apache.org/jira/browse/AMQ-5534 - generic jms pool reconnection
2015-01-22 12:51:11 +01:00
Hadrian Zbarcea
aedcae139b
Revert "[maven-release-plugin] prepare release activemq-5.11.0"
...
This reverts commit 48b0cf396c
.
2015-01-05 12:25:58 -05:00
Hadrian Zbarcea
89995f4723
Revert "[maven-release-plugin] prepare for next development iteration"
...
This reverts commit 7b285c6f52
.
2015-01-05 12:25:47 -05:00
Dejan Bosanac
7b285c6f52
[maven-release-plugin] prepare for next development iteration
2014-12-29 12:44:32 +01:00
Dejan Bosanac
48b0cf396c
[maven-release-plugin] prepare release activemq-5.11.0
2014-12-29 12:44:20 +01:00
Dejan Bosanac
9f53e2bcae
adding missing licences
2014-12-29 12:25:04 +01:00
Timothy Bish
1ee5108be6
Disable JMX on the test brokers as it's not needed in these tests,
...
prevents some failures and speeds things up a little.
2014-07-30 09:40:09 -04:00
Timothy Bish
b432173cfc
https://issues.apache.org/jira/browse/AMQ-5268
...
Explicity set the properties from the generic JMS pooled
connectionfactory as the introspection based tools can easily get stuck
on getters that cause recursion or on inner types that have methods
which allow chaining.
2014-07-10 19:03:31 -04:00
Timothy Bish
c6d0aaa81b
https://issues.apache.org/jira/browse/AMQ-5258
...
Fixed, early created connection is closed so that it can expire or error
out as needed.
2014-07-07 14:29:21 -04:00
Timothy Bish
7ceb4d0c8e
https://issues.apache.org/jira/browse/AMQ-5223
...
Added the bundle packaging option
2014-06-13 12:35:13 -04:00
Timothy Bish
577b29c0e5
https://issues.apache.org/jira/browse/AMQ-5224
...
Support for XAConnectionFactory that do not implement ConnectionFactory
2014-06-13 12:30:17 -04:00
Timothy Bish
459593c427
https://issues.apache.org/jira/browse/AMQ-5224
...
Ensure PooledConnectionFactory implements QueueConnectionFactory and
TopicConnectionFactory
2014-06-13 11:18:24 -04:00
Timothy Bish
9ae22642dc
https://issues.apache.org/jira/browse/AMQ-5224
...
Fix some JavaDocs
2014-06-13 11:09:56 -04:00
Timothy Bish
878e3a16ca
https://issues.apache.org/jira/browse/AMQ-5226
...
Ensure that connections are returned when created and then handed out as
FIFO after that.
2014-06-13 10:30:39 -04:00
Timothy Bish
f395c70608
https://issues.apache.org/jira/browse/AMQ-5015
...
Refactor the way sessions are pooled. We don't need to keep the
PooledSession instances around since the state is unique to the session
it wraps we only need to keep the Session instances in the SessionPool
and create a new PooledSession on borrow to manage that session. This
allows the PooledSession to have a real closed state that protects
against multiple close calls placing duplicate PooledSession instances
into the SessionPool. This also simplifies the code in the
XaConnectionPool since it doesn't need to try and reset state in
PouledSessions before placing them back as it gets a fresh wrapper each
time with the correct state.
2014-06-12 19:12:56 -04:00
Timothy Bish
77713d9d1a
Convert the JUnit 4 test so that the ignore is honoered.
2014-06-09 10:24:58 -04:00
gtully
736ffc9b96
test case that shows something is wrong with start logic on pooled connection factory, the vm test variant was getting serialized on the broker vm transport server
2014-06-09 14:21:24 +01:00
Dejan Bosanac
fa086396a7
[maven-release-plugin] prepare for next development iteration
2014-06-05 11:59:29 +02:00
Dejan Bosanac
58dd93e42e
[maven-release-plugin] prepare release activemq-5.10.0
2014-06-05 11:59:17 +02:00
Timothy Bish
be0311bea0
Add a couple tests for concurrent create an unique connections being
...
created.
2014-06-04 12:19:34 -04:00
Dejan Bosanac
c2cf78542f
[maven-release-plugin] prepare for next development iteration
2014-06-04 11:33:17 +02:00
Dejan Bosanac
5bc741f227
[maven-release-plugin] prepare release activemq-5.10.0
2014-06-04 11:33:03 +02:00
Timothy Bish
9f78f82378
https://issues.apache.org/jira/browse/AMQ-5189
...
Set all session properties back using a session listener close event so
that the returned session is not modified after it's already been
re-dispatched from the pool.
2014-05-29 10:33:09 -04:00
Christian Posta
dc607bbf35
Enhancement for https://issues.apache.org/jira/browse/AMQ-5076 -- pooled session creation blocks
2014-02-27 08:41:16 -07:00
gtully
95d20e5b47
https://issues.apache.org/jira/browse/AMQ-4991 - fix npe and reinstate test
2014-01-24 13:31:44 +00:00
Timothy Bish
2a7c349976
https://issues.apache.org/jira/browse/AMQ-4968
...
Add non-caching mode for Session producers.
2014-01-13 14:05:04 -05:00
Timothy Bish
d872994260
polish
2013-11-04 16:51:09 -05:00
gtully
864aa6798f
[maven-release-plugin] prepare for next development iteration
2013-10-14 23:38:35 +01:00
gtully
87c9bbebac
[maven-release-plugin] prepare release activemq-5.9.0
2013-10-14 23:38:22 +01:00
gtully
ee0933c71e
[maven-release-plugin] prepare for next development iteration
2013-10-11 14:51:36 +01:00
gtully
b276006911
[maven-release-plugin] prepare release activemq-5.9.0
2013-10-11 14:51:24 +01:00
gtully
4f108cead5
fix up missing license headers - keep mr. rat happy :-)
2013-10-10 11:41:58 +01:00
gtully
b66559ee07
https://issues.apache.org/jira/browse/AMQ-4757 activemq-jms-pool a generic jms xa pool derived from activemq-pool which activemq-pool now extends with amq specifics
2013-09-30 23:09:25 +01:00