Commit Graph

7968 Commits

Author SHA1 Message Date
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 91a0041915 https://issues.apache.org/jira/browse/AMQ-5016
Added test and a fix.
2014-06-11 14:20:00 -04:00
gtully 1c75360ded remove duplicate slf4j-log4j12 dep b/c it is in activemq-all from https://issues.apache.org/jira/browse/AMQ-3715 2014-06-10 14:22:37 +01:00
Timothy Bish cfce36197e https://issues.apache.org/jira/browse/AMQ-5086
Avoid a possible uneeded wait.
2014-06-09 16:21:00 -04:00
Timothy Bish 5016c4d4f2 https://issues.apache.org/jira/browse/AMQ-5086
Ensure that wait for started on vm transport factory actually waits for
start, currently it doesn't really check started or wait porperly.
2014-06-09 15:40:03 -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
gtully 27b3a7c344 https://issues.apache.org/jira/browse/AMQ-5212 - ensure uncontented access to concurrent destination map avoides deadlock, rerework https://issues.apache.org/jira/browse/AMQ-4952 to differenciate duplicates from send and recovered messages from the store. https://issues.apache.org/jira/browse/AMQ-3454 benefits from getDestinationMap(destination) to get direct access to the map to determine existance. Additional test 2014-06-09 12:32:33 +01:00
gtully 785faa06be disable autofail system.exit - it kills a surefire forked test run 2014-06-09 12:32:32 +01:00
Dejan Bosanac 845e62af76 https://issues.apache.org/jira/browse/AMQ-5218 - DestinationsPlugin 2014-06-09 12:48:02 +02:00
Timothy Bish b1d46e45c6 https://issues.apache.org/jira/browse/AMQ-5211
Throw an exception if the destination name is empty.
2014-06-06 12:05:17 -04:00
Kevin Earls 07dad1cd55 Fixed config file paths for Windows AMQ-5216 2014-06-06 16:09:52 +02:00
Timothy Bish b8830ddab1 Convert to JUnit 4 test and add a timeout, also remove the tcp transport
connector on a fixed port as its not needed.
2014-06-05 17:52:01 -04:00
Timothy Bish 707940f1a6 https://issues.apache.org/jira/browse/AMQ-5214
Check for security error on responses and log a warning so there is a
record of the event
2014-06-05 16:16:01 -04:00
Timothy Bish 25f1fe8460 https://issues.apache.org/jira/browse/AMQ-5213
Adds a Log4JConfigViewMBean for use in configuring runtime logger
levels.
2014-06-05 14:39:56 -04: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
Krzysztof Sobkowiak 25600944e6 AMQ-5167 ActiveMQ web-cosole fails to start in Karaf - missing import 2014-06-05 11:33:24 +02:00
Timothy Bish 35aaed4799 https://issues.apache.org/jira/browse/AMQ-5193
ensure that java source files are excluded from the shaded activemq-all
jar, these files are included in the uber-src jar
2014-06-04 15:10:56 -04:00
Timothy Bish 6c703ac6ee https://issues.apache.org/jira/browse/AMQ-5209
Add MessageId and original destination info to the advisory message
properties.
2014-06-04 13:30:42 -04: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
Dejan Bosanac e23519b06a release plugin config 2014-06-04 11:22:23 +02:00
Dejan Bosanac 09c470ac99 config release plugin 2014-06-04 10:50:12 +02:00
Dejan Bosanac 1591960887 fixing licenses 2014-06-03 14:03:28 +02:00
Dejan Bosanac 14fcd7cbea https://issues.apache.org/jira/browse/AMQ-5160 - make runtime configuration plugin work properly with destination filters 2014-06-03 13:26:43 +02:00
Dejan Bosanac a4682fcb47 https://issues.apache.org/jira/browse/AMQ-5176 - use scala 2.11 in karaf 2014-06-03 13:23:39 +02:00
Dejan Bosanac aa2dfb60aa https://issues.apache.org/jira/browse/AMQ-5160 - fix XBeanConfigTest test 2014-06-02 17:50:28 +02:00
Dejan Bosanac 3ba129561c https://issues.apache.org/jira/browse/AMQ-5160 - start/stop wrapped policy 2014-06-02 13:22:25 +02:00
Dejan Bosanac 7bfbce9a54 minor cleanup 2014-05-29 16:41:07 +02:00
Dejan Bosanac e9126f3513 ignore JmsClientRequestResponseTest until we have qpid/proton libs with appropriate fixes 2014-05-29 16:41:06 +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
Timothy Bish f2653e6936 Clean up a bit, remove commented out code from other transports. 2014-05-28 15:27:34 -04:00
Dejan Bosanac b5c6c1eaeb https://issues.apache.org/jira/browse/AMQ-5162 - introduce handleStartException configuration parameter, to make stopping of the slave broker optional 2014-05-27 15:20:27 +02:00
Dejan Bosanac 9d656731ab https://issues.apache.org/jira/browse/AMQ-4555 - fix regression that groupClass cannot be set on <cachedLDAPAuthorizationMap/> 2014-05-26 16:42:38 +02:00
Dhiraj Bokde 6c859676b3 Fixed AMQ-5160, fixed durable subscription retroactive recovery 2014-05-26 11:07:19 +02:00
Dhiraj Bokde 42ad1039cb Fixed AMQ-5160, restored previous DurableSubscription behaviour of only recovering messages when cursor is empty, retained messages are always recovered 2014-05-26 11:07:19 +02:00
Dhiraj Bokde 8644090377 Fixed AMQ-5160, fixed race condition for retained messages 2014-05-26 11:07:19 +02:00
Dhiraj Bokde c915b19a20 Fixed AMQ-5160, removed producer's retain property from retained messages 2014-05-26 11:07:19 +02:00
Dhiraj Bokde 78950ec596 Fixed AMQ-5160, changed DurableTopicSubscription to only recover retroactive messages for retroactive topics or consumers 2014-05-26 11:07:19 +02:00
Dhiraj Bokde 70f7c5805c Fixed AMQ-5160, fixed test testNoMessageReceivedAfterUnsubscribeMQTT 2014-05-26 11:07:19 +02:00
Dhiraj Bokde 0a39782bf5 Fixed AMQ-5160, polished MQTT tests 2014-05-26 11:07:19 +02:00
Dhiraj Bokde 88c6ee97e0 Fixed AMQ-5160, remove durable subscription in onUnsubscribe() 2014-05-26 11:07:19 +02:00
Dhiraj Bokde 8947a09eaa Fixed AMQ-5160, force durable subscriptions to always recover retroactive messages 2014-05-26 11:07:19 +02:00
Dhiraj Bokde b36adffe71 Fixed AMQ-5160, removed redundant MQTTRetainedMessages 2014-05-26 11:07:19 +02:00
Dhiraj Bokde 5576dc5d74 Fixed AMQ-5160, fixed browse() to include messages from wrapped policy 2014-05-26 11:07:18 +02:00
Dhiraj Bokde a581d010aa Fixed AMQ-5160, Added RegionBroker.getConnectionContext(), made Topic.recoverRetroactiveMessages() public to force message recovery from MQTTProtocolConverter for duplicate subscriptions, added new tests for retained messages and JMX interoperability 2014-05-26 11:07:18 +02:00
Dhiraj Bokde bcb60a482c Partial fix for AMQ-5160, attempts to resolve retained messages using subscription recovery policy, but fails to resend retained messages for duplicate subscriptions 2014-05-26 11:07:18 +02:00
Timothy Bish ba519d8bd3 https://issues.apache.org/jira/browse/AMQ-5195
Use largest incoming capaity value, broker will do flow control based on
destination policies.
2014-05-23 11:26:55 -04:00