Commit Graph

8304 Commits

Author SHA1 Message Date
Timothy Bish e957937f08 https://issues.apache.org/jira/browse/AMQ-5269
Use a selector based accept when the transport socket has a selectable
channel which is the case for all the NIO transport.  Can reduce the
time it takes to close down the transport speeding up tests.
2014-07-10 16:32:44 -04:00
Daniel Kulp 7fe431b21f Cleanup in ConnectTest to do two things:
1) connect/disconnect 500 (which still seems high) times instead of as many as possible in 25seconds.  On fast machines, this is MUCH faster.
2) Actually call Thead.start(), not Thread.run() in cases where it should be on a background thread.
2014-07-10 15:28:43 -04:00
Daniel Kulp a498bffdd1 Update to use Java7 2014-07-10 13:47:55 -04:00
Hadrian Zbarcea 5b7bc9057f Update poms to fully load into M2E. Thanks dkulp 2014-07-10 13:47:55 -04:00
Daniel Kulp 06bb7a2716 Update poms to fully load into M2E 2014-07-10 13:47:55 -04:00
Timothy Bish 433912f79a https://issues.apache.org/jira/browse/AMQ-5271
Add an in-memory variant of the disk based JobScheduler store to allow
for an embedded broker to have scheduler support without needing to use
the disk based version.
2014-07-10 12:16:34 -04:00
Kevin Earls 2b53036b27 Excluding some tests which hang Jenkins on Windows and Solaris, see AMQ-5270 2014-07-10 17:12:09 +02:00
gtully 0709c2cc1d https://issues.apache.org/jira/browse/AMQ-5213 - fix failing jmock test - resolve inconsistency in camel case attribute naming in a few mbeans 2014-07-10 13:51:08 +01:00
gtully 6348d11976 https://issues.apache.org/jira/browse/AMQ-5266 - fix ordering of concurrent transaction completion in jdbc store, avoid skipped message dispatch. additional test 2014-07-10 12:33:29 +01:00
Kevin Earls 11185c205e Update for AMQ-5242, exclude tests that hang on AIX 2014-07-10 11:12:28 +02:00
Kevin Earls 13581c9aac Exclude leveldb tests on AIX, Solaris, HP-UX, and Windows as they cause problems with CI 2014-07-10 11:10:11 +02:00
Kevin Earls eae2112028 Exclude some MQTT tests on HP-UX, see AMQ-5267 2014-07-10 10:32:20 +02:00
Jeff Genender bf1c57b33d AMQ-5265 - fix race condition for task 2014-07-09 16:43:30 +02:00
Kevin Earls d4a376d885 added/updated timeouts to help resolve CI failures 2014-07-09 16:24:03 +02:00
Timothy Bish ccf4b9f34f https://issues.apache.org/jira/browse/AMQ-5262
close connections when the connector is stopped.
2014-07-08 16:20:21 -04:00
Timothy Bish e62e90abaf https://issues.apache.org/jira/browse/AMQ-5125
Fix for potential deadlock when external classes synchronize on the
LevelDBStore instance which can deadlock the hawtDispatch runner thread
if a task also attempts to take the lock to protect some mutable state
values.
2014-07-07 17:53:46 -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 74846bb2b4 https://issues.apache.org/jira/browse/AMQ-3758
Refactor the scheduler store into a more KahaDB style store that can
recover from various problems like missing journal files or corruption
as well as rebuild its index when needed.  Move the scheduler store into
a more configurable style that allows for users to plug in their own
implementations.  Store update from legacy versions is automatic.
2014-07-07 12:28:11 -04:00
Claus Ibsen aa79c7ec7b Upgrade to Camel 2.13.2 2014-07-07 08:23:07 +02:00
Hadrian Zbarcea 6521549ec8 AMQ-5086. Fix the timeout arithmetic 2014-07-03 14:53:30 -04:00
gtully 5aef16ad06 https://issues.apache.org/jira/browse/AMQ-5256 - fix spurious amqp ioexception on concurrent connection protocol discrimination, client would see a hang on open. additional test 2014-07-01 22:34:44 +01:00
Timothy Bish 106f759571 https://issues.apache.org/jira/browse/AMQ-5251
Synchronize method and remove old deprecated schedule method.
2014-06-28 10:21:34 -04:00
Timothy Bish 1c97a65b45 bump to the latest patch version of hawtbuf 2014-06-25 09:57:46 -04:00
Timothy Bish 0fdd4611a0 Fix the getProxyToTopic method. 2014-06-24 14:24:39 -04:00
Timothy Bish d9b03acffb https://issues.apache.org/jira/browse/AMQ-5239
Add a getter for the BrokerService map.
2014-06-24 11:18:58 -04:00
Kevin Earls bbd61084e0 Change logging from TRACE to WARN to save space on CI nodes 2014-06-24 11:21:34 +02:00
Kevin Earls fe1d050828 AMQ-5242 excluding text because of failures/hangs on AIX, Solaris, Windows 2014-06-23 16:02:10 +02:00
gtully ce911bafbf https://issues.apache.org/jira/browse/AMQ-5241 - track window between sending shutdown info and doing local close to avoid race with broker on normal connection.close - needs two jvm to reliably reproduce so no unit test with the fix 2014-06-23 12:13:45 +01:00
Timothy Bish 8824ac9fcb https://issues.apache.org/jira/browse/AMQ-5231
Only apply timeout to the Message sends, other commands are handled
separately as needed.
2014-06-18 12:58:50 -04:00
Claus Ibsen d694984077 Some dependency upgrades. 2014-06-15 16:35:28 +02:00
Claus Ibsen 58ad7954fb Upgrade to jolokia 1.2.2 2014-06-15 16:25:38 +02: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 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